Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theinit01/weatherapp
A Flask web application for checking the weather of various cities around the world. Users can add cities to view current weather conditions, including temperature, description, and weather icon.
https://github.com/theinit01/weatherapp
flask
Last synced: 12 days ago
JSON representation
A Flask web application for checking the weather of various cities around the world. Users can add cities to view current weather conditions, including temperature, description, and weather icon.
- Host: GitHub
- URL: https://github.com/theinit01/weatherapp
- Owner: theinit01
- License: apache-2.0
- Created: 2024-03-30T12:42:32.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-06-16T05:44:02.000Z (5 months ago)
- Last Synced: 2024-06-16T06:39:45.502Z (5 months ago)
- Topics: flask
- Language: HTML
- Homepage:
- Size: 85.9 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Weather App
This is a simple Flask web application for checking the weather of various cities around the world. Users can add cities to view current weather conditions, including temperature, description, and weather icon.
## Features
- **Add Cities:** Users can input the name of a city and add it to the list of cities displayed on the homepage.
- **Display Weather Information:** The app retrieves weather data from the OpenWeatherMap API and displays it for each city, including temperature in Celsius, description of weather condition, and an icon representing the weather.
- **Error Handling:** If a city is not found or if there is an error retrieving its weather data, the app will display an error message and remove the city from the list.## Screenshots
## Usage
1. Clone the repository: `git clone https://github.com/yourusername/your-repo.git`
2. Install dependencies: `pip install -r requirements.txt`
3. Run `init_db.py` to create the necessary tables.
4. Run the application: `python app.py`
5. Access the app in your web browser at `http://localhost:5000`## Contributing
Contributions are welcome! If you have any ideas for improvements or new features, feel free to open an issue or submit a pull request.
## License
This project is licensed under the Apache - see the [LICENSE](LICENSE) file for details.