dsfb-chemical-engineering-py
Thin pyo3 bindings exposing a focused, file-free subset of the read-only DSFB courts to Python. Standalone workspace (excluded from the host Rust build); crates.io carries the source crate, while installable Python wheels are built + published with maturin.
Surface
import dsfb_chemical_engineering as dsfb
dsfb.version() # -> "0.1.0"
dsfb.classify_unit_pair("degC", "K") # -> "affine_offset_hazard"
dsfb.classify_unit_pair("bar", "Pa") # -> "scale_mismatch"
dsfb.grade_readiness(n_tags=40, n_rows=5000, baseline_present=True, license_cleared=True,
missingness=0.01, unit_coverage=1.0, has_controllers=True)
# -> {"verdict": "ReadyWithCaveats", "n_caveat": ..., "n_critical_missing": 0, "court_hash": "..."}
The heavyweight pipeline (analyze, casefile) stays in the Rust binary / container; these bindings are the
cheap-to-marshal courts (unit consistency, data readiness) for use from Python notebooks.
Build
pip install maturin
cd crates/dsfb-chemical-engineering-py
maturin develop --release # build + install into the active venv
# or: maturin build --release # produce an abi3 wheel (CPython 3.9+) in target/wheels/
The crate also builds with plain cargo build --release (it produces the cdylib). On a very new CPython
(e.g. 3.14, ahead of pyo3's declared support) set PYO3_USE_ABI3_FORWARD_COMPATIBILITY=1 for the abi3
forward-compatible build.
Bounded
Same non-claims as the underlying objects: advisory, read-only, deterministic, hash-sealed; no control or
safety-instrumented-function authority. Publishing installable wheels (PyPI / maturin publish) is separate
from the crates.io source package.
Citation
If you use DSFB-Chemical-Engineering, please cite:
de Beer, R. (2026). DSFB-Chemical-Engineering: Read-Only Residual Semiotics for Chemometrics-Augmented Fault Detection and Diagnosis in Chemical Engineering, with a Deterministic, Byte-Exact, CUDA-Accelerated Forensic Evidence Court (1.0). Zenodo. https://doi.org/10.5281/zenodo.20443279
See CITATION.cff for the machine-readable record.
Metadata
Release files for dsfb-chemical-engineering-py 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dsfb_chemical_engineering_py-0.1.0-cp39-abi3-manylinux_2_34_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.34+ x86-64 | Details for dsfb_chemical_engineering_py-0.1.0-cp39-abi3-manylinux_2_34_x86_64.whl |
Release files / dsfb_chemical_engineering_py-0.1.0-cp39-abi3-manylinux_2_34_x86_64.whl
| Download URL | dsfb_chemical_engineering_py-0.1.0-cp39-abi3-manylinux_2_34_x86_64.whl |
|---|---|
| Size | 356.7 kB |
| Tags | CPython 3.9 Linux glibc 2.34+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
9669b1e68da7acf3795648ab84a2c9726c7314fa2c826f3b1760736b89fcda88
|
|
BLAKE2b-256 checksum How to use checksums |
7c20ba04f12a9805cb512dfa0e297b56bb5d87ddfa62b12be34f570a7a95af88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
maturin/1.13.3
|
Security for dsfb-chemical-engineering-py 0.1.0
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.