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.2")
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.2" }, 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.2

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.2
File Size Uploaded Provenance Actions
bijective_gamut-2.3.2.tar.gz 395.1 kB With provenance Details for bijective_gamut-2.3.2.tar.gz

Built distributions (wheels)

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

Total release size: 9.6 MB

Release files / bijective_gamut-2.3.2.tar.gz

Download URL bijective_gamut-2.3.2.tar.gz
Size 395.1 kB
Tags Source
SHA-256 checksum
How to use checksums
53b66a5580eb456da9447f53ab07098faac27866bcb3808f2886796227465bd7
BLAKE2b-256 checksum
How to use checksums
8f2db357d089da2d735d5ae483e2290f923575ee2b4bfa1bd99ce2643490a098
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 27, 2026.

Transparency log

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

Download URL bijective_gamut-2.3.2-py3-none-win_amd64.whl
Size 2.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
e691540f2bdb9d368d3aef6d722afcb5d429dafce4bb9c800233ce0cc2bdc211
BLAKE2b-256 checksum
How to use checksums
1a8a191c29e0b60ccddb2492683817bd53008b387845345b5485482102675207
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 27, 2026.

Transparency log

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

Download URL bijective_gamut-2.3.2-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
99677da68dbf231753f566bdbfc9793a33d8f886e7657ac3fcd76afdce423ecf
BLAKE2b-256 checksum
How to use checksums
33e93255ab5ad8a7fdb7247505cfd271569fdb3ff4fbddf519a4937264be7744
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 27, 2026.

Transparency log

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

Download URL bijective_gamut-2.3.2-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
20ac53697d251b0458711619ad964b6bc9ef3c82b093654ea77be4d379a3363f
BLAKE2b-256 checksum
How to use checksums
4d372e5d01ec17be20588677f1c18f5c8650715562704b278d13f8bd0eb12793
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 27, 2026.

Transparency log

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

Download URL bijective_gamut-2.3.2-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
3b21a635d6fbef41163a4d3abd024f60a6368d2d27dc764f5abf70df185b9a11
BLAKE2b-256 checksum
How to use checksums
47aac8387a80932c85d148637757767bc353efa5557294501aa6dc841983980b
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 27, 2026.

Transparency log

Security for bijective-gamut 2.3.2

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.2.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 27, 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