openom-core
The deterministic Python core of the openOM standard: the PDF/data verbs
(embed, read, inspect, extract, validate) and RFC 8785 canonicalization + SHA-256
integrity. Zero inference, ever (CI's boundary job enforces it). Byte-parity with js/.
# From a clone (openom-core is not yet on PyPI):
pip install -e core # add the [dev] extra only to contribute
# Once published: pip install openom-core
from openom_core.embed import embed, read
out = embed(pdf_bytes, payload, asserted_date="2026-08-16") # non-destructive
r = read(out) # r.present / r.hash_valid / r.payload
Entrypoints: openom_core.{canonical,embed,validate,inspect,images,text,schema,xmp}.
Tests: pytest core -q --cov=openom_core --cov-fail-under=90. Schema + vectors live in /spec.
Release files for openom-core 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| openom_core-0.1.0.tar.gz | 135.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openom_core-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 174.5 kB
Release files / openom_core-0.1.0.tar.gz
| Download URL | openom_core-0.1.0.tar.gz |
|---|---|
| Size | 135.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d17017693f96f1a4bde4ef882821ebdaed03a7c3f53abab87b3e3de8f09342b4
|
|
BLAKE2b-256 checksum How to use checksums |
5a1b94548c343306668c6956fcba9499b638fc9b3a33d374401b74c8114f6d14
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.7
|
Release files / openom_core-0.1.0-py3-none-any.whl
| Download URL | openom_core-0.1.0-py3-none-any.whl |
|---|---|
| Size | 39.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b1dd825534db0f8e0096b24aef5c9f94932b5b3c22fe43cc8dc3701adf02c9e
|
|
BLAKE2b-256 checksum How to use checksums |
b651fa024978372ad0da6a35e718332caad4cf382673bb9f40326510cfe8afd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.7
|