# 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):
```bash
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
Raw data
{
"_id": null,
"home_page": null,
"name": "omb-py",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.10",
"maintainer_email": null,
"keywords": "usage, metering, billing, ed25519, signatures, verifiable, cryptography, stripe",
"author": "ODIN Project",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/a0/be/44aed090188f9d178ec16bbab3e28b3d665f48e3c8437c025188b95f19fd/omb_py-0.1.2.tar.gz",
"platform": null,
"description": "# omb-py\r\n\r\nLightweight library for **Signed Usage Records (SUR)** and **signed export bundles**.\r\n\r\n- `omb.signing` \u2014 Ed25519 key handling, base64url helpers, JWKS\r\n- `omb.meter` \u2014 record usage into JSONL or SQLite (set `OMB_STORE=sqlite`), compute SUR (cid + signature)\r\n- `omb.export` \u2014 build signed bundles; verify bundle & SURs\r\n- `omb.verify` \u2014 helpers for verification\r\n- `omb.cli` \u2014 minimal CLI (record/export/verify)\r\n\r\nInstall (editable):\r\n```bash\r\npip install -e packages/omb_py\r\n```\r\n\r\nEnvironment flags:\r\n- `OMB_STORE=sqlite|jsonl` (default jsonl)\r\n- `OMB_LOCAL_SUR_PATH` / `OMB_SQLITE_PATH`\r\n- `OMB_RETENTION_MAX_AGE_SECONDS`\r\n\r\nStripe monetization features are exposed in the FastAPI service (see `services/omb_api`).\r\n\r\nLicense: Apache-2.0\r\n",
"bugtrack_url": null,
"license": "Apache-2.0",
"summary": "OMB \u2014 ODIN Meter & Billing (verifiable usage, signed bundles)",
"version": "0.1.2",
"project_urls": {
"Documentation": "https://github.com/odin-org/omb#readme",
"Homepage": "https://github.com/odin-org/omb",
"Issues": "https://github.com/odin-org/omb/issues",
"Security": "https://github.com/odin-org/omb/security",
"Source": "https://github.com/odin-org/omb"
},
"split_keywords": [
"usage",
" metering",
" billing",
" ed25519",
" signatures",
" verifiable",
" cryptography",
" stripe"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "eebe706fd1f5ff5305375b2f8930a608e9b5dd8af9b64734dce7c5137001bae7",
"md5": "6d1770c9ccce72dfc3434a1999db81f0",
"sha256": "2b8548f92fe8e8c4ce0cf639675e7ca4031f42d7a8a17ca47cccf25242596580"
},
"downloads": -1,
"filename": "omb_py-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6d1770c9ccce72dfc3434a1999db81f0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 10387,
"upload_time": "2025-08-25T23:18:18",
"upload_time_iso_8601": "2025-08-25T23:18:18.213531Z",
"url": "https://files.pythonhosted.org/packages/ee/be/706fd1f5ff5305375b2f8930a608e9b5dd8af9b64734dce7c5137001bae7/omb_py-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "a0be44aed090188f9d178ec16bbab3e28b3d665f48e3c8437c025188b95f19fd",
"md5": "e90c0067815b2183552f2a973f71f2ac",
"sha256": "9d2dcf9f6a4292148f09a3ba5af06bd93e17b65b608dec997a7f68b3d7a41978"
},
"downloads": -1,
"filename": "omb_py-0.1.2.tar.gz",
"has_sig": false,
"md5_digest": "e90c0067815b2183552f2a973f71f2ac",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 9961,
"upload_time": "2025-08-25T23:18:19",
"upload_time_iso_8601": "2025-08-25T23:18:19.602805Z",
"url": "https://files.pythonhosted.org/packages/a0/be/44aed090188f9d178ec16bbab3e28b3d665f48e3c8437c025188b95f19fd/omb_py-0.1.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-25 23:18:19",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "odin-org",
"github_project": "omb#readme",
"github_not_found": true,
"lcname": "omb-py"
}