Skip to main content

Fetch satellite TLEs from various online sources

Project description

The python package satellitetle provides functions to fetch TLEs from various online sources (currently CelesTrak, CalPoly and AMSAT).

It was forked from the python package orbit.

Usage

Fetch TLEs for a single satellite from Celestrak:

from satellite_tle import fetch_tle_from_celestrak

norad_id_iss = 25544 # ISS (ZARYA)
print(fetch_tle_from_celestrak(norad_id_iss))

Fetch a large set of TLEs for a list of satllites from all available sources:

from satellite_tle import fetch_tles

norad_ids = [25544, # ISS (ZARYA)
             4298,  # QIKCOM-1
             40379] # GRIFEX

tles = fetch_tles(norad_ids)

for norad_id, (source, tle) in tles.items():
    print('{:5d} {:23s}: {:23s}'.format(norad_id, tle[0], source))

NOTE: fetch_tles downloads the TLE sets from all known sources (>40 urls), so it should only be used when fetching TLEs for a large set of satellites.

License

MIT

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

satellitetle-0.6.0.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

satellitetle-0.6.0-py3-none-any.whl (5.8 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