The StringJAX project: Compiling String Theory
Differentiable tools for string compactifications in JAX.
StringJAX is the umbrella project for a family of interoperating, separately
versioned and separately citable Python packages. This repository hosts the
lightweight stringjax metapackage (a one-command installer and an environment
helper) and the documentation hub. It contains no physics code — that lives in
the member packages below.
Why StringJAX?
Constructing and analysing string-theory vacua has traditionally meant stitching together bespoke scripts, incompatible data formats, and slow, non-differentiable numerics. StringJAX exists to make that pipeline fast, differentiable, and reproducible from end to end. Every member package is built on JAX, so the same code runs on CPU, GPU, or TPU and exposes exact gradients through the whole geometry → effective theory → moduli-stabilisation chain. The packages are small, single-purpose, and independently versioned, so you install only what you need and cite exactly what you used.
Install
pip install stringjax # CPU; JAXVacua engine + CYTools + bundled models
pip install "stringjax[all]" # + databases (StringForge) and the flux-bounding extra
GPU/TPU/Apple-Silicon need one extra step for JAX — see the installation guide.
Note:
stringjaxis released under GPL-3.0-or-later, matching the licence ofjaxvacua; your usage of the ecosystem is subject to those terms.
Packages
| Package | Role | Install | Docs | GitHub |
|---|---|---|---|---|
| JAXVacua | Type IIB flux-vacuum engine | pip install jaxvacua |
DOC | (GitHub) |
| JAXPolyLog | Differentiable polylogarithms | pip install jaxpolylog |
DOC | (GitHub) |
| StringForge | Calabi-Yau databases & vacua vault | pip install stringforge |
DOC | (GitHub) |
| StringJAX Tools | Shared JAX transform helpers | pip install stringjax-tools |
DOC | (GitHub) |
StringJAX itself is the project/brand and is not an installable physics package.
First five minutes
import jaxvacua as jvc
jvc.set_precision("float64") # before heavy compute
eft = jvc.FluxEFT(h12=2, model_ID=1, limit="LCS", maximum_degree=5)
finder = jvc.FluxVacuaFinder.from_eft(eft)
vacua = finder.sample_SUSY_flux_vacua(N=100, mode="ISD")
print(len(vacua), "candidate vacua")
Check your environment at any time:
stringjax doctor # versions, JAX backend/devices, float64 status, Gurobi presence
stringjax versions # just the member-package versions
Documentation
The documentation hub lives at https://stringjax.readthedocs.io. Each member package has its own authoritative documentation; the hub orients newcomers and links into them.
Roadmap & long-term goals
StringJAX is released incrementally, and the umbrella is deliberately thin so that member packages can evolve at their own pace.
- Near term — stabilise the JAXVacua flux-vacuum engine and its public API, publish archival releases with DOIs, and grow the StringForge data layer.
- Medium term — broaden coverage of the low-energy effective theory (the Kähler sector and α′/string-loop corrections, axion physics, and uplift scenarios) as further member packages that plug into the same differentiable interfaces.
- Long term — a unified, differentiable environment in which large regions of the landscape can be sampled, optimised, and connected to phenomenology and machine-learning workflows, with strong interoperability and reproducibility guarantees across the ecosystem.
The about page sets out the motivation and strategy in more detail; the compatibility matrix tracks current version windows.
Citing
Please cite the specific package(s) you used rather than the umbrella; see
CITATION.cff and each member's citation file. BibTeX entries are
collected in the documentation.
Contributing
See CONTRIBUTING.md. Questions are welcome in GitHub Discussions.
Metadata
Release files for stringjax 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stringjax-0.1.1.tar.gz | 49.1 kB | With provenance | Details for stringjax-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stringjax-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for stringjax-0.1.1-py3-none-any.whl |
Total release size: 69.3 kB
Release files / stringjax-0.1.1.tar.gz
| Download URL | stringjax-0.1.1.tar.gz |
|---|---|
| Size | 49.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97a862dfc11217fc69eb65029756d741c40ad736bf7a77553ceb651311bc91f5
|
|
BLAKE2b-256 checksum How to use checksums |
5d1553685fe2eb8c44453e0003606da19a31aa501e0bd325ecafc3288ffb6583
|
| 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 Oct 28, 2026.
Transparency logRelease files / stringjax-0.1.1-py3-none-any.whl
| Download URL | stringjax-0.1.1-py3-none-any.whl |
|---|---|
| Size | 20.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d0c62d0d376ea5fda3f3c418627a2c1c844f2e963caaccee05e53ad6e5fcd1b5
|
|
BLAKE2b-256 checksum How to use checksums |
4f70bd22edf85ccc8a0df9bab6489f4110d0472ba6c8bdf382d6d4ad198adae4
|
| 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 Oct 28, 2026.
Transparency logSecurity for stringjax 0.1.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
Both files in this release have been uploaded with provenance metadata.
Attestation for stringjax-0.1.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 Oct 28, 2026.
Transparency logA 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.