Skip to main content
Pre-release

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

Allotrope Simple Model Differential Scanning Calorimetry (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) Differential Scanning Calorimetry 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/dsc/REC/2026/09/differential-scanning-calorimetry.manifest
Root model DifferentialScanningCalorimetrySimpleModel
Package ifpen-allotrope-models-dsc 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-dsc==2026.9.0b4

Usage

from ifpen.allotrope_models.dsc import DifferentialScanningCalorimetrySimpleModel

with open("input.json", encoding="utf-8") as stream:
    document = DifferentialScanningCalorimetrySimpleModel.from_json(stream.read())
print(len(document.differential_scanning_calorimetry_aggregate_document.differential_scanning_calorimetry_document))

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

Members follow the ASM JSON names: "differential scanning calorimetry aggregate document" is differential_scanning_calorimetry_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.dsc 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.dsc 2026.9.0b4
File Size Uploaded Provenance Actions
ifpen_allotrope_models_dsc-2026.9.0b4.tar.gz 45.6 kB With provenance Details for ifpen_allotrope_models_dsc-2026.9.0b4.tar.gz

Built distribution (wheel)

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

Total release size: 100.9 kB

Release files / ifpen_allotrope_models_dsc-2026.9.0b4.tar.gz

Download URL ifpen_allotrope_models_dsc-2026.9.0b4.tar.gz
Size 45.6 kB
Tags Source
SHA-256 checksum
How to use checksums
912d40ce8ada88a06d9beaa14eddddedc2bab15c7791743e56306c5381b6cde0
BLAKE2b-256 checksum
How to use checksums
f2ce04c2e6c221b7b60d3578e571d54d8c5561faac3942f1e9c3d3033a06fb89
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_dsc-2026.9.0b4-py3-none-any.whl

Download URL ifpen_allotrope_models_dsc-2026.9.0b4-py3-none-any.whl
Size 55.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4129d49f292dd801634884e7ae02158a7030da6f3025c3f6df3e1df7030e877b
BLAKE2b-256 checksum
How to use checksums
0e87e5257c40e3a1783296d8f417fdbf59f685604659397c60eefa109a08b966
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.dsc 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_dsc-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