Skip to main content

pratico-sensor

Firmware for PRATICO 3, a low-cost colorimeter for nitrate (N‑NO₃) and phosphate (P‑PO₄) that reads FreshWater Watch test kits. It runs on a Raspberry Pi Zero 2 W with an LTR‑329 light sensor, a 525 nm LED, a 16×2 LCD and two buttons.

Hardware, build guide and documentation: https://github.com/LowCostSensor/PRATICO-sensor

Install (on the Raspberry Pi)

sudo apt install -y pipx python3-dev
pipx install pratico-sensor
pipx ensurepath          # then log out and in again

Set up the I²C buses first, as in the setup guide.

Commands

Command What it does
pratico-selftest hardware self test: dark level, LED level, noise
pratico-cal calibration with standard solutions, over SSH (guide)
pratico-field field program: buttons + LCD (guide)
pratico-service install start the field program at every power-on (systemd user service)

pratico-selftest, pratico-cal and pratico-field accept --simulate to run without hardware, for example on a PC. Calibration, results and logs are kept in ~/PRATICO_3/. Settings can be overridden in ~/PRATICO_3/pratico3_config.json.

Upgrade

pipx upgrade pratico-sensor
pratico-service install       # restart the field program on the new version

Citation

Cirrone R. G. et al. Low-Cost Optical Sensing for Nitrate and Phosphate: Advancing Community Freshwater Monitoring. ACS ES&T Water 2025, 5, 6258–6267. doi:10.1021/acsestwater.5c00314

License: GPL-3.0.

Metadata

Release files for pratico-sensor 3.0.0

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

Source distribution (sdist)

Source distribution for pratico-sensor 3.0.0
File Size Uploaded Provenance Actions
pratico_sensor-3.0.0.tar.gz 33.6 kB With provenance Details for pratico_sensor-3.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pratico-sensor 3.0.0
File Interpreter ABI Platform Actions
pratico_sensor-3.0.0-py3-none-any.whl Python 3 none any Details for pratico_sensor-3.0.0-py3-none-any.whl

Total release size: 66.6 kB

Release files / pratico_sensor-3.0.0.tar.gz

Download URL pratico_sensor-3.0.0.tar.gz
Size 33.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d7c9eee0bac03ba9c0255d512383179fc78f28ddd78eeec020b2ace4597dbd83
BLAKE2b-256 checksum
How to use checksums
3ed13c5883c70fee702a27e04edb9c2c6f4deba2e3f00311088dfef78c73d021
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Release files / pratico_sensor-3.0.0-py3-none-any.whl

Download URL pratico_sensor-3.0.0-py3-none-any.whl
Size 32.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10c9287a5757a68f24747398d307ced2159e31c9e5ef48fdeedd6ab4a3967a54
BLAKE2b-256 checksum
How to use checksums
f021fe852fddea6181268e760237cbe295fb6ba05ce2136aedf5db353eea4e9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

Security for pratico-sensor 3.0.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pratico_sensor-3.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.

Transparency log

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

3.0.0 This release

2 release files Full 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