lunaspace¶
The Python client of Luna Space’s orbit determination service.
Luna Space determines your satellite’s orbit from the navigation fixes of its GNSS receiver and predicts it ahead, with an honest uncertainty, as a CCSDS ephemeris. Around that orbit it makes what operations need: automatic runs every day, ground station passes and pointing, eclipses and node crossings, two-line elements, a state for a hand-over, the orbit reconstructed over weeks, and the burns that bring the orbit back to where you want it.
lunaspace is the service’s public API without the plumbing: your key, the errors, the
jobs waited for, the uploads and the downloads, as a few Python objects.
from lunaspace import Client
client = Client() # your key from LUNA_API_KEY
satellite = client.assets.get("MYSAT-1")
client.tracking.upload(satellite, "fixes_2026-11-15.csv")
run = client.runs.request(
satellite, arc_start="2026-11-15T00:00:00Z", arc_end="2026-11-16T00:00:00Z"
).wait()
print(run.status, run.accepted, run.weighted_rms)
run.download("oem", "mysat-1.oem")
New here? Start with the Installation and the Quickstart: from a key to a predicted ephemeris in five steps. The User guide then takes each part of the service in turn, and the API reference lists every class and method.
You need an API key for your organisation: write to info@lunaspace.eu. The same key signs you in to the dashboard at app.lunaspace.eu, which shows your runs as charts. The HTTP API itself, for other languages, is described at api.lunaspace.eu/docs.