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!

Metadata

Release files for pandoraspacecraft 1.2.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pandoraspacecraft 1.2.7
File Size Uploaded
pandoraspacecraft-1.2.7.tar.gz 376.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pandoraspacecraft 1.2.7
File Interpreter ABI Platform
pandoraspacecraft-1.2.7-py3-none-any.whl Python 3 none any Details

Total release size: 1.0 MB

Release files / pandoraspacecraft-1.2.7.tar.gz

Download URL pandoraspacecraft-1.2.7.tar.gz
Size 376.9 kB
Tags Source
SHA-256 checksum
How to use checksums
41399062a9a3cb550fb6d1d28519771ec306c31f0a85b1442c1e6a46e8f6e1a5
BLAKE2b-256 checksum
How to use checksums
e505f5b8b6d4209ffff42bc4a8e84017dd04612dd1e0a9e338a2f789ac267091
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.9.13 Darwin/25.6.0

Release files / pandoraspacecraft-1.2.7-py3-none-any.whl

Download URL pandoraspacecraft-1.2.7-py3-none-any.whl
Size 654.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c136a0d48c15d7c675e6d8d380f15c7f2b316589f1ddd2c18501e06dd172cc0f
BLAKE2b-256 checksum
How to use checksums
d0b83ad8b0df2367b41b95a8d93b97db0fc28be511e172a367dd7f457ffd91fe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.9.13 Darwin/25.6.0

Release history Release notifications | RSS feed

1.2.8

2 release files

This release

1.2.7 This release

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.3

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.11

2 release files

1.1.10

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.9

2 release files

1.0.8

2 release files

1.0.7

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page