Skip to main content

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

Travis Build Status Windows Build Status

Coverage Status

Documentation Status

Join the 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

PyPI

Conda Version

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spiceypy-2.3.1.tar.gz (241.5 kB view details)

Uploaded Source

Built Distributions

spiceypy-2.3.1-cp37-cp37m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.7mWindows x86-64

spiceypy-2.3.1-cp36-cp36m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.6mWindows x86-64

spiceypy-2.3.1-cp35-cp35m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.5mWindows x86-64

spiceypy-2.3.1-cp27-cp27m-win_amd64.whl (1.3 MB view details)

Uploaded CPython 2.7mWindows x86-64

File details

Details for the file spiceypy-2.3.1.tar.gz.

File metadata

  • Download URL: spiceypy-2.3.1.tar.gz
  • Upload date:
  • Size: 241.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.15

File hashes

Hashes for spiceypy-2.3.1.tar.gz
Algorithm Hash digest
SHA256 a2896f23c417921fe0aab987b06403fa5db669dc80619c5eef492a6dfd3297b8
MD5 7003a943795773e6038646a726102f97
BLAKE2b-256 2c4f1ad7228338bafa481e97080428f2decbf6f41a7c3a67e3dc1d4b140f899f

See more details on using hashes here.

File details

Details for the file spiceypy-2.3.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: spiceypy-2.3.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for spiceypy-2.3.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 fbcaae35a1425ae5871d93091b32ab3cc2f0e2fa02052e3d6bb16a86de4c7acf
MD5 08a9e7f1a5c6040142adaddf5ead479a
BLAKE2b-256 9833ab6ed45b67bc21703a54fbc8f12f66c9508a77dfe5ed4a2c64960b5c3408

See more details on using hashes here.

File details

Details for the file spiceypy-2.3.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: spiceypy-2.3.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.8

File hashes

Hashes for spiceypy-2.3.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 97fff469bad1e1049cb1b55e2f2e74b2b8536145323557ade0b911b6636a92e7
MD5 98b7f176516a948fd90969fd051e0710
BLAKE2b-256 87fff358c7daf177dd0b8978111458b28e9047fd97a322c5a807e7b1d5973f2c

See more details on using hashes here.

File details

Details for the file spiceypy-2.3.1-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: spiceypy-2.3.1-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.5.4

File hashes

Hashes for spiceypy-2.3.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 5c5e00ea60949ff2a3ada4a563578eec3e2a901c871d6abc9f37bee7b7410a4f
MD5 888efb14376795fb5cee96d1811ff92d
BLAKE2b-256 c659e8883885954bebd6e6e1d1f8617fe417b99fdcf9f61bd46ea23f2761dfbb

See more details on using hashes here.

File details

Details for the file spiceypy-2.3.1-cp27-cp27m-win_amd64.whl.

File metadata

  • Download URL: spiceypy-2.3.1-cp27-cp27m-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 2.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.16

File hashes

Hashes for spiceypy-2.3.1-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 75e081c0405f406c3519b6ec022ca58e599a58e2ddd34dd6976a5c5d4dacaff8
MD5 40d5ba546c35040e7d341429c035165d
BLAKE2b-256 cd1ba592b0c940cc1c862ff022d8687adcd4e2b6675e8a6a8876880be8b7a206

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page