Skip to content

A city-centric Weather and News app. Get real-time weather updates and top headlines tailored to your chosen city. 🌦️📰

License

Notifications You must be signed in to change notification settings

Vikranth3140/CityInsight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CityInsight 🌆📰🌦️

CityInsight is a Python application that integrates weather and news information, providing city-centric insights. It is built with Streamlit and offers real-time weather updates and top headlines tailored to your chosen city.

Currently deployed at CityInsight.

Overview

CityInsight combines OpenWeatherMap and NewsAPI to deliver a comprehensive view of your city's current conditions and the latest news.

Features

  1. Weather Insights:

    • Real-time weather data retrieval using OpenWeatherMap API.
    • Displays current weather conditions, temperature, wind speed, and humidity.
  2. News Highlights:

    • Fetches top headlines from NewsAPI.
    • Provides details such as title, description, publication date, and content for each news article.

How to Use

  1. Installation:

    • Clone the repository.
    git clone https://github.com/Vikranth3140/CityInsight.git
    • Install required dependencies
    pip install -r requirements.txt
  2. API Configuration:

    • Obtain API keys from OpenWeatherMap and NewsAPI.
    • Replace placeholders in the script (api_key_weather and api_key_news) with your actual keys.
  3. Run the Application:

    • Execute the Streamlit app
    streamlit run cityinsight.py
    • Enter the desired city name and choose the temperature unit ('metric' or 'imperial').
  4. View Insights:

    • The application will display real-time weather information and top news headlines tailored to your selected city.

Requirements

  • Python 3.x
  • Streamlit
  • Requests library

Note

  • Keep your API keys confidential and do not share them publicly.
  • Ensure an active internet connection for accurate data retrieval.

License

This project is licensed under the MIT License.

Author

Vikranth Udandarao

About

A city-centric Weather and News app. Get real-time weather updates and top headlines tailored to your chosen city. 🌦️📰

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages