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
With uv installed, download and unpack the v0.1.0rc1 source archive from the GitHub prerelease, open that project folder and run:
uv run 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.
The supported prerelease target is standard CPython 3.14 on Linux x86_64, with a compatible gmatpy wheel. This is a release candidate; see installation and platform support for the GitHub wheel and source options. TLE Tailor 0.1.0rc1 is distributed through GitHub, not PyPI.
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.0rc1
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.0rc1.tar.gz | 394.5 kB | Without provenance | Details for tle_tailor-0.1.0rc1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tle_tailor-0.1.0rc1-py3-none-any.whl | Python 3 | none | any | Details for tle_tailor-0.1.0rc1-py3-none-any.whl |
Total release size: 639.4 kB
Release files / tle_tailor-0.1.0rc1.tar.gz
| Download URL | tle_tailor-0.1.0rc1.tar.gz |
|---|---|
| Size | 394.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
46800c568c68b17a73054bd659b42f5e0dcef3e0224093d1fa40a4784fa6ba82
|
|
BLAKE2b-256 checksum How to use checksums |
bed85c4676e2a9f6a1723c2c95d2445fdb406c451b50796c3c006af24abf975b
|
| 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.0rc1-py3-none-any.whl
| Download URL | tle_tailor-0.1.0rc1-py3-none-any.whl |
|---|---|
| Size | 245.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
36787517f1114e236cc0b6ee3b0a6f4d79b9ec72314a27611d903b7e6de8cd9d
|
|
BLAKE2b-256 checksum How to use checksums |
ae3dd8c46584d1b5f3293d552dc912a23491f1e535244aeab73c398b5b62ddcc
|
| 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.0rc1
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.