Skip to content

KepLime

KepLime is a Rust-accelerated astrodynamics library developed by Citra Space Corporation. It provides high-precision orbit propagation, frame transforms, orbit determination, and related utilities with Python bindings.

Installation

pip install keplime

Or build from source using maturin:

pip install maturin
maturin develop --features python

Quick Start

from keplime.time import ModifiedJulianDate
from keplime.enums import TimeSystem

epoch = ModifiedJulianDate.from_iso("2025-01-01T00:00:00Z")
tt_epoch = epoch.to_system(TimeSystem.TT)
print(tt_epoch.to_iso())

Package Layout

Module Description
time High-precision epoch and duration types
enums Shared enumeration types
elements Orbital element representations
bodies Celestial body models and satellite definitions
frames Reference frame transforms
propagation SGP4, XP, and numerical propagators
estimation Orbit determination, initial orbit determination, and Kalman filters
events Access windows, close approaches, and maneuvers
catalogs TLE catalog management
schemas JSON schema types for CITRA payloads