Skip to main content

Python Package Tracker

A lightweight pip/setuptools package tracking utility similar to Reo.

Features

  • Zero runtime overhead for your application code
  • Privacy-first metadata collection
  • Non-blocking with strict timeout protection
  • Retry logic with exponential backoff
  • Configurable via environment variables and pyproject.toml

Important pip/setuptools Note

Unlike npm postinstall, Python packaging does not guarantee dependency install hooks in all pip flows (especially wheel installs).

This implementation provides:

  • A best-effort setuptools install hook in setup.py
  • A manual CLI entry point: package-tracker

Installation

Inside a package that uses setuptools:

pip install reo-package-tracker

Or from this directory:

cd python
pip install .

Configuration

Environment Variables

  • PACKAGE_TRACKER_ANALYTICS=false - Disable tracking
  • PACKAGE_TRACKER_ANALYTICS=true - Enable tracking for opt-in mode
  • PACKAGE_TRACKER_VERBOSE=true - Enable verbose logging
  • PACKAGE_TRACKER_ENDPOINT=https://telemetry.reo.dev/data - Custom endpoint

pyproject.toml settings

Add this to your package:

[tool.reoSettings]
defaultOptIn = false
endpoint = "https://telemetry.reo.dev/data"

Settings:

  • defaultOptIn (boolean, default: true)
    • true: opt-out mode (tracking enabled unless explicitly disabled)
    • false: opt-in mode (tracking disabled unless explicitly enabled)
  • endpoint (string, optional)
    • Tracking endpoint override

Usage

Manual run

PACKAGE_TRACKER_VERBOSE=true package-tracker

Module run

python -m package_tracker

Payload Shape

The payload includes:

  • package: package name and version
  • system: platform, architecture, Python version, OS info
  • installation: timestamp, cwd, install context
  • metadata: git user/domain, CI context, pip user (if available)

Privacy & Opt-Out

Collected:

  • Package metadata
  • System/platform metadata
  • Installation context
  • Email domain only (never full email)

Not collected:

  • Source code contents
  • Passwords or secrets
  • Full email addresses

Users can always disable telemetry:

export PACKAGE_TRACKER_ANALYTICS=false
pip install your-package

Development

See python/TESTING.md for test flows and verification commands.

License

MIT

Metadata

Release files for reo-package-tracker 1.0.2

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

Source distribution (sdist)

Source distribution for reo-package-tracker 1.0.2
File Size Uploaded Provenance Actions
reo_package_tracker-1.0.2.tar.gz 7.6 kB Without provenance Details for reo_package_tracker-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for reo-package-tracker 1.0.2
File Interpreter ABI Platform Actions
reo_package_tracker-1.0.2-py3-none-any.whl Python 3 none any Details for reo_package_tracker-1.0.2-py3-none-any.whl

Total release size: 15.3 kB

Release files / reo_package_tracker-1.0.2.tar.gz

Download URL reo_package_tracker-1.0.2.tar.gz
Size 7.6 kB
Tags Source
SHA-256 checksum
How to use checksums
1404fc1170108d05f9c947d3166fa450b0b99203e363c7e7c7ce3ac3bfbeb3fc
BLAKE2b-256 checksum
How to use checksums
42d7d5cb0ba294959e0951b97f71e31c75c38c9f53464cd0af37707194647936
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Release files / reo_package_tracker-1.0.2-py3-none-any.whl

Download URL reo_package_tracker-1.0.2-py3-none-any.whl
Size 7.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d272342ffe15b0845747c209ab874cb764743fbf6867846899e66e950485d403
BLAKE2b-256 checksum
How to use checksums
01f6884506ec2f088ba9fde5cc9f4eea799a92e81a9c8a35d98997a1fb62d5aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.5

Security for reo-package-tracker 1.0.2

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.

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