Skip to main content

gopromotional-siplog

A small hydration tracker: estimate a daily water goal from weight, exercise and weather, log drinks in ml, cl, litres or US fl oz, and see today's progress, the last 7 days, your average and your streak. The log is a plain JSON file.

  • Daily goal estimate: weight × 33 ml + 12 ml per active minute (+500 ml in hot weather), rounded to 50 ml. A general guide, not medical advice.
  • Flexible amounts: 250, 500ml, 33cl, 0.5l, 16oz.
  • Progress, 7-day history, average and streak of days on target.
  • Undo the last entry, set your own goal.
  • Plain JSON log ({goal, entries:[{date, ml}]}), the same format in every language version.

Install

pip install gopromotional-siplog
# or, for the CLI only:
pipx install gopromotional-siplog

Command line

$ gopromotional-siplog goal --weight 70 --activity 30 --hot
Suggested daily water goal: 3150 ml (a general guide, not medical advice).

$ gopromotional-siplog set-goal 2.5l
Daily goal set to 2500 ml.

$ gopromotional-siplog add 500ml --date 2026-10-19
Added 500 ml. 500/2500 ml (20%).

$ gopromotional-siplog add 16oz --date 2026-10-19
Added 473 ml. 973/2500 ml (39%).

$ gopromotional-siplog status --date 2026-10-19
2026-10-19: 973/2500 ml [########............] 39% - 1527 ml to go
Streak: 0 day(s)

Every command accepts --json for machine-readable output. Run gopromotional-siplog --help for all options.

Data is kept in ~/.gopromotional-siplog.json (set GOPROMOTIONAL_SIPLOG_FILE or pass --file to use another file). The JSON format is the same across the npm, PyPI, crates.io and RubyGems versions, so you can switch tools without losing your log.

Library

from gopromotional_siplog import HydrationLog, daily_goal, parse_amount

daily_goal(70, activity_minutes=30, hot=True)   # 3150
parse_amount("16oz")                            # 473
log = HydrationLog(goal=2000)
log.add("500ml", "2026-10-19"); log.add(250, "2026-10-19")
log.progress("2026-10-19")["percent"]           # 38
log.streak("2026-10-19"), log.average("2026-10-19")

Pure Python, no dependencies, Python 3.9+.

Metadata

Release files for gopromotional-siplog 1.0.1

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

Source distribution (sdist)

Source distribution for gopromotional-siplog 1.0.1
File Size Uploaded Provenance Actions
gopromotional_siplog-1.0.1.tar.gz 7.8 kB Without provenance Details for gopromotional_siplog-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for gopromotional-siplog 1.0.1
File Interpreter ABI Platform Actions
gopromotional_siplog-1.0.1-py3-none-any.whl Python 3 none any Details for gopromotional_siplog-1.0.1-py3-none-any.whl

Total release size: 15.9 kB

Release files / gopromotional_siplog-1.0.1.tar.gz

Download URL gopromotional_siplog-1.0.1.tar.gz
Size 7.8 kB
Tags Source
SHA-256 checksum
How to use checksums
31870c1bc355b86c36a1f31d9420fe053a3ea04451a4ae373690ef9e9929e439
BLAKE2b-256 checksum
How to use checksums
14e35f8f2a375c6d85e88001e1ba4e1028edda95f98348998dd2f21107a4ca8e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / gopromotional_siplog-1.0.1-py3-none-any.whl

Download URL gopromotional_siplog-1.0.1-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2d0cca2f5cd42274dd91ebea3ba8870e3658b847c3ac4b522a27d0908a1f8b49
BLAKE2b-256 checksum
How to use checksums
4ff62500d5be4947a1547f26b911aecdeddad49d66088b4ce9e82edf7ed5fc37
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for gopromotional-siplog 1.0.1

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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

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