expressir-python
Python runtime for Expressir: EXPRESS schema parse, remark attach, format, check, and the ISO 10303-21 population — through the expressir-rs C ABI, the same engine the ruby, rust, wasm, and TypeScript runtimes use.
import expressir
wire = expressir.parse_schema("SCHEMA demo; ENTITY e; a : STRING; END_ENTITY; END_SCHEMA;")
attached = expressir.attach_remarks(wire, source)
print(expressir.format(attached))
inventory = expressir.parse_population("ISO-10303-21; ...;")
verdict = expressir.validate_population(["E"], population_source)
Development
git clone --recurse-submodules https://github.com/lutaml/expressir-python
cd expressir-python
# --features pyo3 also builds expressir._native, the PyO3 module over the
# same expr_* entry points (the wheel ships it as _native.abi3.so).
(cd expressir-rs && cargo build --release --features pyo3)
cp expressir-rs/target/release/libexpressir.dylib src/expressir/_native.abi3.so
python3 -m pip install -e . pytest && python3 -m pytest tests -q # pyo3
rm src/expressir/_native.abi3.so
EXPRESSIR_CDYLIB=$PWD/expressir-rs/target/release/libexpressir.dylib \
python3 -m pytest tests -q # ctypes
Architecture
One core (expressir-rs), many tiers: rust (this ABI's home), C
(expr_* family), wasm (expressir-ts), ruby (expressir), and
python (here). Every tier exposes the same six operations over the
model-hash wire JSON. See expressir.org.
Metadata
Release files for expressir 2.5.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| expressir-2.5.9-py3-none-any.whl | Python 3 | none | any | Details for expressir-2.5.9-py3-none-any.whl |
| expressir-2.5.9-cp39-abi3-manylinux_2_35_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.35+ x86-64 | Details for expressir-2.5.9-cp39-abi3-manylinux_2_35_x86_64.whl |
| expressir-2.5.9-cp39-abi3-macosx_11_0_arm64.whl | CPython 3.9 | abi3 | macOS 11.0+ ARM64 | Details for expressir-2.5.9-cp39-abi3-macosx_11_0_arm64.whl |
Total release size: 4.2 MB
Release files / expressir-2.5.9-py3-none-any.whl
| Download URL | expressir-2.5.9-py3-none-any.whl |
|---|---|
| Size | 6.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
df98fd979f0db5b162826bc3d8ce57c39b5cb71d9eff0304fc61055de219ae23
|
|
BLAKE2b-256 checksum How to use checksums |
5f154d5df8040f87c5be55ebc391d06213115acb5adede2b5e0771b8e5eb215e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.
Transparency logRelease files / expressir-2.5.9-cp39-abi3-manylinux_2_35_x86_64.whl
| Download URL | expressir-2.5.9-cp39-abi3-manylinux_2_35_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | CPython 3.9 Linux glibc 2.35+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
1bcd24db1f578834ad01580136f46007428395995b550b082b61a4ffc79b6438
|
|
BLAKE2b-256 checksum How to use checksums |
8f3c3e1c078cc1ba0f89eafc49cb0ec7df017209f38dba69dc9be314c474f50b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.
Transparency logRelease files / expressir-2.5.9-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | expressir-2.5.9-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ac630cebd6f5d1bc7c91f1b3caae3ee3b5ba56c7171dca751466bf0f77dcb43f
|
|
BLAKE2b-256 checksum How to use checksums |
91eacd8c4c54b9aa38eac2efed31f5c41ec849c3c243af456c3d1eae8ed62586
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.
Transparency logSecurity for expressir 2.5.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 3 files in this release have been uploaded with provenance metadata.
Attestation for expressir-2.5.9-py3-none-any.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 6, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.