Skip to main content
Pre-release

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, and the core documents common to every technique (data system, device control, processed data, sample, statistics, …).

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.0b3
Requires Python 3.9+

Installation

pip install ifpen-allotrope-models==2026.9.0b3

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 as math.nan and written back as "NaN".
  • DateTimeValue, DateTimeStampValue and IntegerValue are 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.0b3 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.0b3

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

Source distribution (sdist)

Source distribution for ifpen.allotrope-models 2026.9.0b3
File Size Uploaded Provenance Actions
ifpen_allotrope_models-2026.9.0b3.tar.gz 49.6 kB With provenance Details for ifpen_allotrope_models-2026.9.0b3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ifpen.allotrope-models 2026.9.0b3
File Interpreter ABI Platform Actions
ifpen_allotrope_models-2026.9.0b3-py3-none-any.whl Python 3 none any Details for ifpen_allotrope_models-2026.9.0b3-py3-none-any.whl

Total release size: 164.8 kB

Release files / ifpen_allotrope_models-2026.9.0b3.tar.gz

Download URL ifpen_allotrope_models-2026.9.0b3.tar.gz
Size 49.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0f6f65be5a2fac9b4c4f6c36a48ce625c12e35c43ac8b45d0e7e201527a5a4c4
BLAKE2b-256 checksum
How to use checksums
43c229d7821a85087395ceaeb94e471d2dd376b289aec6d918c305e24991cfe6
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 20, 2026.

Transparency log

Release files / ifpen_allotrope_models-2026.9.0b3-py3-none-any.whl

Download URL ifpen_allotrope_models-2026.9.0b3-py3-none-any.whl
Size 115.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
28a0d963c62f02c5e24af03d142a170c0f15c2a7f81cba8186d0de111c85c976
BLAKE2b-256 checksum
How to use checksums
588e4ed2898a2144bd0e7d03c0a91718f6d9b5b6774cf0cb3e1161e7b8298f99
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 20, 2026.

Transparency log

Security for ifpen.allotrope-models 2026.9.0b3

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.

Select from 2 files

Attestation for ifpen_allotrope_models-2026.9.0b3.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 20, 2026.

Transparency log

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