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.0b4
Depends on ifpen-allotrope-models 2026.9.0b4 (shared ASM models, installed automatically)
Requires Python 3.9+

Installation

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

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.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 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.0b4

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.0b4
File Size Uploaded Provenance Actions
ifpen_allotrope_models_gc-2026.9.0b4.tar.gz 49.9 kB With provenance Details for ifpen_allotrope_models_gc-2026.9.0b4.tar.gz

Built distribution (wheel)

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

Total release size: 99.5 kB

Release files / ifpen_allotrope_models_gc-2026.9.0b4.tar.gz

Download URL ifpen_allotrope_models_gc-2026.9.0b4.tar.gz
Size 49.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c68b3169619c413f06b3350522ae81de1917d200aed4877624fc2816333c40bb
BLAKE2b-256 checksum
How to use checksums
cbe67482f5dd0b166baf1907d30b282c2ea287767b0b4c37d418ec3cc050b31c
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 log

Release files / ifpen_allotrope_models_gc-2026.9.0b4-py3-none-any.whl

Download URL ifpen_allotrope_models_gc-2026.9.0b4-py3-none-any.whl
Size 49.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1d37fe38ffd643848aa3ebe508593ab2a2f314b802b436d59fb0b7b45573e727
BLAKE2b-256 checksum
How to use checksums
84cf1c087d395cea0665c058ce6916f69ed928cc3a5c08bfc1a7d25d43fc7826
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 log

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

Select from 2 files

Attestation for ifpen_allotrope_models_gc-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 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