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

Uploaded Source

Built Distribution

satellitetle-0.3.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: satellitetle-0.3.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for satellitetle-0.3.0.tar.gz
Algorithm Hash digest
SHA256 335621ac310655f29e776e2dc4c5e52301fa0301eb5cdc2520bb1b9e1dae5f0f
MD5 3d4edbf435b3e36e87da5770ce4d523b
BLAKE2b-256 4dbf5bbebfafaad39250db7ddd28b814b26f08d95cb3a5cfc1cd5ca5137ea7be

See more details on using hashes here.

File details

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

File metadata

  • Download URL: satellitetle-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 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.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0

File hashes

Hashes for satellitetle-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f55a66868f3f45046e0ca4de4802a15f9e9c5e890eca2963eea802c6a7f626c9
MD5 9c34e2f4206eea44646a972bec23aa42
BLAKE2b-256 24129ee50642a91ea720223ef8e56cc64a6d72fcd41efe790642c18430a09257

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