Skip to main content

Space Command

Project description

PyPi version Python versions

The space command allows to compute the position of satellites and their passes above our head.

In order to do this, it uses the beyond library.

Installation

For the stable release:: shell

$ pip install space-command

For the latest dev commit:: shell

$ pip install git+https://github.com/galactics/space-command

Features

Retrieve orbits as TLE from celestrak

$ space tle fetch
$ space tle get name ISS
ISS (ZARYA)
1 25544U 98067A   18217.29289738  .00001607  00000-0  31893-4 0  9999
2 25544  51.6423 133.9734 0005443  28.3880 115.1824 15.53801660126150

Animated map showing position of a satellite (e.g. the ISS)

$ space map ISS

Compute and display moon phase

$ space phase Moon --graph

Retrieve Solar System bodies ephemeris

$ space planets Moon
$ space planets fetch   # Retrieve planetary ephemeris
$ space planets Mars Jupiter Saturn

Predict passes of planets or satellites

$ space planets Mars | space passes <station> -
$ space tle find OSCAR 7 | space passes <station> -

Changelog

[0.4.2] - 2019-02-23

Added

  • Logging

  • Tests

  • space events subcommand computes all orbital events of a satellite (AOS/LOS, Apogee/Perigee, etc.)

  • space phase to compute the phase of available planets and moons

  • groundtracks optional on map

Removed

  • space moon subcommand. This is now handled by the more generic space phase

[0.4.1] - 2018-11-01

Added

  • TLE database dump and statistics

  • Station map

  • Stations’ characteristics defined in config file are now set as attributes of the station object

[0.4] - 2018-10-20

Added

  • Compute ephemeris of solar system bodies (Moon, Mars, Jupiter, Titan, etc.)

  • Moon phase computation

  • Centralized date handling, via command space clock

  • Allow TLE retrieval from Space-Track

Changed

  • Database classes are now suffixed with Db

  • Subcommand retrieving data from the web now use the argument fetch instead of get.

Removed

  • Light propagation delay no longer taken into account. The computation was tedious, and has been removed from the beyond library

[v0.3] - 2018-07-24

Added

  • Possibility to create your own commands with the space.command entry point.

  • Search TLE containing a string

  • Retrieve all chronological TLE of an object

  • space map displays real-time position of objects

  • Compute moon phase

  • Every command taking object names can also take TLE or CCSDS ephemeris via stdin

  • add mask handling for stations

  • Passes zenithal display optional

Changed

  • MIT license replace GPLv3

Removed

  • EOP database disabled by default.

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

space-command-0.4.2.tar.gz (3.6 MB view details)

Uploaded Source

File details

Details for the file space-command-0.4.2.tar.gz.

File metadata

  • Download URL: space-command-0.4.2.tar.gz
  • Upload date:
  • Size: 3.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.2

File hashes

Hashes for space-command-0.4.2.tar.gz
Algorithm Hash digest
SHA256 1d2076f377c9d117bb852ca41f559f5143a77a97440845d10ad9acdcc9e58476
MD5 f5beec70e3c2362e6bc591744fa461f3
BLAKE2b-256 05f25c3e51826725a6394a89feb6ef1c506d9425e266b7dc3dba2d0bb4a00403

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page