Debian packaging for jplephem
Go to file
James Davies 79151ac7a4 Make SPK class close mmaps when exiting context manager (#25)
* Properly close mmaps; respect with context manager
* Update test to use with context manager
* Remove try/except in SPK.close()
* Restore SPK mmap attributes to None on close()
2018-12-07 11:25:24 -05:00
bin Change main computation routine to a generator 2015-02-08 14:31:07 -05:00
jplephem Make SPK class close mmaps when exiting context manager (#25) 2018-12-07 11:25:24 -05:00
legacy Fix JPL report links in old ephemeris READMEs 2016-03-31 08:04:04 -04:00
.gitignore Git ignore tmp*.py experimental scripts 2018-02-09 07:32:30 -05:00
.travis.yml To fix the build,bid a fond farewell to Python 2.6 2018-02-09 07:32:50 -05:00
README.md Make README test instructions more complete 2018-02-03 12:27:53 -05:00
setup.py Version 2.8: single memory map instead of many 2018-07-22 16:16:43 -04:00

README.md

Welcome to the repository for the jplephem Python library!

The package is a Python implementation of the math that standard JPL ephemerides use to predict raw (x,y,z) planetary positions. It is one of the foundations of the Skyfield astronomy library for Python:

http://rhodesmill.org/skyfield/

But you can also use jplephem standalone to generate raw vectors. If that is your use case, then simply head over to its documentation and download link on the Python Package Index:

https://pypi.python.org/pypi/jplephem

If you want to install it with conda, there is a recipe at:

https://github.com/conda-forge/jplephem-feedstock

This repository is where jplephem is maintained. You will find its source code beneath the jplephem directory that sits alongside the setup.py file. You can run its tests with:

wget https://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/planets/a_old_versions/de405.bsp
wget https://naif.jpl.nasa.gov/pub/naif/generic_kernels/spk/planets/a_old_versions/de421.bsp
pip install de421
python -m unittest discover jplephem

Enjoy!