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.
Installation
First install the dependencies (numpy, six, pytest) for the project. Then run pip install spiceypy to install from pypi.
SpiceyPy is also available through conda by either first installing pip via conda or by running conda install -c https://conda.anaconda.org/andrewannex 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.
Citing SpiceyPy
If the use of SpiceyPy is used in a publication, please consider citing 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.
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 & 32bit
Python 2.7, 3.3, 3.4, 3.5, 3.6
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.1.0-cp36-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b01d0aa5ea657da590e51646fc0fd9d2cc1e70237060b58845355d79965a7fe8 |
|
MD5 | fdeb330586272d1eacf57891101e6c84 |
|
BLAKE2b-256 | bd16df48f36e1cabb4b271b0b02f1000a758ffe1f5d2bbbc39319fbeb970a855 |
Hashes for spiceypy-2.1.0-cp35-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 221d77121c708a80b5de7236ec68736cf39b01804f3b9735b2defa2e73ed9f84 |
|
MD5 | 33eb58a60d3d5f2723d23d207a6aedb9 |
|
BLAKE2b-256 | 462890a9a54468d979a5d5bab155645fb18f2d98f8364e0526c42121c07550d4 |
Hashes for spiceypy-2.1.0-cp27-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da4576e22c607494e8f01a290476521056c4290719997f9b6b99bb1339f298a2 |
|
MD5 | 39ad194f51e84f00deb91c23aba3636f |
|
BLAKE2b-256 | 47ca1361757d00ef2ebd4514723817b89c83f7a3a3c13bd146c65c5fb6b41d89 |