Skip to main content

cottax

Python package for computational graph generation using JAX, enabling graph manipulation and multidisciplinary optimization.

Documentation, theory and examples: https://timobogaarts.github.io/cottax/

Installation

cottax needs Python 3.12 or newer.

pip install cottax                  # the core: jax and networkx
pip install "cottax[solvers]"       # + optimistix and scipy, needed by `cottax.assemblies.jax`
pip install "cottax[solvers,ode,viz]"   # + diffrax for ODEs, and the drawing dependencies

From source, with everything needed for the tests and the docs:

git clone https://github.com/timobogaarts/cottax.git
cd cottax
pip install -e ".[dev]"
JAX_PLATFORMS=cpu pytest

To get started, see the Sellar example.

Why the Frozen base?

This package is designed to ensure that the graphs it builds are always valid, and the operations on them preserve that validity. These graphs are therefore immutable: any change to a graph must prove that the new graph is actually valid too. Furthermore, they are additive checks: every additional level (e.g. executable/runnable) only adds checks, never removes them. This only holds if no subclass accidentally overrides checks or change what a check reads. Python is rather permissive here, so to make that enforced rather than convention, no implemented method may be overridden in a subclass. You may extend such a class with additional methods (abstract or not), or add additional rules and checks though.

The Frozen base class implements this pattern; it is additionally used for the nodes, since they carry the same proof obligation.

Metadata

Release files for cottax 0.1.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 cottax 0.1.0
File Size Uploaded Provenance Actions
cottax-0.1.0.tar.gz 390.3 kB With provenance Details for cottax-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for cottax 0.1.0
File Interpreter ABI Platform Actions
cottax-0.1.0-py3-none-any.whl Python 3 none any Details for cottax-0.1.0-py3-none-any.whl

Total release size: 656.3 kB

Release files / cottax-0.1.0.tar.gz

Download URL cottax-0.1.0.tar.gz
Size 390.3 kB
Tags Source
SHA-256 checksum
How to use checksums
094453ea2101bea31202a1ebd6dcc7614868183eae368156fdaf21285a949ef6
BLAKE2b-256 checksum
How to use checksums
c79e876fee9247c52e0923e080d9ea420c707cba58c7b0e09ece9f433afce837
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 Oct 18, 2026.

Transparency log

Release files / cottax-0.1.0-py3-none-any.whl

Download URL cottax-0.1.0-py3-none-any.whl
Size 265.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3192a629e31e4eb9e39e198a5f1ff9687a61514ae44031b2a8cac7187f355afa
BLAKE2b-256 checksum
How to use checksums
aa7a24d7ee1a4806db2d231d2c2ab1b6a1624bb77469d7c2d53c2a36bc5350a0
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 Oct 18, 2026.

Transparency log

Security for cottax 0.1.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 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for cottax-0.1.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 Oct 18, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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