Skip to main content

OMB — ODIN Meter & Billing (verifiable usage, signed bundles)

Project description

omb-py

Lightweight library for Signed Usage Records (SUR) and signed export bundles.

  • omb.signing — Ed25519 key handling, base64url helpers, JWKS
  • omb.meter — record usage into JSONL or SQLite (set OMB_STORE=sqlite), compute SUR (cid + signature)
  • omb.export — build signed bundles; verify bundle & SURs
  • omb.verify — helpers for verification
  • omb.cli — minimal CLI (record/export/verify)

Install (editable):

pip install -e packages/omb_py

Environment flags:

  • OMB_STORE=sqlite|jsonl (default jsonl)
  • OMB_LOCAL_SUR_PATH / OMB_SQLITE_PATH
  • OMB_RETENTION_MAX_AGE_SECONDS

Stripe monetization features are exposed in the FastAPI service (see services/omb_api).

License: Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

omb_py-0.1.2.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omb_py-0.1.2-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

Details for the file omb_py-0.1.2.tar.gz.

File metadata

  • Download URL: omb_py-0.1.2.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for omb_py-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9d2dcf9f6a4292148f09a3ba5af06bd93e17b65b608dec997a7f68b3d7a41978
MD5 e90c0067815b2183552f2a973f71f2ac
BLAKE2b-256 a0be44aed090188f9d178ec16bbab3e28b3d665f48e3c8437c025188b95f19fd

See more details on using hashes here.

File details

Details for the file omb_py-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: omb_py-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for omb_py-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2b8548f92fe8e8c4ce0cf639675e7ca4031f42d7a8a17ca47cccf25242596580
MD5 6d1770c9ccce72dfc3434a1999db81f0
BLAKE2b-256 eebe706fd1f5ff5305375b2f8930a608e9b5dd8af9b64734dce7c5137001bae7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page