Skip to main content

Trajectory optimization and astrodynamics in Python using ASSET, with mission-script APIs.

Project description

Octavian logo

Octavian

Octavian is a Python-first astrodynamics / trajectory-optimization toolkit built on ASSET (asset_asrl).

This MVP includes:

  • Two-impulse rendezvous with bounded free final time.
  • Two-impulse rendezvous with bounded variable pre-coast.
  • Composable coast phases with continuous or impulsive links.
  • Terminal state, terminal delta-v, path, and orbital-element constraints.
  • Finite chemical-burn phases with mass depletion and three thrust-direction controls.
  • J2 perturbation support in the composable ASSET backend.
  • Central-body selection, CWH relative motion, and relative safety geometry.
  • Finite-thrust and low-thrust phases with mass depletion and spiral seeding.
  • Optional schema-versioned JSON and YAML mission configuration.
  • Lambert-Izzo seed sweeps across time of flight, longway, and multi-rev cases.
  • Plotly HTML visualization with maneuver markers.

octavian declares ASSET (asset_asrl) as a runtime dependency because the solver-backed workflows rely on it.

Install

pip install octavian

For an isolated install:

python -m venv .venv
.venv\Scripts\activate
python -m pip install --upgrade pip
python -m pip install octavian

Before running solver-backed examples, verify ASSET imports in the active environment:

python -c "import asset_asrl; print(asset_asrl.__file__)"

Examples

python examples/quick/01_two_impulse_free_time.py
python examples/quick/02_two_impulse_precoast_impulsive_link.py
python examples/composable/08_chemical_burn_j2.py
python -m octavian.config examples/config/01_two_impulse_transfer.json

JSON works without another dependency. Install octavian[yaml] to load YAML mission files. Both formats construct the same Python mission objects and use the same solvers as ordinary mission scripts.

See the MkDocs site for tutorial-style walkthroughs of every example and mission pattern.

Documentation

The docs are built with MkDocs and publish through GitHub Pages.

pip install -e ".[dev]"
python -m mkdocs serve
python -m mkdocs build

When GitHub Pages is enabled for the repository with Source: GitHub Actions, the docs workflow publishes the site from pushes to dev.

Development

pip install -e ".[dev]"
pre-commit install
python -m build
pytest

Studies

Use octavian.study.grid to run parameter sweeps and optionally save results to disk.

Releasing

Release versions are published from Git tags such as v0.1.5 by GitHub Actions. Maintainer steps are documented in RELEASING.md.

Project details


Download files

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

Source Distribution

octavian-0.3.0.tar.gz (6.7 MB view details)

Uploaded Source

Built Distribution

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

octavian-0.3.0-py3-none-any.whl (6.7 MB view details)

Uploaded Python 3

File details

Details for the file octavian-0.3.0.tar.gz.

File metadata

  • Download URL: octavian-0.3.0.tar.gz
  • Upload date:
  • Size: 6.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for octavian-0.3.0.tar.gz
Algorithm Hash digest
SHA256 7afa8465a5fed0a9413e97a2dc17df9fc68d6cb52d663551ca0e89616367c808
MD5 f770f0c0c0409457b52e998d082f0622
BLAKE2b-256 81c4e16d242e005dd9de74d442d73c609e2f31791112fb9426f3c2d0a7ead41a

See more details on using hashes here.

Provenance

The following attestation bundles were made for octavian-0.3.0.tar.gz:

Publisher: publish.yml on GHevia/octavian

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

File details

Details for the file octavian-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: octavian-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for octavian-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0deda161562022b5bd99cf52ec2051a7bd355891502f4ac19bf061f31f5bbe20
MD5 60a6ba2cdff12b1ff62ee997872219cd
BLAKE2b-256 725541b2afcff7ff5673dda378335b959633a6d23993c9625a5f1272496cb1e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for octavian-0.3.0-py3-none-any.whl:

Publisher: publish.yml on GHevia/octavian

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page