Skip to main content

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
(cd expressir-rs && cargo build --release)
EXPRESSIR_CDYLIB=$PWD/expressir-rs/target/release/libexpressir_rs.dylib \
  python3 -m pip install -e . pytest && python3 -m pytest tests -q

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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for expressir 2.5.1
File Size Uploaded Provenance Actions
expressir-2.5.1.tar.gz 1.8 MB Without provenance Details for expressir-2.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for expressir 2.5.1
File Interpreter ABI Platform Actions
expressir-2.5.1-py3-none-any.whl Python 3 none any Details for expressir-2.5.1-py3-none-any.whl

Total release size: 3.7 MB

Release files / expressir-2.5.1.tar.gz

Download URL expressir-2.5.1.tar.gz
Size 1.8 MB
Tags Source
SHA-256 checksum
How to use checksums
550b9614f060d0c357c8ec9ebc1ef1426e64f9e428867cea9fe0ead260120596
BLAKE2b-256 checksum
How to use checksums
862d1710b442b286177bcfb8cf2c6be3ff7ff00151efb4449a37f61ad36922f4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.5

Release files / expressir-2.5.1-py3-none-any.whl

Download URL expressir-2.5.1-py3-none-any.whl
Size 1.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d69c76ec76e942c302acd9764f2d9ed5b841be9aa60dfde55261afddf396c6d4
BLAKE2b-256 checksum
How to use checksums
f263b464dc331c6fb3a7ae27535454cd7a38daac8222dd229a047027e6c55eb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.5

Security for expressir 2.5.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page