Skip to main content

A Python API for querying space-track.org

Project description

Master branch

travis_m coveralls_m

Development branch

travis_d coveralls_d

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:

.. code-block:: python

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:

.. code-block:: python

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.0b6.tar.gz (11.7 kB view details)

Uploaded Source

File details

Details for the file spacetracktool-0.1.0b6.tar.gz.

File metadata

File hashes

Hashes for spacetracktool-0.1.0b6.tar.gz
Algorithm Hash digest
SHA256 62bbffe0d4bd364ab22ab57a547e73bf845818c86bb13c3bffa953186abfab89
MD5 346f4358cd20d4569e8a0357be10be9d
BLAKE2b-256 db1d80af54ecb5c9100c7d6546dd9d16bb42fad5e26fecc1186fec950f91f3b0

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