Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Allotrope Simple Model Gas Chromatography (Python)

A project from IFP Energies Nouvelles, a public research, innovation and training organization in the fields of energy, transport and the environment.

Python classes (pydantic models) for reading and writing Allotrope Simple Model (ASM) Gas Chromatography documents, release REC/2026/09. They are plain data models: deserialize an ASM JSON file, navigate typed objects, and serialize it back without losing content.

ASM release REC/2026/09
ASM manifest http://purl.allotrope.org/manifests/gas-chromatography/REC/2026/09/gas-chromatography.tabular.manifest
Root model GasChromatographySimpleModel
Package ifpen-allotrope-models-gc 2026.9.0b3
Depends on ifpen-allotrope-models 2026.9.0b3 (shared ASM models, installed automatically)
Requires Python 3.9+

Installation

pip install ifpen-allotrope-models-gc==2026.9.0b3

Usage

from ifpen.allotrope_models.gc import GasChromatographySimpleModel

with open("input.json", encoding="utf-8") as stream:
    document = GasChromatographySimpleModel.from_json(stream.read())
print(len(document.gas_chromatography_aggregate_document.gas_chromatography_document))

with open("output.json", "w", encoding="utf-8") as stream:
    stream.write(document.to_json())

Members follow the ASM JSON names: "gas chromatography aggregate document" is gas_chromatography_aggregate_document.

ASM conventions

  • An unavailable number, written "NaN" in ASM JSON, is read as math.nan and written back as "NaN".
  • Values that ASM writes either as a primitive or as a typed object, such as date-times ("2026-11-17T09:00:00Z" or {"@type": …, "value": …}), keep the form they were read in.
  • Named data cubes ("… data cube" members of diagnostic trace documents) are kept in additional_properties.

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 ifpen-allotrope-models.

Packages

All packages are generated from the same OpenAPI description of the ASM schemas, so their models match across languages.

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.gc 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.gc 2026.9.0b3
File Size Uploaded Provenance Actions
ifpen_allotrope_models_gc-2026.9.0b3.tar.gz 44.0 kB With provenance Details for ifpen_allotrope_models_gc-2026.9.0b3.tar.gz

Built distribution (wheel)

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

Total release size: 109.3 kB

Release files / ifpen_allotrope_models_gc-2026.9.0b3.tar.gz

Download URL ifpen_allotrope_models_gc-2026.9.0b3.tar.gz
Size 44.0 kB
Tags Source
SHA-256 checksum
How to use checksums
6a7aa7a070337107b03f358a93c4f69bf83f4b3d44f5cb8bde676cdc90155da4
BLAKE2b-256 checksum
How to use checksums
234c3737d2f07e4e69804ad0498f65e9daca2a46e5fd273ce51a6928b03028c0
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_gc-2026.9.0b3-py3-none-any.whl

Download URL ifpen_allotrope_models_gc-2026.9.0b3-py3-none-any.whl
Size 65.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9e35bc186c9c9834740f50d4d88450e3fe4fd5a8ec8719bea5afff5e6875b624
BLAKE2b-256 checksum
How to use checksums
13a8cc9c162c8cc4d10d4f32285867a5127646681e8e76f47ff43262f4a01bb2
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.gc 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_gc-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