Giter Club home page Giter Club logo

spacetracktool's Introduction

SpaceTrackTool

Master branch Travis CI - Build Status Coveralls - Test Coverage PyPI - Python Version PyPI
Develop branch Travis CI - Build Status Coveralls - Test Coverage

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.

spacetracktool's People

Contributors

engineero avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

spacetracktool's Issues

Get autodocs working with Google style

Currently sphinx is throwing an import error on sphinxcontrib.napoleon. If we can fix that then I think we will have better-formatted documentation from sphinx.

Implement tests

Implement tests and get testing coverage metrics from...a service? I haven't done the automatic testing coverage metric thing before.

Complete documentation

Fill out documentation with examples for each method, and a clear overview of the API for all covered API uses.

Package for PyPI

Package the repo for distribution on PyPI and get it posted to PyPI as a close to milestone 0.1.0.

Coverage for most common API use cases

Include at least basic coverage for all query types, and more detailed coverage for common query types (satcat, TLE, decay, etc.). Placeholders are already there for every query class.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.