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.
$ pip install space-command
Retrieve orbits as TLE from celestrak
$ space tle get $ space tle 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 moon <station> --graph
Retrieve Solar System bodies ephemeris
$ space planets Moon $ 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> -
[0.4.1] - 2018-11-01
TLE database dump and statistics
Stations’ characteristics defined in config file are now set as attributes of the station object
[0.4] - 2018-10-20
Compute ephemeris of solar system bodies (Moon, Mars, Jupiter, Titan, etc.)
Moon phase computation
Centralised date handling, via command space clock
Allow TLE retrieval from Space-Track
Database classes are now suffixed with Db
Subcommand retriving data from the web now use the argument fetch instead of get.
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
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 ephemerides via stdin
add mask handling for stations
Passes zenital display optional
MIT licence replace GPLv3
EOP database disabled by default.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.