Skip to main content

Gamut

Gamut: a file format for parametric studies and models, with definitions intact

By Bijective Systems, with libraries for Python, MATLAB, Julia, C++, C and Rust.

Start here · Documentation · Specification · PyPI: bijective-gamut · Releases

CI


Gamut is an open file format for exchanging engineering studies and models with their definitions intact. Study files describe runs, parameters, results, units and relationships, including fields on shared or varying meshes. Those definitions travel with the data, so another person or tool can inspect the study without reconstructing its meaning from filenames and separate notes.

Libraries for Python, MATLAB, Julia, C++, C and Rust use one core to read and write the format, so each reads what another wrote, value for value. Model files hold their definitions and state as plain data, without executable code. Declared inputs and outputs can be inspected without the model implementation. Interpreting its state and evaluating the model require an implementation of the recorded type in the consuming runtime.

Python (with the command line), MATLAB, Julia, C++, C and Rust each read and write a .gamut file through the C interface of the one C++ core; Fortran is planned.

First file

Install with python -m pip install bijective-gamut. This example writes one input and one result for each of three runs.

import gamut

# Values at the same position belong to the same run.
alpha = [0.0, 2.0, 4.0]
cl = [0.0, 0.22, 0.44]

with gamut.create(
    "first.gamut",
    writer="example sweep",
    parameters={"alpha": {"units": "degree", "role": "condition"}},
    scalars={"cl": "1"},
) as study:
    study.add_runs({"alpha": alpha, "cl": cl})

with gamut.open("first.gamut") as study:
    lift = study.get_scalar("cl")

print("cl:", " ".join(f"{value:.2f}" for value in lift))
cl: 0.00 0.22 0.44

First file shows how to inspect and validate the file and runs the same example in MATLAB, Julia, C++ and Rust.

For a full study, see the capsule aeroheating dataset.

Performance

File size and read times of Exodus II, CGNS and PhysicsNeMo-Mesh relative to Gamut, for a triangulated capsule geometry family and an XFOIL airfoil sweep. Every format uses the same mesh within each dataset.

On the triangulated capsule family, Gamut and compressed Exodus occupy about the same space, and Gamut is smaller and reads one run faster than PhysicsNeMo-Mesh, which writes faster; on the smaller airfoil sweep, PhysicsNeMo-Mesh reads faster and Gamut is smaller. PhysicsNeMo-Mesh needs triangles, so every format here uses the capsule converted to triangles. The benchmarks give the full timings, settings and machine, the original quadrilateral results, and the workloads where another approach is faster.

Install

Language Install
Python 3.11 or later pip install bijective-gamut
MATLAB R2023b or later open Gamut.mltbx from the latest release
Julia 1.10 or later Pkg.add(url="https://github.com/bijective-systems-org/gamut", subdir="julia", rev="v2.3.1")
C++ and C CMake build and install, then find_package(gamut); include gamut/gamut.hpp (C++17) or gamut/gamut.h (C)
Rust 1.70 or later bijective-gamut = { git = "https://github.com/bijective-systems-org/gamut", tag = "v2.3.1" }, with GAMUT_LIB_DIR at a release's core

In Python, install bijective-gamut, then import gamut; the PyPI project named gamut is a different package. Installing has the details for each language, and llms.txt gives coding agents a plain-text overview.

License

Apache 2.0. Made by Bijective Systems. If you use Gamut in published work, please cite it (CITATION.cff).

Gamut is developed in collaboration with AI coding agents (Claude Code and Codex).

Metadata

Release files for bijective-gamut 2.3.1

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

Source distribution (sdist)

Source distribution for bijective-gamut 2.3.1
File Size Uploaded Provenance Actions
bijective_gamut-2.3.1.tar.gz 389.2 kB With provenance Details for bijective_gamut-2.3.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for bijective-gamut 2.3.1
File Actions
bijective_gamut-2.3.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for bijective_gamut-2.3.1-py3-none-win_amd64.whl
bijective_gamut-2.3.1-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for bijective_gamut-2.3.1-py3-none-manylinux_2_28_x86_64.whl
bijective_gamut-2.3.1-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for bijective_gamut-2.3.1-py3-none-macosx_11_0_x86_64.whl
bijective_gamut-2.3.1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for bijective_gamut-2.3.1-py3-none-macosx_11_0_arm64.whl

Total release size: 9.5 MB

Release files / bijective_gamut-2.3.1.tar.gz

Download URL bijective_gamut-2.3.1.tar.gz
Size 389.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5a85faf2f6047bf400ee4c07fe7829a392097543a3d448581a236f71c29ad3ed
BLAKE2b-256 checksum
How to use checksums
730232a30698e6982f7dcd3ed09248ea825cd8ad34bf405f2dbf8c9fbb1f2245
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 26, 2026.

Transparency log

Release files / bijective_gamut-2.3.1-py3-none-win_amd64.whl

Download URL bijective_gamut-2.3.1-py3-none-win_amd64.whl
Size 2.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
2cc3423580590f6a68858d5f7db1850559d27896d54bf035f8e2da519d9acf68
BLAKE2b-256 checksum
How to use checksums
228700a9f9a7ae67d0409299157f843aed8848347f4f48fb09ca62604760b9c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 26, 2026.

Transparency log

Release files / bijective_gamut-2.3.1-py3-none-manylinux_2_28_x86_64.whl

Download URL bijective_gamut-2.3.1-py3-none-manylinux_2_28_x86_64.whl
Size 2.8 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
58186bbe69ae7d0ce5bfad21df8b35b2d398489a2087952f2ce9fd45c036b7ad
BLAKE2b-256 checksum
How to use checksums
010f0bd75b37cdaec40874321b80cd1880bdf3e4f9892436e879dea2758b0611
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 26, 2026.

Transparency log

Release files / bijective_gamut-2.3.1-py3-none-macosx_11_0_x86_64.whl

Download URL bijective_gamut-2.3.1-py3-none-macosx_11_0_x86_64.whl
Size 2.3 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
29a6a3f72655ea9340c7bbbfb2ef358e6e5eeb010786ef18ee6a8b7a5ebe80a0
BLAKE2b-256 checksum
How to use checksums
ee5d9a2e209b9f09be0e958045079ffa15db10bd7aace7f833a9bff138334a16
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 26, 2026.

Transparency log

Release files / bijective_gamut-2.3.1-py3-none-macosx_11_0_arm64.whl

Download URL bijective_gamut-2.3.1-py3-none-macosx_11_0_arm64.whl
Size 2.0 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b95bd41e2aa0562ae0274dffed1a4cbfe7c5ac15794ca6fdbb4007e6ae141640
BLAKE2b-256 checksum
How to use checksums
c386563e5b163d86e3476fd5e80cf4196449f2ecc86fc665bd0b8af8c89a483e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 26, 2026.

Transparency log

Security for bijective-gamut 2.3.1

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

All 5 files in this release have been uploaded with provenance metadata.

Select from 5 files

Attestation for bijective_gamut-2.3.1.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 26, 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