A collection of CLI tools to record weather related data
Project description
rainlog
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.sqlitein~/.local/share/rainlog/. - Use
--db-dirto put the database in another directory (the filename staysrainlog.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
- Documentation: rainlog.marvin8.zone
- Source: codeberg.org/marvin8/rainlog
- Issues: codeberg.org/marvin8/rainlog/issues
- Changelog: CHANGELOG.md
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 rainlog-1.0.0.tar.gz.
File metadata
- Download URL: rainlog-1.0.0.tar.gz
- Upload date:
- Size: 12.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"NixOS","version":"26.05","id":"yarara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d22e219e709afe0d4b24f51cc6992cb3892d9077c9619fad2d5365172a643e5
|
|
| MD5 |
fade0e777a432980cfc15c85f32dfec5
|
|
| BLAKE2b-256 |
13ad0b0805735453fa698b4db3bb27d252b3977f25c99b5cd687008f43774b50
|
File details
Details for the file rainlog-1.0.0-py3-none-any.whl.
File metadata
- Download URL: rainlog-1.0.0-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"NixOS","version":"26.05","id":"yarara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1edb84cbb7ac7d0a4a544a059ec48927b8eb5b55518435250193365ebda17f39
|
|
| MD5 |
b60dad72c056529f3109bdeb71b98fab
|
|
| BLAKE2b-256 |
b53fa142b09af6236525d86d022184289e6ad880683865b7e59b2a36799cdce6
|