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.2.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.2-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rainlog-1.1.2.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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.2.tar.gz
Algorithm Hash digest
SHA256 2ba8a95296a858d512361aac0637d331c03e04646ae3288955494b80dce9f3fa
MD5 6e6601735bca7d365450476fb1905672
BLAKE2b-256 6c0199b1ea6efc3a40e0bf33778f1ef5f4f27c2506c4bbee21d283fb789d2d13

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rainlog-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 16.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e02bfdfa672094e45c6ee65c195de6ec627c26fd243a3e1040024e359e392bbb
MD5 c5108b49a922f02cdfbd4815a92571a1
BLAKE2b-256 547658c7409d4328fd3c8c8bf781ef5dfcbd1efd7d87f634924349865e079dfb

See more details on using hashes here.

Release history Release notifications | RSS feed

1.1.3

2 files

This release

1.1.2 This release

2 files

1.1.1

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