← All packages

Orbits & astrodynamics

star-lambert 0.1.3

Universal-variable Lambert orbital boundary value problem solver

Public state: Beta. The registry label is VERIFIED. What the states mean →

Apache-2.0 Beta single file

Summary

Zero-revolution solver for Lambert's problem (universal variables, Stumpff functions, Newton on z; Bate-Mueller-White / Curtis Algorithm 5.2). Standard library only.

Run in your browser

Edit the code and press Run (or Ctrl+Enter). Python runs in your browser with this package's published code. The first run downloads Python once (about 12 MB).

Runs in the browser: all 118 tests pass in the browser's Python (Pyodide 314.0.7, Python 3.14.2), measured on 20 October 2026.

Use it on your computer

No account and no GitHub needed. Download, then install with one command:

python -m pip install star_lambert-0.1.3-py3-none-any.whl

In Python: import star_lambert

Get started →

Cite it, and its bill of materials

For a paper, a report or a supplier file: the citation in two formats, and the software bill of materials (SBOM) in the two standard formats, with the fingerprint of the wheel.

@software{cavazzini_star_lambert_0_1_3,
  author  = {Cavazzini, Andrea},
  title   = {{star-lambert}: Universal-variable Lambert orbital boundary value problem solver},
  version = {0.1.3},
  year    = {2026},
  url     = {https://andrea07072000.github.io/S.T.A.R.-/software/star_lambert/},
  note    = {Apache-2.0. Source: https://github.com/Andrea07072000/S.T.A.R.-, commit dc09f61d}
}

For developers

Install directly from the public repository:

python -m pip install "star-lambert @ git+https://github.com/Andrea07072000/S.T.A.R.-.git@dc09f61dcee098d518f070d6a23a8815defc1109#subdirectory=packages/star_lambert"

README · tests · evidence (GitHub)

Technical sheet

Package
star-lambert
Import name
star_lambert
Version
0.1.3
Licence
Apache-2.0
Python
>=3.9
Dependencies
none (standard library only)
Capability
star.orbit.lambert
Maturity
Beta (VERIFIED)
Published commit
dc09f61d

Requirements

  • R1 lambert(r1, r2, tof, mu=398600.4418, prograde=True) -> (v1, v2): velocities at r1 and r2 for a transfer of duration tof. Units: km, s, km/s, km^3/s^2.
  • R2 Never return an unconverged result: RuntimeError instead.
  • R3 Invalid input fails explicitly: ValueError for tof <= 0, zero position vectors, degenerate geometry (0 or 180 deg).

Limits (what is not claimed)

Multi-revolution transfers; transfer angles within 1e-8 rad of 0 or 180 deg (refused: the transfer plane is not defined); any statement of flight qualification.

Release gate

Computed by the registry from the result files, with the same function that decides RELEASED.

Mutation score, latest measure of each module (needs at least 0.850)
  • star_lambert.py 0.924 (2026-10-07)
Independent implementations written by others (needs 2)
Izzo 2015 (hapsira)
Also compared with, not counted
S.T.A.R.'s own re-derivations: universal variables (BMW/Curtis)
Result
Beta

Missing: another independent implementation written by others (now 1 of 2)

Evidence in the registry

CheckStatusRecordedWhat was observed
Clean install from the release tagVERIFIED2026-10-07pytest outside the tree: 118 passed in 0.80s
Clean install from the release tagVERIFIED2026-10-05pytest outside the tree: 67 passed in 0.56s
Clean install from the release tagVERIFIED2026-10-04pytest outside the tree: 22 passed in 0.43s
Mutation testingVERIFIED2026-10-04177/213 = 0.8318
Mutation testingVERIFIED2026-10-04100/214 = 0.4673 -> 164/214 = 0.7664 after survivor-driven tests
ReviewVERIFIED2026-10-03Re-execution of bench.xc-006 reproduces the committed evidence bundles
Cross-check with independent librariesVERIFIED2026-10-03universal variables vs Izzo agree to 1.3e-14 km/s
BenchmarkVERIFIED2026-10-0321/21 AGREE
Unit testsVERIFIED2026-10-033/3
ReviewVERIFIED2026-10-03No runtime dependencies; imports only math and typing; no IO, network, subprocess or eval
ReviewVERIFIED2026-10-03Requirements R1-R3, single documented public function, explicit units, standard GM default
ReviewVERIFIED2026-10-03Invalid input and non-convergence fail explicitly
Unit testsFAILED2026-10-03returns None, 0/3
Reference valueVERIFIED2026-10-03[-5.9925, 1.9254, 3.2456]
Clean install from the release tagVERIFIED2026-10-03v1, v2 = ((-5.992495, 1.925366, 3.245638), (-3.312458, -4.196619, -0.385289)), 3/3 tests pass

Fingerprints (SHA-256)

star_lambert-0.1.3-py3-none-any.whl63f57331a607fc0f006e8b36d3e32c4aa7d74f29bb3396a25c2268f079ce81ef
star_lambert.py4ba3d54d17e13b3267d6b010e064ef286298fa181ba23af5111c3531b93fac76
star_lambert-0.1.3-source.zip0fc53dbbbc9dc8a7ada932e8db1096a0b45416746c4813da1db57e56f02c6b62

results