Skip to main content

Test statusblack status flake8 status Generic badge PyPI - Version PyPI - Python Version

Pandora Spacecraft

This package helps you quickly estimate Pandora's position and velocity at a particular time. Check the example usage to see how to use this package to calculate Pandora's orbital properties.

Installation

To install you can use

pip install pandoraspacecraft --upgrade

You should update your package often, as we frequently we will add new TLEs. Check your version number using

import pandoraspacecraft as ps
ps.__version__

This package will download and store SPICE kernels into a directory in your home area when you use any of the objects. This means that if you install this package in multiple environments, the SPICE kernels will not be redownloaded and will be shared between multiple installs.

If you run into any problems with your installation, try clearing the cache and then restarting your session

from pandoraspacecraft.utils import clear_cache
clear_cache()

To uninstall this package from your machine entirely you should uninstall it

pip uninstall pandoraspacecraft

And clear the cache of SPICE kernel files using

from astropy.utils.data import clear_download_cache
clear_download_cache(pkgname='pandoraspacecraft')

or by deleting the .pandoraspacecraft/cache/ directory in your home area.

Test mode

This package now installs with a lightweight set of truncated kernels which can be used to test the functionality, but cover a very limited time range and set of bodies. These files are available in src/data/kernels/testkernels.

If you need to use this package as a depency and want to run tests, use

import pandoraspacecraft as psc
psc.enable_test_mode()

This will set up a minimum number of kernels that are shipped with the package, and will not download anything from the internet. This ensures you can use, for example, GitHub actions without downloading anything.

The test kernel is only valid between the following dates:

  • 2026-02-20 20:09:56.999998
  • 2026-02-25 11:33:59.999999

TLEs

TLEs are not used by this package but are maintained and pushed to GitHub.

Troubleshooting

If you have any trouble with PandoraSpacecraft the best first answer is to clear your cache of SPICE kernels. You can do this with

from pandoraspacecraft.utils import clear_cache
clear_cache()

You should also make sure your install is up to date with the current version!

Download files

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

Source Distribution

pandoraspacecraft-1.2.4.tar.gz (348.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pandoraspacecraft-1.2.4-py3-none-any.whl (556.4 kB view details)

Uploaded Python 3

File details

Details for the file pandoraspacecraft-1.2.4.tar.gz.

File metadata

  • Download URL: pandoraspacecraft-1.2.4.tar.gz
  • Upload date:
  • Size: 348.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.9.13 Darwin/25.5.0

File hashes

Hashes for pandoraspacecraft-1.2.4.tar.gz
Algorithm Hash digest
SHA256 942e1216e00ed5340b888bc994243020e83eca2045aee671217ac14e490c213f
MD5 6e8d24bea8c34ae0120bd44be58658d6
BLAKE2b-256 4b7caf68d67525d9aac05b898f4f21355c591224e91d506486863faaae8f9df5

See more details on using hashes here.

File details

Details for the file pandoraspacecraft-1.2.4-py3-none-any.whl.

File metadata

  • Download URL: pandoraspacecraft-1.2.4-py3-none-any.whl
  • Upload date:
  • Size: 556.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.9.13 Darwin/25.5.0

File hashes

Hashes for pandoraspacecraft-1.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b35dd4a159ac51a64e4c1789952c5964db47e68b97f5c5fb210e8eb83c6eebb2
MD5 2d8369b592fc51b94d4f5b6b4f292d23
BLAKE2b-256 42f468b965d3b6c1455c4d0b4757fb98037d7900f30fa925832387d7d06141eb

See more details on using hashes here.

Supported by

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