Skip to main content

Terminal weather, solar arc, and tide visualizations

Project description

linecast

Terminal weather, solar arc, and tide visualizations. Pure Python, zero dependencies.

Three commands that turn your terminal into a living dashboard — temperature-colored braille curves, half-block pixel art, true color gradients, and Nerd Font icons. All data comes from free public APIs with no keys required.

Commands

weather — Current conditions, hourly braille temperature curve, 7-day forecast with color range bars, precipitation sparkline, natural language comparisons, and NWS/Environment Canada weather alerts.

weather

sunshine — Solar arc inspired by the Apple Watch Solar face. Shows the sun's position on its daily arc with sky color gradients, day length with daily delta, and moon phase.

sunshine — midday sunshine — dusk

tides — NOAA tide predictions rendered as an ocean-themed half-block chart with gradient fill, current water level, and high/low extremes.

tides

All three support --live for a full-screen auto-refreshing display. sunshine and tides also support arrow-key time scrubbing.

Install

pip install linecast

Or with a Homebrew tap:

brew tap ashuttl/linecast
brew install linecast

Usage

weather                          # current location via IP geolocation
weather --location 44.54,-68.42  # specific coordinates
weather --search québec          # find coordinates by city name
weather --celsius                # metric units (°C, km/h, mm)
weather --live                   # full-screen, auto-refresh

sunshine                         # solar arc for today
sunshine --live                  # full-screen with time scrubbing

tides                            # nearest NOAA station
tides --station 8413320          # specific station ID
tides --search "Bar Harbor"      # find stations by name
tides --live                     # full-screen

Weather alerts

Alerts are sourced automatically based on your location:

  • US — National Weather Service (api.weather.gov)
  • Canada — Environment and Climate Change Canada (api.weather.gc.ca)

Other regions get forecasts but no alerts yet.

Environment variables

Variable Description
WEATHER_LOCATION Default lat,lng for weather (e.g., 44.54,-68.42)
TIDE_STATION Default NOAA station ID for tides (e.g., 8413320)
WEATHER_UNITS Set to metric for Celsius, km/h, and mm (same as --celsius)
LINECAST_ICONS Set to emoji to use standard emoji instead of Nerd Font icons

Requirements

  • Python 3.10+
  • A terminal with true color support (iTerm2, Ghostty, Kitty, WezTerm, etc.)
  • A Nerd Font for best icon rendering (optional — use --emoji for standard emoji fallback)
  • macOS or Linux (uses termios for live mode)

License

MIT

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

linecast-1.0.7.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

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

linecast-1.0.7-py3-none-any.whl (35.1 kB view details)

Uploaded Python 3

File details

Details for the file linecast-1.0.7.tar.gz.

File metadata

  • Download URL: linecast-1.0.7.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for linecast-1.0.7.tar.gz
Algorithm Hash digest
SHA256 9ad6bddd70ef61442db7d5c084e36db375004b04e932f4a399532deef8c87c3b
MD5 c71e717a0f47beac0b720a72f7edbd84
BLAKE2b-256 77dd68b0ead3328df25bec71c3ffed4bdc5587a4127d3346d99c0eb6090ce581

See more details on using hashes here.

Provenance

The following attestation bundles were made for linecast-1.0.7.tar.gz:

Publisher: publish.yml on ashuttl/linecast

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file linecast-1.0.7-py3-none-any.whl.

File metadata

  • Download URL: linecast-1.0.7-py3-none-any.whl
  • Upload date:
  • Size: 35.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for linecast-1.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 7b3bfa2f86e91db98d112ab616fab20f75b2a21dba4696173ee4044b78a5ab02
MD5 f1569d23f1ee5ea9f9b43713e01d6152
BLAKE2b-256 fb65e6d2e2c90b2193d1a33c44344ed993101b2e5433a0a23da977b758d6cf5c

See more details on using hashes here.

Provenance

The following attestation bundles were made for linecast-1.0.7-py3-none-any.whl:

Publisher: publish.yml on ashuttl/linecast

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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