Skip to main content

Octavian logo

Octavian

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

This package includes:

  • Two-impulse rendezvous with bounded free final time.
  • Two-impulse rendezvous with bounded variable pre-coast and final elapsed mission time, including support for a zero pre-coast lower bound.
  • 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, Sun/Moon gravity, exponential cannonball drag, and cannonball SRP in inertial and exact relative dynamics.
  • Central-body selection, CWH relative motion, RIC transforms and plots, differential relative perturbations, and SPICE solar-phase geometry.
  • Finite-thrust and low-thrust phases with mass depletion and spiral seeding.
  • Finite-thrust directions expressed as free inertial/RIC vectors, prescribed inertial/RIC directions, or bounded 3-2-1 Euler kinematics.
  • Optional schema-versioned JSON and YAML mission configuration.
  • Lambert-Izzo seed sweeps across time of flight, longway, and multi-rev cases.
  • Frame-aware Plotly trajectory and time-series diagnostics with maneuver markers, RIC state/range/solar phase, and inertial state/elements.
  • STK .e, CCSDS OEM, SPICE BSP/SPK, and CSV trajectory exports with explicit epoch, frame, center, and object metadata.
  • A consolidated octavian.propagate namespace for two-body, CWH, exact RIC, coupled relative, relative-element, and CR3BP analysis histories.
  • Dimensional and canonical Earth–Moon/general CR3BP propagation, composable coast phases and impulsive links, direct periodic-state constraints, canonical/synodic conversions, Lagrange points, Jacobi diagnostics, and transfer/reference-orbit plotting.

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

Install

For daily development on Linux x86_64 (glibc 2.31 or newer), use a repository-local virtual environment. Source/editable installs compile the bundled spherical-harmonic backend. Install Git, Clang 17/18, and C++ development headers first; pip supplies CMake and Ninja automatically:

python3.12 -m venv .venv
source .venv/bin/activate
python -m pip install --upgrade pip
python -m pip install --no-user -e ".[dev]"
python -m octavian.diagnostics

After activation, use normal commands such as python examples/quick/01_two_impulse_free_time.py and pytest.

For local development and ASSET-backed workflows on Windows, use the recommended Conda environment. It installs ASSET and its native runtime inside one isolated prefix. Install Visual Studio 2022 C++ Build Tools and LLVM, and run the editable installation from an x64 Visual Studio developer terminal:

conda env create --file environment.yml
conda run --name octavian-dev python -m pip install --no-user -e ".[dev]"
conda run --name octavian-dev python -m octavian.diagnostics

See the hosted Development Environment guide for the platform support boundary, daily commands, dependency tiers, and the recommended environment pattern for other projects. Windows also supports a repository-local pip + venv setup:

py -3.12 -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
python -m pip install --no-user -e ".[dev]"
python -m octavian.diagnostics

Supported Linux/Windows Python 3.10–3.12 wheels include the compiled gravity backend; installing a wheel needs no compiler or separate native package. See Native build setup for source prerequisites, rebuilding C++ changes, and the explicit Python-only option.

For a standard installed package with the Plotly and Matplotlib backends:

pip install "octavian[viz]"

For solver and astrodynamics code without visualization, pip install octavian is the smaller dependency set. Add YAML support only when needed:

pip install "octavian[yaml]"

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/earth_centered/08_chemical_burn_j2.py
python examples/composable/earth_centered/12_thrust_frames_and_attitude.py
python examples/composable/earth_centered/13_cannonball_drag_srp.py
python examples/quick/08_propagation_models.py
python examples/composable/relative/27_cannonball_drag_srp.py
python examples/composable/cislunar/30_canonical_periodic_orbit.py
python examples/composable/cislunar/31_periodic_orbit_transfer.py
python examples/composable/cislunar/32_high_fidelity_recapture.py
python examples/composable/cislunar/33_jacobi_targeted_periodic_orbit.py
python examples/outputs/01_ephemeris_files.py
python examples/outputs/02_matplotlib_plots.py
python -m octavian.config examples/config/01_two_impulse_transfer.json

Examples read sequentially from configuration to results, with short helper functions inlined so each step can be edited in place.

The examples also save Matplotlib PNGs beside their interactive HTML plots. Import save_trajectory_image (or its relative/CR3BP counterpart) from octavian.viz.matplotlib and pass the trajectory, just like the HTML helpers. Equatorial transfers and planar Lyapunov orbits use equal-scale 2D XY views; inclined transfers and relative safety ellipses use 3D views. For examples, output filenames, and figure customization, see the static plotting guide. Quick examples 01–04 and composable Earth-centered examples 01, 02, 03, 05, 06, 08, and 11 overlay reference orbits propagated from their boundary states. Use propagate.inertial(...) for Cartesian propagation with optional J2, third-body gravity, drag, and SRP. Other examples overlay comparison transfers. Use the same reference_trajectories list with either backend; see the reference-trajectory guide. Install octavian[viz] first; set MPLBACKEND=Agg when running without a display.

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 hosted example capability index for a task-oriented map of every executable example and mission pattern.

Run every executable example with real solvers and isolated output directories:

python -m pytest tests/test_executable_examples.py -q

This check is included in the normal test suite and CI.

Documentation

The docs are built with MkDocs and publish through GitHub Pages. Browse the public documentation at ghevia.github.io/octavian.

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

