A visually pleasing terminal weather tool focusing on Real Feel and Windchill.
Project description
Isobar CLI
A terminal weather tool designed to provide a fast, clean sense of what the weather feels like outside; right now and for the week ahead. Built with Python and Rich.
Philosophy
Isobar CLI answers a simple question: "What does it feel like outside right now, and do I need a jacket?"
Most weather apps overwhelm with data. Isobar strips away everything except what matters when deciding how to prepare for the day.
Design Principles
- Essential over comprehensive — Show Real Feel, not 47 data points.
- Terminal-native — Built for quick checks within a developer workflow.
- Zero friction — No API keys or configuration files required.
- Information density — Clean, borderless UI for maximum readability.
- Intentional features — Each feature must answer: "Does this help someone understand what it feels like outside?"
✨ Features
- Auto-Location —
isobardetects the city automatically 🌍 - Weather Condition Icons — WMO-standard emoji + plain-English description (☀️ Clear sky, 🌨️ Moderate snow, ⛈️ Thunderstorm)
- Real Feel — Apparent temperature metrics (what it actually feels like).
- Air Quality Index — US AQI with health classifications 😷
- 7-Day Forecast — Full week outlook with color-coded highs/lows and daily rain %
- Hourly Outlook — Next 12 hours of temperature and rain chance (
--hourly) - Multiple Cities — Compare weather across several cities side-by-side.
- Smart Suggestions — Fuzzy city name matching if there is a typo.
- Shell Completion — Tab-complete city names based on search history.
- Dynamic Timezone — Sunrise/sunset shown in the city's local time, not yours.
- Precipitation Forecast — Next 6h rain/snow chance and totals.
- Smart Caching — 15-minute cache per city (
~/.cache/isobar/) - Color-Coded Temps — Intuitive color mapping for temperature ranges.
- Metric Support —
--metricor-mfor Celsius, km/h, and mm. - No API Keys — Free Open-Meteo and ip-api.com.
- Zero Config — Works instantly after installation.
🚀 Installation
The recommended way to install Isobar is via pipx:
pipx install isobar-cli
Installation is also supported via Homebrew:
brew install KnowOneActual/tap/isobar
Note: Installing via Homebrew builds several high-performance dependencies (like
numpyandh3) from source. This ensures a robust, isolated install but may take 5-10 minutes to complete.
Alternatively, install directly from PyPI:
pip install isobar-cli
Or install from source:
git clone https://github.com/KnowOneActual/isobar-cli.git
cd isobar-cli
pip install .
📱 Usage
# Auto-detect location
isobar
# Specify a city
isobar Chicago
isobar London Tokyo Paris # Multiple cities
isobar "New York" # Use quotes for multi-word cities
# Hourly outlook (next 12h)
isobar --hourly
isobar -H
# 7-day forecast
isobar --forecast
isobar -f
isobar "San Francisco" --forecast
isobar -f Sydney
# Metric units (Celsius, km/h, mm)
isobar --metric
isobar -m
isobar Tokyo -m
⌨️ Shell Completion
Isobar supports tab-completion for city names. To enable it for a shell:
Zsh:
isobar --install-completion zsh
Bash:
isobar --install-completion bash
(Note: A terminal restart may be required after installation).
🖥️ Example Output
Chicago, Illinois Weather
☀️ Conditions: Mainly clear
🌡️ Temperature: 37.1°F
🤔 Real Feel: 30.4°F
💨 Wind Speed: 4.3 mph
💧 Humidity: 58%
☔ Precip Chance: 0% (6h) | Dry conditions expected
🌅 Sunrise: 6:29 AM
🌇 Sunset: 5:37 PM
7-Day Forecast — Chicago, Illinois
Day Conditions High Low Rain%
Today ☁️ Overcast 41.7°F 23.9°F 1%
Fri Feb 27 ⛅ Partly cloudy 66.4°F 32.4°F 2%
Sat Feb 28 🌨️ Moderate snow 44.0°F 26.5°F 38%
Sun Mar 1 ☁️ Overcast 29.0°F 26.6°F 36%
Mon Mar 2 ☁️ Overcast 33.6°F 27.1°F 36%
Tue Mar 3 🌦️ Light drizzle 36.8°F 30.9°F 27%
Wed Mar 4 🌦️ Moderate drizzle 41.3°F 33.5°F 46%
🛠 Tech Stack
| Tool | Purpose |
|---|---|
| Typer | CLI framework |
| Rich | Terminal UI |
| Open-Meteo | Weather and forecast data |
| ipwho.is | Auto-location detection |
| timezonefinder | Dynamic timezone resolution |
| pytest | Unit testing framework |
| requests-mock | API testing |
| Ruff | Linting and formatting |
| pip-audit | Dependency security scanning |
🔒 Security
Security is a fundamental priority for Isobar CLI. Multiple layers of automated scanning ensure the tool remains safe and secure for all users.
Security Measures
- Vulnerability Scanning: Trivy scans the filesystem and dependencies for known vulnerabilities.
- Static Analysis (SAST): Bandit and Semgrep analyze the code for insecure patterns.
- Dependency Auditing: pip-audit and GitHub Dependabot ensure third-party packages stay updated.
- Script Linting: ShellCheck enforces best practices for Bash scripts.
- Secret Scanning: Automated checks prevent the accidental commitment of sensitive credentials.
All security scans are integrated into the CI/CD pipeline and run on every push, pull request, and weekly schedule. Results are available via the GitHub Security tab.
📈 Project Status
✅ Phase 1 Complete — Caching and Auto-Location
✅ Phase 2 Complete — Precipitation, Sunrise/Sunset, and Condition Icons
✅ Phase 3 Complete — 7-Day Forecast, Dynamic Timezone, and UI Refinements
✅ CI/CD — Linting and security auditing integrated into every push.
Refer to ROADMAP.md and CHANGELOG.md for details.
🤝 Contributing
Detailed instructions are available in CONTRIBUTING.md. New features must answer: "Does this help someone understand what it feels like outside?"
📄 License
MIT. See LICENSE.
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 isobar_cli-1.0.1.tar.gz.
File metadata
- Download URL: isobar_cli-1.0.1.tar.gz
- Upload date:
- Size: 22.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f215cf9883922fbc4fa4922572d6b6eaa3e889384a4a9c5ab1a4bfe6be3a95fe
|
|
| MD5 |
19772af7846785a2bb83b0069f9db06a
|
|
| BLAKE2b-256 |
b614cff35f1ef59bf4dd969a42dab8f7bf83395af66652541b8772d275eab25f
|
Provenance
The following attestation bundles were made for isobar_cli-1.0.1.tar.gz:
Publisher:
publish.yml on KnowOneActual/isobar-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
isobar_cli-1.0.1.tar.gz -
Subject digest:
f215cf9883922fbc4fa4922572d6b6eaa3e889384a4a9c5ab1a4bfe6be3a95fe - Sigstore transparency entry: 1019524095
- Sigstore integration time:
-
Permalink:
KnowOneActual/isobar-cli@e031c0276478d7d4894b27a316f1af91079af171 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/KnowOneActual
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e031c0276478d7d4894b27a316f1af91079af171 -
Trigger Event:
push
-
Statement type:
File details
Details for the file isobar_cli-1.0.1-py3-none-any.whl.
File metadata
- Download URL: isobar_cli-1.0.1-py3-none-any.whl
- Upload date:
- Size: 14.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89376f21e7224112a2ceef0370dfe68a144d17e06b08a15f7437ad36a79db24b
|
|
| MD5 |
54b227711e2379f4fbc993ebccf8bb40
|
|
| BLAKE2b-256 |
31c7905db700543e0e7591d23324b6f0001afd57b794f904f7106842a9a1e76c
|
Provenance
The following attestation bundles were made for isobar_cli-1.0.1-py3-none-any.whl:
Publisher:
publish.yml on KnowOneActual/isobar-cli
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
isobar_cli-1.0.1-py3-none-any.whl -
Subject digest:
89376f21e7224112a2ceef0370dfe68a144d17e06b08a15f7437ad36a79db24b - Sigstore transparency entry: 1019524105
- Sigstore integration time:
-
Permalink:
KnowOneActual/isobar-cli@e031c0276478d7d4894b27a316f1af91079af171 -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/KnowOneActual
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@e031c0276478d7d4894b27a316f1af91079af171 -
Trigger Event:
push
-
Statement type: