Skip to main content

Python bindings for spicekit: pure-Rust NAIF kernel readers (DAF/SPK/PCK/text kernels).

Project description

spicekit (Python)

PyPI CI License: MIT

Python bindings for spicekit, a pure-Rust reader for NASA/NAIF SPICE kernel formats (DAF, SPK, PCK, text kernels). Independent of the CSpice toolkit.

Install

pip install spicekit

Development install (from the workspace root):

maturin develop --release --manifest-path crates/spicekit-py/Cargo.toml

Usage

import spicekit

spk = spicekit.NaifSpk("/path/to/de440.bsp")
state = spk.state(target=399, center=0, et=0.0)  # (x, y, z, vx, vy, vz)

pck = spicekit.NaifPck("/path/to/earth_latest_high_prec.bpc")
m = pck.sxform("J2000", "ITRF93", et=0.0)  # 6x6 state-transform matrix

code = spicekit.naif_bodn2c("EARTH")  # 399
name = spicekit.naif_bodc2n(399)      # "EARTH"
bindings = spicekit.naif_parse_text_kernel_bindings("/path/to/ids.tf")

Surface

  • NaifSpk(path): state, state_batch, state_batch_in_frame, segments.
  • NaifPck(path): euler_state, sxform, pxform, sxform_batch, pxform_batch, rotate_state_batch, segments.
  • NaifSpkWriter(locifn): add_type3, add_type9, write.
  • naif_bodn2c(name) / naif_bodc2n(code): built-in NAIF body-code table.
  • naif_parse_text_kernel_bindings(path): parse NAIF_BODY_NAMENAIF_BODY_CODE assignments from text kernels.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

spicekit-0.2.0-cp312-cp312-win_amd64.whl (268.8 kB view details)

Uploaded CPython 3.12Windows x86-64

spicekit-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (414.3 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

spicekit-0.2.0-cp312-cp312-macosx_11_0_arm64.whl (369.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

spicekit-0.2.0-cp311-cp311-win_amd64.whl (269.1 kB view details)

Uploaded CPython 3.11Windows x86-64

spicekit-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (414.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

spicekit-0.2.0-cp311-cp311-macosx_11_0_arm64.whl (370.2 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

spicekit-0.2.0-cp310-cp310-win_amd64.whl (269.1 kB view details)

Uploaded CPython 3.10Windows x86-64

spicekit-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (414.6 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

spicekit-0.2.0-cp310-cp310-macosx_11_0_arm64.whl (370.3 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file spicekit-0.2.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: spicekit-0.2.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 268.8 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for spicekit-0.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 f1faa7f7b6e06388ef292f42a6b3acacbfdf21d1be54084e1988f6e22723058a
MD5 736600fd13added03f8e4a7fb0fc089f
BLAKE2b-256 4e52d0ca09ec38ad82ed38e61d087e4518395602a3087f77d5f1409c7174aa43

See more details on using hashes here.

Provenance

The following attestation bundles were made for spicekit-0.2.0-cp312-cp312-win_amd64.whl:

Publisher: release.yml on B612-Asteroid-Institute/spicekit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spicekit-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for spicekit-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1f23b0bbd331ea2990d25a80048d7d10989ad754f1c9e46c960bd6a90c6ed137
MD5 bc34533c6b939a052451ecabb2d80b0c
BLAKE2b-256 cdd3b9776d34a4f6fc987be9409edd7269c97fb3325295cd8001e8e8f4bd7fdb

See more details on using hashes here.

Provenance

The following attestation bundles were made for spicekit-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on B612-Asteroid-Institute/spicekit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spicekit-0.2.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spicekit-0.2.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b0a358a41ba7972eb41406f3d960c37ce9243d91295f69b73348301d41640a82
MD5 6eee8ccb5e6ad654b98fa77a6ae7db33
BLAKE2b-256 75c582d707c98c7ef3990d209ec09dbec8de982043dd7ce262995f00333cca01

See more details on using hashes here.

Provenance

The following attestation bundles were made for spicekit-0.2.0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: release.yml on B612-Asteroid-Institute/spicekit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spicekit-0.2.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: spicekit-0.2.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 269.1 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for spicekit-0.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 f64ab9b88338fe280d073e5aea9f3dd24e484a6812580025e9250bd190a90ecc
MD5 5cc0cedda18695e501e4d2725fd57231
BLAKE2b-256 fb43b5d420a2156f96494c278e75c3f79c8eab610f040d18c724515383277cba

See more details on using hashes here.

Provenance

The following attestation bundles were made for spicekit-0.2.0-cp311-cp311-win_amd64.whl:

Publisher: release.yml on B612-Asteroid-Institute/spicekit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spicekit-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for spicekit-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9858100f4ceace2fccae6046a1a9198656116f5d21d0130ce8d41d2e54605876
MD5 e70c98a47b05cc5c9895112b9d909a01
BLAKE2b-256 0385950a8235974646bcbd625f4f8d15902154c7da2f298eb02216e3ab0509c4

See more details on using hashes here.

Provenance

The following attestation bundles were made for spicekit-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on B612-Asteroid-Institute/spicekit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spicekit-0.2.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spicekit-0.2.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b453ca41207131c1f1f3806ef7a2d545c517ee2c8f6972b9fc3b7d7a66596812
MD5 ddb4bc43d1793c44f32eea04f6ba6220
BLAKE2b-256 e1fcc13b0e44d84a1da4a2e0dbdc86ccc4d8554ecde17b9aa4bc159676163f1d

See more details on using hashes here.

Provenance

The following attestation bundles were made for spicekit-0.2.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: release.yml on B612-Asteroid-Institute/spicekit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spicekit-0.2.0-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: spicekit-0.2.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 269.1 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for spicekit-0.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b8a0c2697e1149e151504eb04b200902a9ac4084f5d0c39f73e8e625316da290
MD5 d508b23fbcb15e4dbf9db3faf5bfb0f5
BLAKE2b-256 3d023a57f0f76c3ef4c69622a173e91a93faf9454620526dec298a4d314c4dad

See more details on using hashes here.

Provenance

The following attestation bundles were made for spicekit-0.2.0-cp310-cp310-win_amd64.whl:

Publisher: release.yml on B612-Asteroid-Institute/spicekit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spicekit-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for spicekit-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d9dcf8ec7d48df2fe640dfc4a081fac554022946cd4219902ee36fb3d93efaf1
MD5 45afbde9870dcde8268abd8fe4694337
BLAKE2b-256 89180c977139fb76427d2e90ecd439763d6dca089f7c469272e603de520cfc03

See more details on using hashes here.

Provenance

The following attestation bundles were made for spicekit-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on B612-Asteroid-Institute/spicekit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spicekit-0.2.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spicekit-0.2.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cad88be2bb4558ed53becad2523db3e351297418ba0775124a69bcf2d5342fb4
MD5 53006819bb5a67956ca98ff802cf7368
BLAKE2b-256 d2816993225eb1edcc1f49d4c4335108d573863c52dd637b0e7e865df2fe07cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for spicekit-0.2.0-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: release.yml on B612-Asteroid-Institute/spicekit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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