A Python Wrapper for the NAIF CSPICE Toolkit
Project description
SpiceyPy is a Python wrapper for the NAIF C SPICE Toolkit (N66), compatible with Python 2 and 3, written using ctypes.
Continuous Integration |
Code Coverage |
Docs |
Chat |
Citation |
---|---|---|---|---|
Introduction
SpiceyPy is a python wrapper for the SPICE Toolkit. SPICE is an essential tool for scientists and engineers alike in the planetary science field for Solar System Geometry. Please visit the NAIF website for more details about SPICE.
IMPORTANT: I have no current affiliation with NASA, NAIF, or JPL. The code is provided “as is”, use at your own risk.
Citing SpiceyPy
If you are publishing work that uses SpiceyPy, please cite SpiceyPy and the SPICE toolkit. The citation information for SPICE can be found on the NAIF website. To cite SpiceyPy please utilize the zenodo DOI badge at the top of this readme. To cite information about SpiceyPy, usership, and how it works please cite my 2017 abstract, available with citation info at : https://ui.adsabs.harvard.edu/#abs/2017LPICo1986.7081A.
Installation
PyPI |
Conda Forge |
---|---|
SpiceyPy can be installed using pip by running: pip install spiceypy
Anaconda users should use the conda-forge distribution of SpiceyPy by running: conda config --add channels conda-forge conda install spiceypy
If you wish to install spiceypy from source first download or clone the project. Then run python setup.py install. To uninstall run pip uninstall spiceypy.
Documentation
The SpiceyPy docs are available at: spiceypy.readthedocs.org. The documentation for SpiceyPy is intentionally abridged so as to utilize the excellent documentation provided by the NAIF. Please refer to C and IDL documentation available on the NAIF website for in-depth explanations. Each function docstring has a link to the corresponding C function in the NAIF docs at a minimum.
How to Help
Feedback is always welcomed, if you discover that a function is not working as expected, submit an issue detailing how to reproduce the problem. If you utilize SpiceyPy frequently please consider contributing to the project by citing me using the zenodo DOI above.
Known Working Environments:
SpicyPy is compatible with modern Linux, Mac, and Windows environments. Since the package is a wrapper, any environment not supported by the NAIF is similarly not supported by SpiceyPy. If you run into issues with your system please submit an issue with details. Please note that support for Python minor versions are generally phased out as newer versions are released.
OS: OS X, Linux, Windows
CPU: 64bit only!
Python 2.7, 3.3, 3.4, 3.5, 3.6, 3.7
Acknowledgements
DaRasch wrote spiceminer, which I looked at to get SpiceCells working, thanks!
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
Built Distributions
Hashes for spiceypy-2.3.0-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3f4e2d80d7f335d12f7af5f8b533427dca35c1869865f87803d23bceec50cc6 |
|
MD5 | f46a3dd96e618c26a95b27b45956fbf3 |
|
BLAKE2b-256 | e5626938820af60fa1bfc9b88a83ab588e60b51215386c3f1c3097ba9d5825ae |
Hashes for spiceypy-2.3.0-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f569c0590909cfa5a1ab95998f275aa65964cf55b3813b5bb59be2ceaf6eafd |
|
MD5 | b383d7463fd7617fe4863d56b2ba2898 |
|
BLAKE2b-256 | 8046a36a8ec3e61651509dc78df3fa9308af982ec8733ee554ba0628612da3b7 |
Hashes for spiceypy-2.3.0-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c26c6edfc6f344446cfd96d6d91466a373e3f45c72620c47f2fe1942233ed4ce |
|
MD5 | 917d1abecb4216ef36b78ce2530f0862 |
|
BLAKE2b-256 | 1b89254afa3e58553cb66e8d43a7ec96fefbb8970a2e597f579af039ac114330 |
Hashes for spiceypy-2.3.0-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dbcd03fcaf797d66c873156539c297a317d7a9802d65a360d9101a311b3eee4 |
|
MD5 | 57f0d4e86f759ee2ad8cd40b3d19fe3b |
|
BLAKE2b-256 | 629bb5a84fb46fb3b84666d5cd4687ec23db87c871abce21b579824381c5e8cd |