Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/marwan-ahmed-23/weather-app
A simple Python CLI Weather App to fetch current weather information using the OpenWeatherMap API.
https://github.com/marwan-ahmed-23/weather-app
apis coding developertools opensource programming python weatherapp
Last synced: 10 days ago
JSON representation
A simple Python CLI Weather App to fetch current weather information using the OpenWeatherMap API.
- Host: GitHub
- URL: https://github.com/marwan-ahmed-23/weather-app
- Owner: marwan-ahmed-23
- License: mit
- Created: 2024-12-15T22:42:10.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-12-23T02:43:56.000Z (24 days ago)
- Last Synced: 2024-12-23T03:25:17.795Z (24 days ago)
- Topics: apis, coding, developertools, opensource, programming, python, weatherapp
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Weather App
A simple Python CLI Weather App to fetch current weather information using the OpenWeatherMap API.
## π Features
- Fetch current weather data for any city.
- Display temperature, humidity, and weather description.
- Easy-to-use and extendable.## π Directory Structure
```plaintext
weather-app/
βββ src/
β βββ weather.py
βββ examples/
β βββ example.py
βββ .gitignore
βββ LICENSE
βββ README.md
```## π§ Installation
1. Clone the repository:
```bash
git clone https://github.com/marwan-ahmed-23/weather-app.git
```2. Navigate to the project directory:
```bash
cd weather-app
```3. Install dependencies:
```bash
pip install requests
```## π Usage
1. Replace `your_api_key_here` in `example.py` with your OpenWeatherMap API key.
2. Run the example script:```bash
python examples/example.py
```## Example
Hereβs an example of how the app works:
```bash
Enter city name: LondonWeather in London:
Temperature: 15Β°C
Description: Clear sky
Humidity: 68%
```## π€ Contributing
Contributions are welcome! Feel free to fork the repository and submit a pull request.
## π Stay Connected
Feel free to star β this repository if you find it helpful!