A Python API for querying space-track.org
Project description
SpaceTrackTool
==============
.. highlight:: python
Master branch
------------------
|travis| |coveralls|
.. |travis| image:: https://travis-ci.org/Engineero/spacetracktool.svg?branch=master
:target: https://travis-ci.org/Engineero/spacetracktool
.. |coveralls| image:: https://coveralls.io/repos/github/Engineero/spacetracktool/badge.svg?branch=master
:target: https://coveralls.io/github/Engineero/spacetracktool?branch=master
Development branch
------------------
|travis| |coveralls|
.. |travis| image:: https://travis-ci.org/Engineero/spacetracktool.svg?branch=develop
:target: https://travis-ci.org/Engineero/spacetracktool
.. |coveralls| image:: https://coveralls.io/repos/github/Engineero/spacetracktool/badge.svg?branch=develop
:target: https://coveralls.io/github/Engineero/spacetracktool?branch=develop
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::
>> from spacetracktool import spacetracktool as st
>> query = st.SpaceTrackClient('username', 'password')
>> query.tle_query(norad_cat_id=12345) # look for a specific satellite ID
>> result = query.submit() # submit to space-track.org and return the result
To create a slightly more complicated query, using ranges for some arguments::
>> from spacetracktool 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')
>> query.tle_query(epoch=date_range)
>> result = query.submit()
The official documents for the `space-track.org API can be found here`__.
__ https://www.space-track.org/documentation
.. _space-track.org: https://www.space-track.org/auth/login
==============
.. highlight:: python
Master branch
------------------
|travis| |coveralls|
.. |travis| image:: https://travis-ci.org/Engineero/spacetracktool.svg?branch=master
:target: https://travis-ci.org/Engineero/spacetracktool
.. |coveralls| image:: https://coveralls.io/repos/github/Engineero/spacetracktool/badge.svg?branch=master
:target: https://coveralls.io/github/Engineero/spacetracktool?branch=master
Development branch
------------------
|travis| |coveralls|
.. |travis| image:: https://travis-ci.org/Engineero/spacetracktool.svg?branch=develop
:target: https://travis-ci.org/Engineero/spacetracktool
.. |coveralls| image:: https://coveralls.io/repos/github/Engineero/spacetracktool/badge.svg?branch=develop
:target: https://coveralls.io/github/Engineero/spacetracktool?branch=develop
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::
>> from spacetracktool import spacetracktool as st
>> query = st.SpaceTrackClient('username', 'password')
>> query.tle_query(norad_cat_id=12345) # look for a specific satellite ID
>> result = query.submit() # submit to space-track.org and return the result
To create a slightly more complicated query, using ranges for some arguments::
>> from spacetracktool 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')
>> query.tle_query(epoch=date_range)
>> result = query.submit()
The official documents for the `space-track.org API can be found here`__.
__ https://www.space-track.org/documentation
.. _space-track.org: https://www.space-track.org/auth/login
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.0b4.tar.gz
(11.1 kB
view details)
File details
Details for the file spacetracktool-0.1.0b4.tar.gz
.
File metadata
- Download URL: spacetracktool-0.1.0b4.tar.gz
- Upload date:
- Size: 11.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a369c4b745c46b5f510f05ff277f17f0ff9adead64ac6e976ea7d0d2e3fd1462 |
|
MD5 | a97065108c8dd34940d3c1a745bbda9d |
|
BLAKE2b-256 | 0fcfa6380fb5b12c113386c13ea116c9ffa7081cf8445b6b8a417a54859bd1e1 |