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.

Another usage example is given in example_fetchall.py.

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.5.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

satellitetle-0.5.0-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file satellitetle-0.5.0.tar.gz.

File metadata

  • Download URL: satellitetle-0.5.0.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for satellitetle-0.5.0.tar.gz
Algorithm Hash digest
SHA256 a1868499da4fc2cdf998a855facddacc732c04f4a1f3ce30b2cd0abc3ac4e1eb
MD5 0c4ff597f6b1c5abb4dbb5c9c9af337f
BLAKE2b-256 acb1162286cc59fc879e4f8fff51bcee51091c5adb0a376bf8f561f01d45265e

See more details on using hashes here.

File details

Details for the file satellitetle-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: satellitetle-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for satellitetle-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 adb92c0377ee0300f2a2205b9895041accce4878a536545877cf995f5aee9e08
MD5 570b352645ac284d2a8224343becd9b3
BLAKE2b-256 945a5b71c1f2beb0271c1d441d1b590cf6f42d63f309ca27f40fb7749924b846

See more details on using hashes here.

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