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:
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.
Issue Tracker: https://github.com/Engineero/spacetracktool/issues
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
spacetracktool-0.1.0b8.tar.gz
(15.2 kB
view details)
File details
Details for the file spacetracktool-0.1.0b8.tar.gz
.
File metadata
- Download URL: spacetracktool-0.1.0b8.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45bb0aa688f84505243e24038d63b24bf4a60f92e86e12110f8f9c70d01e7bdc |
|
MD5 | d964e5c38e6a912945f9860b7b6d562d |
|
BLAKE2b-256 | d43354662d29e0e75a3af9f1669eecb3e15bd778f739949ccf1c6b72abaf38bd |