Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Native astrodynamics in Rust

Release 0.1.5 added a trajectory gym and matched PyKEP benchmarks. Release 0.1.6 adds Sims–Flanagan multiple shooting for sparse SQP solvers.

pykep-rust is an independent native Rust port of the numerical C++ library in pykep version 3 (kep3). The reusable pykep-core crate contains the astrodynamics implementation without a C or C++ runtime dependency. The optional pykep-rust Python distribution exposes the same implementation through PyO3.

New to orbital mechanics? Start with Astrodynamics for programmers, which builds from gravity and orbits to gravity assists, low thrust and trajectory optimization with fcmaes, AI agents and multi-machine campaigns.

This book connects the narrative material for both interfaces:

  • examples and quick starts provide runnable Rust and Python entry points;
  • numerical conventions define units, epochs, frames, array layouts, tolerances, and error behavior;
  • the dynamics, ephemeris, propagation, and low-thrust guides explain algorithm-specific contracts;
  • validation records current parity and independent checks; the stabilization evidence preserves the historical pre-0.1.0 coverage, performance, and release-candidate snapshot.

Exact Rust types, methods, and compiled examples are in the generated pykep-core API reference. Python users should start with the Python API contract and migration matrix.

This project is not an official ESA release. Its pinned upstream source and MPL-2.0 adaptation policy are recorded in the GitHub repository.