Skip to main content

rainlog

PyPI version Python versions License: AGPL-3.0 CI Docs

A terminal-based rain logger. Record daily rainfall totals in a local SQLite database and explore history through an interactive TUI.

License: AGPL-3.0-or-later

Python: 3.11–3.14

Install

From the repository root (with uv recommended):

uv sync

Or install the package into your environment:

uv pip install .

The console entry point is rainlog.

Usage

Run the TUI:

rainlog
Key Action
n Add a rain record
e Edit a record (use s to select a bar first in daily view)
/ Scroll history back / forward
g Cycle grouping (daily / weekly / monthly / yearly)
m Toggle chart mode (rainfall ↔ soil-moisture index)
+ / - More / fewer bars
a Auto bar count
q Quit

Data storage

  • By default, data lives in rainlog.sqlite in ~/.local/share/rainlog/.
  • Use --db-dir to put the database in another directory (the filename stays rainlog.sqlite).
  • Each row stores the rain total in millimetres for a 24-hour block ending at 09:00 local time on the given calendar day.

Development

Tests and automation are driven by Nox; list sessions with nox -l and run the ones you need (e.g. tests).

Links

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rainlog-1.1.1.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

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

rainlog-1.1.1-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

Details for the file rainlog-1.1.1.tar.gz.

File metadata

  • Download URL: rainlog-1.1.1.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for rainlog-1.1.1.tar.gz
Algorithm Hash digest
SHA256 5e2122becf4919e65c94d231400f74d10264d2d6bdca0898c73bdaf7b70dc0da
MD5 df06a1a2403e748ff14f295bd0596b51
BLAKE2b-256 5807d5e47aa6a838b101da0ebcfac134ce182981d94008503aad9ff8d20352c0

See more details on using hashes here.

File details

Details for the file rainlog-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: rainlog-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.2 {"installer":{"name":"uv","version":"0.12.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for rainlog-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a628a73ee1a698ce634b5a0ab97afe2bab3a9e76d66e2851397d73090fd6093f
MD5 889180133a1fecd153e24f869c707436
BLAKE2b-256 185618f3ef97bec41025913cacd34947485b22867572042cf05aabc382343fe9

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.3

2 files

1.1.2

2 files

This release

1.1.1 This release

2 files

1.1.0

2 files

1.0.0

2 files

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