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