Skip to main content

A Python API for querying

Project description

Master branch

travis_m coveralls_m

Development branch

travis_d coveralls_d

A Python API for making queries to To install:

pip install spacetracktool

To use, first get a username and password for, 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 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.

Filename, size & hash SHA256 hash help File type Python version Upload date
spacetracktool-0.1.0.tar.gz (15.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page