Skip to content

Latest commit

Β 

History

History
112 lines (78 loc) Β· 2.1 KB

File metadata and controls

112 lines (78 loc) Β· 2.1 KB

🌦️ Weather CLI

Python License Contributions Platform

A lightweight, beginner-friendly open-source Python CLI Weather Application that fetches real-time weather using the wttr.in API.


πŸš€ Features

  • 🌍 Works on Windows, Linux, and macOS
  • ⚑ Fetches weather instantly
  • πŸ“¦ Requires only one dependency: requests
  • 🎯 Beginner-friendly codebase
  • πŸ“‘ Uses the free wttr.in weather API
  • πŸ›  Easy to contribute and extend

πŸ“₯ Installation

1️⃣ Clone the repository

git clone https://github.com/ayushmandas29/weather-cli.git
cd weather-cli
2️⃣ Install requirements
bash
Copy code
pip install -r requirements.txt
▢️ Usage
Run:

bash
Copy code
python main.py
Example:

yaml
Copy code
=== Advanced Weather App (CLI) ===
Enter city name: Mumbai

Weather Report:
Mumbai: β˜€οΈ +32Β°C
πŸ“ Project Structure
css
Copy code
weather-cli/
│── main.py
│── requirements.txt
│── README.md
└── LICENSE
🧠 Roadmap
Upcoming improvements:

 Add colored terminal output (rich library)

 Add multi-day forecast support

 Add error handling for invalid cities

 Add unit tests

 Add auto city detection (IP-based)

 Make it installable using pip

 Add Dockerfile support

🧩 Contributing
We welcome all contributions!

Fork the repo

Create a new branch:

bash
Copy code
git checkout -b feature-name
Commit your changes

Push your branch

Open a Pull Request

Read the full guide in CONTRIBUTING.md.

πŸ› Issues
Found a bug? Have a feature idea?

πŸ‘‰ Open an issue:
https://github.com/ayushmandas29/weather-cli/issues

πŸ“œ License
This project is licensed under the MIT License.

⭐ Support the Project
If you like this project:

⭐ Star the repo

🍴 Fork it

πŸ› Open issues

πŸš€ Submit pull requests

πŸ‘¨β€πŸ’» Author
Ayushman Das