A Python API for querying space-track.org
Project description
Master branch
Development branch
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file spacetracktool-0.1.0b5.tar.gz
.
File metadata
- Download URL: spacetracktool-0.1.0b5.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bf26feb4070d64ce64900b575a736f3f46b0a113b9370c602cacdbc3f96740a |
|
MD5 | 720cb5f15fe6d31d8716f848c9d4b128 |
|
BLAKE2b-256 | 96b95fcdd0b7cdb392ce6a2deafff5f4b350a2d864f4561f8d1be2d4dcaca25b |