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 details)
Built Distribution
File details
Details for the file tle-download-0.1.0.tar.gz
.
File metadata
- Download URL: tle-download-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e294285285e78a8db4670e3c3895db36b3f9456ad404a161ecceda5a784e5e62 |
|
MD5 | 5abe680a93181f9f11d94d50d704b845 |
|
BLAKE2b-256 | 3a35f1cdf7fe92fb5e55fbb83ac0a1c3c84ad3224a456027001fbb1715667b71 |
File details
Details for the file tle_download-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: tle_download-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bb8245fe9c2b3b97f850265fbc4375fbc0263395c25c0af9d7967805b176799 |
|
MD5 | 989a8d2628fe544335c82c9704906a8f |
|
BLAKE2b-256 | 6d858c1e81aea2657bf5c5d478076ecfd133134838e03922e1c0f80cf6c94d19 |