← Back to SaaS Starter
Usage Metering
$4.99
Python usage tracking: API calls, storage, compute, and billing integration hooks. Know exactly what every tenant consumes. Runs on Python 3.10+ stdlib only.
Multi-dimensional metering (API calls, storage, bandwidth, compute)
Per-tenant usage buckets with hourly/daily/monthly aggregation
Quota enforcement with soft and hard limits
Overage detection with configurable alert thresholds
Billing integration hooks for usage-based pricing
Usage reports in JSON, CSV, and summary formats
Rate calculation with tiered pricing support
Historical usage data with retention policies
# Start metering demo
python src/main.py --demo
# Record an API call
python src/main.py --record --tenant acme --metric api_calls --value 1
# Get usage report
python src/main.py --report --tenant acme --period 2026-03
Grab This — $4.99
Pay with Crypto ($3.99)