Skip to main content

Astrojax

Astrojax - Accelerated astrodynamics in JAX

PyPI Documentation Coverage Status


Astrodynamics written in JAX for massively parallel simulation.

The goal of this project is to provide a high-performance astrodynamics library that can be used for research and education. The library is built on top of JAX, which allows for automatic differentiation and GPU/TPU acceleration. The goal is to provide a proof-of-concept implementation of common astrodynamics algorithms that can be used as a starting point for further development. It is not intended to be a full-featured, high-accuracy astrodynamics library (at least not yet).

Install

pip install astrojax
# or
uv add astrojax

If you have a GPU and want to take advantage of JAX's acceleration can then install the package with the appropriate JAX extras:

pip install astrojax[cuda13]
# or
uv add astrojax[cuda13]

Astrojax supports CUDA 12 and CUDA 13.

Quickstart

This project uses just as a command runner and uv for Python package management.

# Install just (macOS)
brew install just

# Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh

# Clone and install everything (dev deps + extras)
just install

Development

Every recipe has an equivalent raw command you can run directly.

Task just recipe Raw command
Install dev deps + extras just install uv sync --dev --extra extras
Run tests just test uv run pytest tests/ -v
Test with coverage just test-cov uv run pytest --cov=astrojax --cov-report=term-missing
Format code just fmt uv run ruff format
Lint (auto-fix) just lint uv run ruff check --fix
Type check just typecheck uvx ty check
All quality checks just check Runs fmt + lint + typecheck
Build docs just docs-build uv run zensical build --clean
Serve docs just docs-serve uv run zensical serve --clean

License

The code in this repository is licensed under the MIT License. See LICENSE for details.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

astrojax-0.8.0.tar.gz (4.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

astrojax-0.8.0-py3-none-any.whl (4.9 MB view details)

Uploaded Python 3

File details

Details for the file astrojax-0.8.0.tar.gz.

File metadata

  • Download URL: astrojax-0.8.0.tar.gz
  • Upload date:
  • Size: 4.8 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for astrojax-0.8.0.tar.gz
Algorithm Hash digest
SHA256 4ac05283df00e519be16e67f10079abd83db5e6491ac767055b932a15b4577e1
MD5 4fce146124f2a72dfe1379c405c5813c
BLAKE2b-256 d3960863a1ed27e2269b87dd3df813a2193069d7c2340f7492260dc717a3ecc1

See more details on using hashes here.

Provenance

The following attestation bundles were made for astrojax-0.8.0.tar.gz:

Publisher: release.yml on duncaneddy/astrojax

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file astrojax-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: astrojax-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for astrojax-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e984625ed32e70b3d364b5b2b8d23ea7f3faef7584278d5f507299ed890c1f03
MD5 36304fc2945aad524a97318535791ba8
BLAKE2b-256 706885d4b2f1bbad1021d2012b670b5ffe8d87c981c6ce322b2c807cc8884496

See more details on using hashes here.

Provenance

The following attestation bundles were made for astrojax-0.8.0-py3-none-any.whl:

Publisher: release.yml on duncaneddy/astrojax

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 files

0.7.3

2 files

0.7.2

2 files

0.7.1

2 files

0.7.0

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.0

2 files

0.1.0

2 files

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