Skip to main content

fishin

Sponsor Buy me a coffee

Terminal solunar, tide, and weather forecast — one command, full picture, btop-dense layout.

Day view panel for Sarasota, FL

fishin rolls a solunar app, a tide app (xtides-style), and wttr.in into a single terminal panel. Solunar major/minor periods, sun/moon ephemera, NOAA tide predictions, open-meteo weather, and a per-day "best fishing window" cross-correlation all rendered in ~12 terminal lines per day.

Install

pipx install fishin

Or, for the bleeding-edge main branch:

pipx install git+https://github.com/sjwasko/fishin.git

Requires Python ≥ 3.11. Works on Linux, macOS, and Windows (see Windows note below).

First run downloads the JPL DE421 ephemeris (~17 MB) into ~/.cache/fishin/ephemeris/. NOAA, open-meteo, and Nominatim responses are cached at ~/.cache/fishin/responses-v2/.

Windows

Requires Windows 10 or later and Windows Terminal — the classic PowerShell / cmd.exe consoles don't have the right Unicode glyphs for the tide-curve sparkline and won't render the amber palette correctly.

Install Windows Terminal if you don't already have it (it ships by default on Windows 11):

winget install --id Microsoft.WindowsTerminal -e

Then set it as the default terminal for all command-line apps:

Settings → System → Advanced → Terminal → Windows Terminal

After that, any new fishin invocation opens in Windows Terminal and the panel renders correctly.

Set your location

Out of the box, fishin uses Sarasota, FL as a fallback. To make it use your own location and have it stick across runs, geocode a place name once and save it as your default:

fishin --city "your town st" --save

From then on, plain fishin (no flags) uses your saved location. The resolved coordinates, timezone, and nearest NOAA tide station are written to ~/.config/fishin/config.toml.

--city without --save is a one-shot — useful for checking conditions somewhere you don't usually fish without overwriting your default:

fishin --city "key west fl"

Inland queries (>100 km from the nearest NOAA tide station) automatically drop the tide section — there are no ocean tides in Austin.

Quick start

fishin                          # full panel for today, your saved location
fishin 7                        # compact 7-day list view
fishin month                    # 30-day calendar grid with star ratings
fishin best 14                  # next 14 days ranked, top 5 highlighted
fishin --date 2026-06-15        # any specific date
fishin --no-tides --no-weather  # astro-only, no network

fishin --help lists every flag plus more examples.

Modes

Command Output
fishin One full panel for today
fishin N N-day list view, one row per day
fishin month Calendar grid for the month of --date
fishin best N Next N days sorted by score, top 5 highlighted
fishin --days N Legacy: render N full panels back-to-back

N must be a whole number of at least 1; anything else (fishin 0, fishin best abc) exits with a short error message.

Skip network fetches with --no-tides / --no-weather (e.g. offline or for quick recompute).

Weather comes from open-meteo's free forecast, which covers today plus the next 15 days (and about 3 months back). Days outside that window still get solunar and tides; a dim weather forecast ends <date> line notes where weather stops.

Views

Day panel

7-day list

Month grid

Best 14 days, ranked

Configuration

The easy path is fishin --city "..." --save (described above). If you'd rather hand-edit, the file lives at ~/.config/fishin/config.toml:

location = "Sarasota, FL"
lat = 27.3366
lon = -82.5313
tz = "America/New_York"
station = "8726083"

Resolution order: explicit flags > --city > config file > built-in default.

tz must be an IANA zone name such as America/Chicago. An unknown zone (from --tz or the config file) stops fishin with an error before anything is saved, so --tz Typo/Zone --save leaves your existing config untouched. If the file itself holds a bad zone, fix that line or override it with --tz.

How the "Best" ranking works

Every major/minor period is scored:

Factor Weight
Major period base +4
Minor period base +2
Sunrise overlap (±1 hr) +3
Sunset overlap (±1 hr) +3
Each H/L tide overlap (±30 min) +2
Calm wind (≤6 mph) +1
Strong wind (≥18 mph) −1
Rain ≥60% −2

Top two windows are shown — first in bright amber, second dimmed.

Credits & data sources

fishin would not exist without the following free / open projects and public-data services. Please respect each provider's terms when running this tool at scale.

Runtime APIs

Source Data License / TOS
NOAA CO-OPS Tide predictions US Government public domain
open-meteo Weather forecasts CC BY 4.0
OpenStreetMap Nominatim Geocoding ODbL · usage policy
NASA JPL DE421 Planetary ephemeris Public domain

The OSM Nominatim usage policy specifically asks clients to send a meaningful User-Agent and cache responses; both are honored — geocode results are cached on disk for 30 days.

Python dependencies

Package Role License
skyfield Astronomy / ephemeris MIT
rich Terminal rendering MIT
diskcache Response cache Apache 2.0
timezonefinder Lat/lon → IANA timezone MIT

Design inspiration

The visual language and information density of fishin borrow shamelessly from:

  • wttr.in — terminal weather, the gold standard for "feels native to the shell"
  • btop — pack-every-pixel monitoring panels
  • xtides — tide curve visualization and harmonic predictions
  • F&H Solunar Time — daily forecast layout, day-rating ring, calendar grid

None of these projects are affiliated with fishin; we just learned from them.

A note on the name

Because that's how Karrie says it. The g got left somewhere in the South and we never went lookin' for it.

License

MIT. Fork, improve, redistribute — just keep the copyright notice.

Architecture

See ARCHITECTURE.md for the module layout, data flow, and extension points if you'd like to contribute.

Metadata

Release files for fishin 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fishin 0.3.2
File Size Uploaded Provenance Actions
fishin-0.3.2.tar.gz 24.8 kB Without provenance Details for fishin-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fishin 0.3.2
File Interpreter ABI Platform Actions
fishin-0.3.2-py3-none-any.whl Python 3 none any Details for fishin-0.3.2-py3-none-any.whl

Total release size: 54.4 kB

Release files / fishin-0.3.2.tar.gz

Download URL fishin-0.3.2.tar.gz
Size 24.8 kB
Tags Source
SHA-256 checksum
How to use checksums
a400bfd1786be303bcc7909496c020bc114af6eb5b01a20f8e9d7f675e2efa7e
BLAKE2b-256 checksum
How to use checksums
257ce9dfe2bbe97887a12f5b014236431ac75bea04acb3d3872ec7c646a6fe04
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Omarchy","version":"4.5.0","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Release files / fishin-0.3.2-py3-none-any.whl

Download URL fishin-0.3.2-py3-none-any.whl
Size 29.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
50c1f6c74035608468e7faad7ae2a1b919867ba020354cdcc4fc5eadac2230d6
BLAKE2b-256 checksum
How to use checksums
1ede0a36de3553e00ef51dd49a80e7b191ef77c31c3337cd3dd59f475e2d5153
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Omarchy","version":"4.5.0","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

Security for fishin 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page