conda run --name octavian-dev python -m pip install --no-user -e ".[dev]"
conda run --name octavian-dev pre-commit install
conda run --name octavian-dev python -m build
conda run --name octavian-dev python -m 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.

For published Earth spherical harmonics, SphericalHarmonics.earth() loads NGA EGM2008 through 200×200 offline, using the default compiled backend. See Earth gravity and independent Actium/Orekit validation.

Metadata

Release files for octavian 0.4.25

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for octavian 0.4.25
File Size Uploaded Provenance Actions
octavian-0.4.25.tar.gz 7.4 MB With provenance Details for octavian-0.4.25.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for octavian 0.4.25
File Actions
octavian-0.4.25-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details for octavian-0.4.25-cp312-cp312-win_amd64.whl
octavian-0.4.25-cp312-cp312-manylinux_2_34_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.34+ x86-64 Details for octavian-0.4.25-cp312-cp312-manylinux_2_34_x86_64.whl
octavian-0.4.25-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details for octavian-0.4.25-cp311-cp311-win_amd64.whl
octavian-0.4.25-cp311-cp311-manylinux_2_34_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.34+ x86-64 Details for octavian-0.4.25-cp311-cp311-manylinux_2_34_x86_64.whl
octavian-0.4.25-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details for octavian-0.4.25-cp310-cp310-win_amd64.whl
octavian-0.4.25-cp310-cp310-manylinux_2_34_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.34+ x86-64 Details for octavian-0.4.25-cp310-cp310-manylinux_2_34_x86_64.whl

Total release size: 53.2 MB

Release files / octavian-0.4.25.tar.gz

Download URL octavian-0.4.25.tar.gz
Size 7.4 MB
Tags Source
SHA-256 checksum
How to use checksums
8bb3d1aa77dfd21e26ad301f34dd9289a76435e491b8e3aefb271673600968a9
BLAKE2b-256 checksum
How to use checksums
e6fd55337da7d93db17e8b22dcddf9ac0c76c6abe23ce95c5b8829977242bde6
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 Dec 2, 2026.

Transparency log

Release files / octavian-0.4.25-cp312-cp312-win_amd64.whl

Download URL octavian-0.4.25-cp312-cp312-win_amd64.whl
Size 7.6 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
7ca93142baa21f32134c603fcba10d43135a557929a32a9d780d69886ded931b
BLAKE2b-256 checksum
How to use checksums
90461f99fe66ae20d35bd6a9813e96f48259afeadd199dbc4bd9855406da9a9a
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 Dec 2, 2026.

Transparency log

Release files / octavian-0.4.25-cp312-cp312-manylinux_2_34_x86_64.whl

Download URL octavian-0.4.25-cp312-cp312-manylinux_2_34_x86_64.whl
Size 7.6 MB
Tags CPython 3.12 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
0e827021609048ec79304164e6f89dd8b547d91819723565c215d8c1af3c2452
BLAKE2b-256 checksum
How to use checksums
ff208915290926f56c719d81a5a04ccdecbfb4d54305e1e3ec82cba4477c4f1f
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 Dec 2, 2026.

Transparency log

Release files / octavian-0.4.25-cp311-cp311-win_amd64.whl

Download URL octavian-0.4.25-cp311-cp311-win_amd64.whl
Size 7.6 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
d9b1d20fb161267ad4ee440a841b585defad94f4d0688c99eb9b5dbdbb23973e
BLAKE2b-256 checksum
How to use checksums
5c6512e648af05cdd15decdee004af0bba23df5c93f51346a0172a590b1b258f
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 Dec 2, 2026.

Transparency log

Release files / octavian-0.4.25-cp311-cp311-manylinux_2_34_x86_64.whl

Download URL octavian-0.4.25-cp311-cp311-manylinux_2_34_x86_64.whl
Size 7.6 MB
Tags CPython 3.11 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
29367c1039c04e31d955ce5c2284f0cb67e219072f44c0fb5da3c2720313d08e
BLAKE2b-256 checksum
How to use checksums
db1c15073ed876ecc69795aba236031b2edf8ed10c29aee3cdb36de07c0f0684
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 Dec 2, 2026.

Transparency log

Release files / octavian-0.4.25-cp310-cp310-win_amd64.whl

Download URL octavian-0.4.25-cp310-cp310-win_amd64.whl
Size 7.6 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
903b49d1ba14bdc9bd3743c2671bd8f731101b27ec0351f0ad45db2abd2f8deb
BLAKE2b-256 checksum
How to use checksums
f37dbfd8606b87f32666f53bcb9ee8b64742e87cc2789f80968ef79de9862791
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 Dec 2, 2026.

Transparency log

Release files / octavian-0.4.25-cp310-cp310-manylinux_2_34_x86_64.whl

Download URL octavian-0.4.25-cp310-cp310-manylinux_2_34_x86_64.whl
Size 7.6 MB
Tags CPython 3.10 Linux glibc 2.34+ x86-64
SHA-256 checksum
How to use checksums
6a2fe1e9743684f11bdd115c043579d967200b3e15a5512507e421f418659ff9
BLAKE2b-256 checksum
How to use checksums
fa5748b68505dd4c5caa9342a22a5cd8d679ec2a2ad0cd654b11fae9b66a8681
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 Dec 2, 2026.

Transparency log

Security for octavian 0.4.25

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 7 files in this release have been uploaded with provenance metadata.

Select from 7 files

Attestation for octavian-0.4.25.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 Dec 2, 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.4.25 This release

7 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