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(name="GamutFile", version="2.3.0")
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.0" }, 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.0

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.0
File Size Uploaded Provenance Actions
bijective_gamut-2.3.0.tar.gz 388.8 kB With provenance Details for bijective_gamut-2.3.0.tar.gz

Built distributions (wheels)

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

Total release size: 8.3 MB

Release files / bijective_gamut-2.3.0.tar.gz

Download URL bijective_gamut-2.3.0.tar.gz
Size 388.8 kB
Tags Source
SHA-256 checksum
How to use checksums
44c6eaef033dee4a1902f60b416fbfa60455bf3fa869b7bc72dd69b29399da29
BLAKE2b-256 checksum
How to use checksums
0317c4956f3b4403ceb8263ec79b0530437e81eda0f3a138b39c92e3fa3aa513
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 19, 2026.

Transparency log

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

Download URL bijective_gamut-2.3.0-py3-none-win_amd64.whl
Size 1.8 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
abd418e54747a381cd774190821f0321e3baec3d6829401d6443cd9f814ad456
BLAKE2b-256 checksum
How to use checksums
6efb077673090b110c278771d55c0349f8ba7c6212ee932af088b64413cd9cf3
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 19, 2026.

Transparency log

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

Download URL bijective_gamut-2.3.0-py3-none-manylinux_2_28_x86_64.whl
Size 2.4 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
4047cb8c96a44cfdd696af12937da3e72a5c7a81293ee42a7b2729c13239d592
BLAKE2b-256 checksum
How to use checksums
5739919c9e6c8aab5569d972f76520a55e3555b3421da4d9cbf9970fb5189a79
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 19, 2026.

Transparency log

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

Download URL bijective_gamut-2.3.0-py3-none-macosx_11_0_x86_64.whl
Size 2.0 MB
Tags Python 3 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
5929534ecafef278d5fd9666efef04f47d47c54351c7f224dee148accc8e141e
BLAKE2b-256 checksum
How to use checksums
46b0e29023d1b4fb7860586129feb0dd410b8f116a730c80a69c13ff4fc7d5a7
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 19, 2026.

Transparency log

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

Download URL bijective_gamut-2.3.0-py3-none-macosx_11_0_arm64.whl
Size 1.7 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
22787f22808b5416cbde3bbbae01f83bef46b378e960803a8d009d0eb087ee9f
BLAKE2b-256 checksum
How to use checksums
e1490480260091c525e831ae1db21078f9ff6edb6863a8acb1bc75d62eacf256
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 19, 2026.

Transparency log

Security for bijective-gamut 2.3.0

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.0.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 19, 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