A small utility to download TLEs from Space Track.
Project description
TLE Download
A small utility to download TLEs from Space Track.
Installation
pipx install tle-download
# or
pip install tle-download
Command Line Usage
export SPACE_TRACK_USERNAME=user@example.com
export SPACE_TRACK_PASSWORD=your-password
# Search by Catalog ID:
tledl catid 40075 36797
# Search by TLE line 0 text
tledl line0 AISSAT LEMUR
All Command Line Options
Usage: tledl [OPTIONS] SEARCH_TYPE:{line0|catid} SEARCHES...
Arguments:
SEARCH_TYPE:{line0|catid} [required]
SEARCHES... [required]
Options:
--username TEXT [env var: SPACE_TRACK_USERNAME]
--password TEXT [env var: SPACE_TRACK_PASSWORD]
--outpath FILE [default: tles.txt]
--sleep INTEGER sleep between requests so you don't break API limits
[default: 3]
--install-completion Install completion for the current shell.
--show-completion Show completion for the current shell, to copy it or
customize the installation.
--help Show this message and exit.
Python Usage
from tle_download import get_tles
tles = get_tles(username, password, 'line0', ['AISSAT', 'LEMUR'])
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tle-download-0.1.0.tar.gz
(3.3 kB
view hashes)
Built Distribution
Close
Hashes for tle_download-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bb8245fe9c2b3b97f850265fbc4375fbc0263395c25c0af9d7967805b176799 |
|
MD5 | 989a8d2628fe544335c82c9704906a8f |
|
BLAKE2b-256 | 6d858c1e81aea2657bf5c5d478076ecfd133134838e03922e1c0f80cf6c94d19 |