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 details)

Uploaded Source

Built Distribution

satellitetle-0.6.0-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: satellitetle-0.6.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for satellitetle-0.6.0.tar.gz
Algorithm Hash digest
SHA256 72cde38e8530f50f806fa9edce8cadb881ac248ae28e6fd49420e7c8758fdc68
MD5 8a693c457d5e0cb788970dbc7c5435ab
BLAKE2b-256 09461b05daff6af65e5e1fd196d2a36a9df5265de13bc37d1a1cd2ba8dd4cfb6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: satellitetle-0.6.0-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.19.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for satellitetle-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15a3a1a28db0b0c27327fbe3df8e0523b474239b37a147350a9b4359251f1d1f
MD5 040b60e5992fcd913b6fdf1e8c8d8ed8
BLAKE2b-256 a2cccca41ee5d3581ccb42a9d960526c0662d7d8015096f83f6e0eb15b7f6c47

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