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

Uploaded Source

Built Distribution

satellitetle-0.8.1-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: satellitetle-0.8.1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.0

File hashes

Hashes for satellitetle-0.8.1.tar.gz
Algorithm Hash digest
SHA256 1bd6ba2603edfc1149812f4c5d793db058e6e4334575f133a9fb7e1cc597c70a
MD5 b25cfae07ee9a7ce99c24f41205229a6
BLAKE2b-256 71410e6374cbb0148da56d282fd3b115debb54095de2b1e4d73ea819c5147264

See more details on using hashes here.

File details

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

File metadata

  • Download URL: satellitetle-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.8.0

File hashes

Hashes for satellitetle-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f1f1ae173391b5070a2d623f5a968b162dcf12c2bb095ecdaec69d64cb95db4b
MD5 84b4ca6f1af79629a4cbdc8d9202f779
BLAKE2b-256 5fec822f3402c0b85f552414a279b5bc144d78c7e49b19b1531f13cf110ae6c8

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