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.2
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.2.tar.gz | 141.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| openom_core-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 182.2 kB
Release files / openom_core-0.1.2.tar.gz
| Download URL | openom_core-0.1.2.tar.gz |
|---|---|
| Size | 141.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac8238ca1567804ee7d005d355a26d3052101ed250501b01a79e5c353d55c0d3
|
|
BLAKE2b-256 checksum How to use checksums |
c5953826cb5124d5d8b68a3762fb1d8fbfa0cd829ec95fc670032724341530c9
|
| 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.2-py3-none-any.whl
| Download URL | openom_core-0.1.2-py3-none-any.whl |
|---|---|
| Size | 40.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f82149c537bb59789ed3b25c0f207d010fc8d86ea8b6b11e5399e22858722f6
|
|
BLAKE2b-256 checksum How to use checksums |
16917749bb5826dd0767231739fc292e4b10156b06ee146edbf16643c86b24a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.7
|