Skip to main content

A Python API for querying space-track.org

Project description

Master branch

Travis CI - Build Status Coveralls - Test Coverage PyPI - Python Version PyPI

Develop branch

Travis CI - Build Status Coveralls - Test Coverage

A Python API for making queries to space-track.org. To install:

pip install spacetracktool

To use, first get a username and password for space-track.org, then create a query of the desired class. For example, to create a TLE query:

import spacetracktool as st
query = st.SpaceTrackClient('username', 'password')
result = query.tle_query(norad_cat_id=12345)  # look for a specific satellite ID

To create a slightly more complicated query, using ranges for some arguments:

import spacetracktool as st
from spacetracktool import operations as ops
query = st.SpaceTrackClient('username', 'password')
date_range = ops.make_range_string('2018-01-01', '2018-01-31')
result = query.tle_query(epoch=date_range)  # generates and submits query

The official documents for the space-track.org API can be found here.

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

spacetracktool-0.1.2.tar.gz (12.3 kB view details)

Uploaded Source

File details

Details for the file spacetracktool-0.1.2.tar.gz.

File metadata

  • Download URL: spacetracktool-0.1.2.tar.gz
  • Upload date:
  • Size: 12.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for spacetracktool-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f3b6b41a89e944ddaa05d456d19d38249ed6cb703e4ebaf1e7221b5c40302fba
MD5 67c40773dd957538b2699581bdc45c98
BLAKE2b-256 5114aff530fbc012f345597a15081ae2b3e29d06508985f93a53f8f691e49458

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