Skip to main content

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 communication
  • cli.py → User interaction (command line)
  • .env → Secure API key storage
  • pyproject.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

weather_app_vkyei-0.1.3.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

weather_app_vkyei-0.1.3-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

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

Hashes for weather_app_vkyei-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a3773fb67eb244f68e3b677a7753677541d68a756908f3cf632227293b65b282
MD5 b0b015f89affefc2483d510c09d88fd3
BLAKE2b-256 9cb48ce0eb8e51aa7d893dca982640bf0530a642f33f62b0c69da7d11b6c2970

See more details on using hashes here.

File details

Details for the file weather_app_vkyei-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for weather_app_vkyei-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4dbdaf7f0be037b72a5c6cac51e424ad554a644c4ab8bb37064c60d59646c7a8
MD5 664b7df574a04714762b0e2fb9e5d847
BLAKE2b-256 c578bce64b9c05a16122167c69170f5fc86cc5b325633f668bb692aab5370014

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page