This release is a pre-release and may not be stable for production use.
Allotrope Simple Model commons (Python)
A project from IFP Energies Nouvelles, a public research, innovation and training organization in the fields of energy, transport and the environment.
Shared Python models of the Allotrope Simple Model (ASM) release REC/2026/09, used by the IFPEN ASM technique packages: quantity values and their unit-specific variants, date-time and integer values, data cubes, the core documents common to every technique (data system, device, processed data, diagnostic traces, statistics, …), and the documents shared by the gas and liquid chromatography packages (device control, peak list, peak, …).
You normally do not install this package directly: install the package of your technique (see Packages), which depends on it.
| ASM release | REC/2026/09 |
| Package | ifpen-allotrope-models 2026.9.0b4 |
| Requires | Python 3.9+ |
Installation
pip install ifpen-allotrope-models==2026.9.0b4
Usage
from ifpen.allotrope_models import QuantityValue
retention_time = QuantityValue(value=12.5, unit="s")
print(retention_time.to_json()) # {"value": 12.5, "unit": "s"}
ASM conventions
- An unavailable number, written
"NaN"in ASM JSON, is read asmath.nanand written back as"NaN". DateTimeValue,DateTimeStampValueandIntegerValueare written by ASM either as a primitive or as a typed object ({"@type": …, "value": …}); both forms are read and keep their form when written.
Versioning
Version 2026.9.0b4 implements ASM REC/2026/09. The last version number is a patch level of these packages, not of ASM. The technique packages depend on exactly the same version of this package.
Packages
| Java | C# | Python | TypeScript | |
|---|---|---|---|---|
| Commons | Maven Central | NuGet | PyPI | npm |
| Gas Chromatography | Maven Central | NuGet | PyPI | npm |
| Differential Scanning Calorimetry | Maven Central | NuGet | PyPI | npm |
| Liquid Chromatography | Maven Central | NuGet | PyPI | npm |
License
The source code is licensed under CeCILL 2.1. The models are derived from the ASM JSON schemas of the Allotrope Foundation, licensed under CC BY-NC 4.0.
Source code and issues: https://github.com/ifpen/AllotropeSimpleModelsClassGeneration.
Metadata
Release files for ifpen.allotrope-models 2026.9.0b4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ifpen_allotrope_models-2026.9.0b4.tar.gz | 70.3 kB | With provenance | Details for ifpen_allotrope_models-2026.9.0b4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ifpen_allotrope_models-2026.9.0b4-py3-none-any.whl | Python 3 | none | any | Details for ifpen_allotrope_models-2026.9.0b4-py3-none-any.whl |
Total release size: 225.4 kB
Release files / ifpen_allotrope_models-2026.9.0b4.tar.gz
| Download URL | ifpen_allotrope_models-2026.9.0b4.tar.gz |
|---|---|
| Size | 70.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d92509ef193a31e2d1a2fe2248d6e5890d0cc43c844428acac360b563081e2b1
|
|
BLAKE2b-256 checksum How to use checksums |
c72150c925c67293febbede1d36b9e2b801fc72e5779e6ec9e7bd6b1b493767c
|
| 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 Nov 30, 2026.
Transparency logRelease files / ifpen_allotrope_models-2026.9.0b4-py3-none-any.whl
| Download URL | ifpen_allotrope_models-2026.9.0b4-py3-none-any.whl |
|---|---|
| Size | 155.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc407ab81bef83f2ecef02a3bab949d72577d9ad8e3a1e6bff83e0473916bfa8
|
|
BLAKE2b-256 checksum How to use checksums |
102ec2940e5a9f0051d4da8895d6e032a72661503082c2212771ff4aa4b8a8a6
|
| 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 Nov 30, 2026.
Transparency logSecurity for ifpen.allotrope-models 2026.9.0b4
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
Both files in this release have been uploaded with provenance metadata.
Attestation for ifpen_allotrope_models-2026.9.0b4.tar.gz
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 Nov 30, 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.