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
|