Final work - published to Github
Project description
🌦️ Weather CLI App
A production-ready Python CLI for real-time weather data
Clean architecture • PyPI package • CLI tool
🚀 Installation
pip install weather-app-vkyei
⚡ Usage
weather
🎬 Example Output
📍 Dallas
🌡️ Temp: 24.39°C
☁️ broken clouds
🔑 Environment Setup
Create a .env file:
OPENWEATHER_API_KEY=your_api_key_here
Get your API key here: https://openweathermap.org/api
🧠 Features
- 🌍 Real-time weather lookup
- 💻 Command-line interface (CLI)
- 🔐 Secure API key handling via
.env - 🧩 Modular architecture (client + CLI separation)
- 📦 Packaged with
pyproject.toml - 🚀 Published to PyPI
📦 Project Structure
weather-app/
│
├── src/
│ └── weather_app_vkyei/
│ ├── __init__.py
│ ├── client.py # API logic
│ └── cli.py # CLI entry point
│
├── .env
├── main.py
├── pyproject.toml
├── README.md
└── .gitignore
🛠️ Tech Stack
- Python 3.14+
- requests
- python-dotenv
- uv (build + dependency management)
📦 PyPI Package
https://pypi.org/project/weather-app-vkyei/
🧪 Local Development
git clone https://github.com/AIMinister/weather-app.git
cd weather-app
uv venv
uv pip install -e .
python main.py
🚀 Build & Publish
uv build
uv run twine upload dist/*
🧩 Architecture
client.py→ Handles API communicationcli.py→ User interaction (command line).env→ Secure API key storagepyproject.toml→ Packaging & distribution
🔮 Future Improvements
- Add forecast support (5-day / hourly)
- Add argument-based CLI (
weather Dallas) - Add caching for faster responses
- Build web UI (FastAPI + frontend)
👤 Author
AIMinister
https://github.com/AIMinister
⭐ Support
If you found this useful:
⭐ Star the repo
🍴 Fork it
🚀 Build on top of it
Built like a real-world Python package 📦
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file weather_app_vkyei-0.1.3.tar.gz.
File metadata
- Download URL: weather_app_vkyei-0.1.3.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a3773fb67eb244f68e3b677a7753677541d68a756908f3cf632227293b65b282
|
|
| MD5 |
b0b015f89affefc2483d510c09d88fd3
|
|
| BLAKE2b-256 |
9cb48ce0eb8e51aa7d893dca982640bf0530a642f33f62b0c69da7d11b6c2970
|
File details
Details for the file weather_app_vkyei-0.1.3-py3-none-any.whl.
File metadata
- Download URL: weather_app_vkyei-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4dbdaf7f0be037b72a5c6cac51e424ad554a644c4ab8bb37064c60d59646c7a8
|
|
| MD5 |
664b7df574a04714762b0e2fb9e5d847
|
|
| BLAKE2b-256 |
c578bce64b9c05a16122167c69170f5fc86cc5b325633f668bb692aab5370014
|