This release is a pre-release and may not be stable for production use.
TLE Tailor
Turn a predicted deployment orbit or supplied ephemeris into a Two-Line Element set (TLE) for SGP4 tracking software.
For a launch-provider orbit, TLE Tailor uses the bundled gmatpy numerical propagator to generate a reference trajectory, then fits an SGP4 model to it. You do not need to build or install GMAT separately.
Get your first TLE
On Linux x86_64 or an Apple Silicon Mac, use standard CPython 3.12–3.15. For example, with Python 3.14, create an isolated environment and install the explicitly pinned 0.1.0rc2 prerelease:
python3.14 -m venv .venv
. .venv/bin/activate
python -m pip install --only-binary=gmatpy tle-tailor==0.1.0rc2
tle-tailor example --output deployment.tle
This offline demonstration uses editable osculating Keplerian elements, a declared UTC epoch and EarthMJ2000Eq frame. It fits a 12,000-second arc, prints position/velocity fit errors, and saves two TLE lines. Existing output files are never overwritten. The demo values are synthetic; use the short quickstart to substitute your provider's inputs.
This is a release candidate. Linux x86_64 and macOS 15/Apple Silicon passed the full Python 3.12–3.15 qualification matrix. Windows has a narrower Python 3.14 integration check; see installation and platform support for that scope, the matching tagged source, notebooks and GitHub wheel. JAX remains included. Intel Macs are not supported by the current dependency stack.
Use your own inputs
- Deployment prediction: check the provider's epoch/time scale, reference frame, units and element/anomaly conventions. See deployment inputs. Osculating elements are not TLE mean elements.
- Already have ephemerides? Fit them directly, without unnecessary propagation.
- Prefer notebooks? Examples separates Python implementations in
examples/scriptsfrom notebook companions inexamples/notebooks, insidetle_tailor/. - Optional online comparison: Space-Track uses a hidden password prompt and does not save credentials by default.
A prelaunch TLE describes your supplied prediction and model assumptions. Fit residuals are not a guarantee of the actual or future orbit. Choose an appropriate interval, coordinate placeholder identifiers with your tracking partner, and update the TLE when measured orbit data become available. See fit errors and limitations.
Worked guides: deployment prediction, GPS ephemeris, and optional NovAtel EDIE logs.
More detail
Theory · Measured validation results · Fitting performance · Propagation API and frames · Advanced external GMAT · Changes
The methods build on David Vallado and Paul Crawford's SGP4 Orbit Determination. Project and upstream notices are in LICENSE and NOTICE.
Metadata
Release files for tle-tailor 0.1.0rc2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tle_tailor-0.1.0rc2.tar.gz | 482.1 kB | Without provenance | Details for tle_tailor-0.1.0rc2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tle_tailor-0.1.0rc2-py3-none-any.whl | Python 3 | none | any | Details for tle_tailor-0.1.0rc2-py3-none-any.whl |
Total release size: 727.2 kB
Release files / tle_tailor-0.1.0rc2.tar.gz
| Download URL | tle_tailor-0.1.0rc2.tar.gz |
|---|---|
| Size | 482.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
780be4fc5e8b018a65ea85b03fb5a317fe6e57782e8c6b75a2d2ab212949797e
|
|
BLAKE2b-256 checksum How to use checksums |
3ec6c8f6cf1aed3f856edf28f254da936c5e44dd2237a4469731986e7d39f679
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / tle_tailor-0.1.0rc2-py3-none-any.whl
| Download URL | tle_tailor-0.1.0rc2-py3-none-any.whl |
|---|---|
| Size | 245.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c5e9878e37c1f8ace7a44759642e98d6c97edeb813d6a0dafea3f57cf6dec701
|
|
BLAKE2b-256 checksum How to use checksums |
6ad19871f867f725e4c0d52e771b36504426429452091d26e6ebc74f584504bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for tle-tailor 0.1.0rc2
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.