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.1-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbcaae35a1425ae5871d93091b32ab3cc2f0e2fa02052e3d6bb16a86de4c7acf |
|
MD5 | 08a9e7f1a5c6040142adaddf5ead479a |
|
BLAKE2b-256 | 9833ab6ed45b67bc21703a54fbc8f12f66c9508a77dfe5ed4a2c64960b5c3408 |
Hashes for spiceypy-2.3.1-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 97fff469bad1e1049cb1b55e2f2e74b2b8536145323557ade0b911b6636a92e7 |
|
MD5 | 98b7f176516a948fd90969fd051e0710 |
|
BLAKE2b-256 | 87fff358c7daf177dd0b8978111458b28e9047fd97a322c5a807e7b1d5973f2c |
Hashes for spiceypy-2.3.1-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5c5e00ea60949ff2a3ada4a563578eec3e2a901c871d6abc9f37bee7b7410a4f |
|
MD5 | 888efb14376795fb5cee96d1811ff92d |
|
BLAKE2b-256 | c659e8883885954bebd6e6e1d1f8617fe417b99fdcf9f61bd46ea23f2761dfbb |
Hashes for spiceypy-2.3.1-cp27-cp27m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75e081c0405f406c3519b6ec022ca58e599a58e2ddd34dd6976a5c5d4dacaff8 |
|
MD5 | 40d5ba546c35040e7d341429c035165d |
|
BLAKE2b-256 | cd1ba592b0c940cc1c862ff022d8687adcd4e2b6675e8a6a8876880be8b7a206 |