Skip to main content

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


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)

Uploaded Source

Built Distribution

tle_download-0.1.0-py3-none-any.whl (4.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page