A Python Wrapper for the NAIF CSPICE Toolkit
Project description
SpiceyPy is a Python wrapper for the NAIF C SPICE Toolkit (N65), 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 now 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-1.1.1-cp36-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92001a483db7799788fbdf627de8c9c777cdd064228825fe872d347ede5d4ebf |
|
MD5 | ed0e300e4c9d748d6c9232624f4b8f42 |
|
BLAKE2b-256 | 79b9ca66c0f93a20e34e5756b651bb10f88ece1c7787a4b7bb923bb1c8588718 |
Hashes for spiceypy-1.1.1-cp36-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb465a81a62935dfe889c428f9e1530981e0356d7fdfdba57bc13c01c709deb2 |
|
MD5 | a360065fa0f17bffea7fa9432228107c |
|
BLAKE2b-256 | 7125410d8217db001f0944fb36dc0b309ec4d9b7620b16395f9ff9a89eadc533 |
Hashes for spiceypy-1.1.1-cp35-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f47803dd299357aa36507e46e7d4c20ecd59e70bf5a46120ac75b410918d39f4 |
|
MD5 | 5473d3573b8f3597e2ac689f4f1f1339 |
|
BLAKE2b-256 | b72fdd554313f9583c4b8f9f9f756c96eb291fa9304ecb41516890ac24ae4185 |
Hashes for spiceypy-1.1.1-cp35-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5592af4cbb36d258f7353a1a1e22d1686adbeed89396f9c2707d44ea704b72bf |
|
MD5 | 3253c109c44ed99b5dcfffdfeb9c6cac |
|
BLAKE2b-256 | 7f19a49c3ab28f01d3ffa6bb5772f8673fe67f865c16718fa795d9dfa4bc4b22 |
Hashes for spiceypy-1.1.1-cp27-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a0b0cfd880aa210f046f0f3c5077b2e68fc0f6210e6960f0abe53edad6c85a3 |
|
MD5 | e01fc8867cc1602b526d82e6cf83ada1 |
|
BLAKE2b-256 | 03bf00a27a0d57447587ced8003f20d4f5ad472f25f0546e9ef07c65d2e13a57 |
Hashes for spiceypy-1.1.1-cp27-none-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e52a6947b679a0ba31ce21f0eb739110050a108eeab3272bb6a4863c3a1eb3db |
|
MD5 | d6140f899fa6c2815f37ad9fb7668aeb |
|
BLAKE2b-256 | d072c0f8adb70b457ef6169356a2c5ef2dee5133d176f5e49e697876ec7b0237 |