Tiny CLI to print today's weather for your terminal (Open-Meteo, zero API key).
Project description
🌦️ weather-tty
Tiny CLI to print today's weather for your terminal — zero API keys, just vibes.
Features
- Single-line output:
🌤️ Pamplona, ES: 25°C/12°C · rain 0.0mm · wind 18 km/h · sun 08:10–19:14 --citygeocoding (Open-Meteo) or--lat/--lon- Units:
metric(default) orimperial --no-emojifor boring terminals--verbosepretty panel for humans
Install
pip install weather-tty
Usage
# by city
weather-tty today --city "Pamplona"
# coordinates (overrides city)
weather-tty today --lat 40.4168 --lon -3.7038
# imperial units
weather-tty today --city "New York" --units imperial
# pretty panel
weather-tty today --city "Pamplona" --verbose
Notes
- Data source: Open-Meteo
- No API keys required.
- Prints today (index 0 of daily arrays). If you want multi-day, PRs welcome.
Development
uv sync
uv sync --group dev
uv run ruff check .
uv run ruff check . --fix
uv run pytest
uv run weather-tty today --city "Pamplona"
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_tty-0.1.0.tar.gz
(21.3 kB
view details)
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_tty-0.1.0.tar.gz.
File metadata
- Download URL: weather_tty-0.1.0.tar.gz
- Upload date:
- Size: 21.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41f34c5c44bf032cefe46e279b3ea99a693e48b21dd0126752bedc84b5b0f529
|
|
| MD5 |
e0e0929058144286fde423b94d13e975
|
|
| BLAKE2b-256 |
cff8cc175232e22410aff78cea2310010e7bc542c06334f60ffaadbf3495ef5f
|
File details
Details for the file weather_tty-0.1.0-py3-none-any.whl.
File metadata
- Download URL: weather_tty-0.1.0-py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0c6f03a9e61fb406d0cfcf5aab66e8058b177f54159e7acfbc2bac8508fcd289
|
|
| MD5 |
fb0b57f6212621484316dc45b1e7e0d7
|
|
| BLAKE2b-256 |
5a24cd90a70290cde2c3e66c43bbc53ecc58fce7feb5fd627128dc89ffb729c3
|