This Weather Application is a Python command-line tool that allows users to retrieve current weather data, 14-day weather forecasts, historical weather data, and astronomy data for a specific location. Users can also add and manage their favorite cities for quick access to weather information.
- Get current weather conditions for any city.
- Retrieve 14-day weather forecasts.
- Access historical weather data for a specific date.
- Obtain astronomy data such as sunrise, sunset, and moon phases.
- Manage a list of favorite cities.
- View weather information for favorite cities.
- User-friendly command-line interface.
-
Clone this repository to your local machine:
git clone https://github.com/yourusername/weather-app.git
-
Navigate to the project directory:
-
Install the required dependencies and create a virual environment:
pip install -r requirements.txt py -m pip install virtualenv py -m virtualenv venv .\venv\Scripts\Activate.ps1
-
Usage To run the Weather App, use the following command:
python weather_app.py