Skip to main content

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.

Download files

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

Source Distribution

spicekit-0.2.2.tar.gz (88.6 kB view details)

Uploaded Source

Built Distributions

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

spicekit-0.2.2-cp312-cp312-win_amd64.whl (292.4 kB view details)

Uploaded CPython 3.12Windows x86-64

spicekit-0.2.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (438.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

spicekit-0.2.2-cp312-cp312-macosx_11_0_arm64.whl (393.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

spicekit-0.2.2-cp311-cp311-win_amd64.whl (292.5 kB view details)

Uploaded CPython 3.11Windows x86-64

spicekit-0.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (438.5 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

spicekit-0.2.2-cp311-cp311-macosx_11_0_arm64.whl (394.6 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

spicekit-0.2.2-cp310-cp310-win_amd64.whl (292.7 kB view details)

Uploaded CPython 3.10Windows x86-64

spicekit-0.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (438.7 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

spicekit-0.2.2-cp310-cp310-macosx_11_0_arm64.whl (394.9 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file spicekit-0.2.2.tar.gz.

File metadata

  • Download URL: spicekit-0.2.2.tar.gz
  • Upload date:
  • Size: 88.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for spicekit-0.2.2.tar.gz
Algorithm Hash digest
SHA256 65d3793ff4d00e75f873be5dbf242ced563cf0bfce5f11a433c43c5d58322053
MD5 2ffb8c9d3579769b2a5f472d8b25774b
BLAKE2b-256 a90768139c252c6a235f69425062a752c851d925cf8aca694ce0fd398c4a55fb

See more details on using hashes here.

Provenance

The following attestation bundles were made for spicekit-0.2.2.tar.gz:

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.2-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: spicekit-0.2.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 292.4 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.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c22ed4b0f95d14e31f22b1ed8ef91679d4eb87c7f276917e898782c01c8f1154
MD5 5cf550b453ecd0e4b194e3ea05c0eea8
BLAKE2b-256 81e4b6aa0a2b2482a519ca7c1d5f3d133af1cbdf484abb70a0400e4a02825b56

See more details on using hashes here.

Provenance

The following attestation bundles were made for spicekit-0.2.2-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.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for spicekit-0.2.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7a17cff1e78428e9a5470a314c795c7862b2c628f59f1a9b2ebe2d7c5359673e
MD5 b39d0d3c90ddb7eecb3caf71d477dbba
BLAKE2b-256 dfb399bfa1f97c84834f4939f52e3a90960dc92914400436443fd4a7f9f36757

See more details on using hashes here.

Provenance

The following attestation bundles were made for spicekit-0.2.2-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.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spicekit-0.2.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 85fd51b8005813f3b423aafc0ea2595f26108d488fcd39958ca5488ea7c12f47
MD5 37869209525cddceb3201c7ffce4a388
BLAKE2b-256 728437f19c8240a34983042e388f84519ae4e4852e8cea9eb7a39dcdfb60039e

See more details on using hashes here.

Provenance

The following attestation bundles were made for spicekit-0.2.2-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.2-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: spicekit-0.2.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 292.5 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.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 73934f70b9f4a83919201231b577503f6720ba6fdc789a727c60a4f0de3582d6
MD5 b47163293747f6c0a9afd91d0dd5ffef
BLAKE2b-256 cd5779a7e6ed8c79fa538d412474e5a6e0d3448bbebf4f3e66e7bf52f110cb0e

See more details on using hashes here.

Provenance

The following attestation bundles were made for spicekit-0.2.2-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.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for spicekit-0.2.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 267e6eb44b9797615ea485b82895e0e700466ebfd40f78cdb205313489663cfa
MD5 e75c4d2d7b46e08db1dfffd3fb873710
BLAKE2b-256 fbf96edff272e7266ebd5572ed38a0c8f30a0c501cfc6e2f81e019e5cba3c686

See more details on using hashes here.

Provenance

The following attestation bundles were made for spicekit-0.2.2-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.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spicekit-0.2.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0f1c0613eb0ee621a74bd2c4dfb6a16607ada94d5c7edf4617dc68a093de45c3
MD5 6230520b03c2c39d8eea41ea663ab24a
BLAKE2b-256 01ee623e508b4cd9c839c30d805510a225c38c90d4d53fc5ac075fffa6ce7e9f

See more details on using hashes here.

Provenance

The following attestation bundles were made for spicekit-0.2.2-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.2-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: spicekit-0.2.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 292.7 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.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 09cb23c5d7b3502b6ff253c59ed02f0c0b2261028b19c2a3f5f57ba9ca42e6f1
MD5 c1b92965e33b1b02859b87fb954dbdd4
BLAKE2b-256 fff47923264046a4ef0da691b16585c19077fc7b4c97046605d642b4db3adb3b

See more details on using hashes here.

Provenance

The following attestation bundles were made for spicekit-0.2.2-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.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for spicekit-0.2.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7a1395a83ee537a72fd1d47575f009f45b8eddcf1ea40e27fabb4b9793668587
MD5 4d7f607b7b6cb79e59d9f5ebfd6c95ad
BLAKE2b-256 8491c5dd79bf21a5b35e6200bf10aeea20afe4ff81070b6b4aed78ccf721a479

See more details on using hashes here.

Provenance

The following attestation bundles were made for spicekit-0.2.2-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.2-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for spicekit-0.2.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1a1a1d80f9e499b3dc25f1a97e4a8d333c4c6d570399b3b6a1bdcac9934dade6
MD5 56232a6c01ea38f680b54218b8d7df06
BLAKE2b-256 06d7ffbff75e62edfbc1536ac9a675d029c5fe79117e2e914480843a8f70baa2

See more details on using hashes here.

Provenance

The following attestation bundles were made for spicekit-0.2.2-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.

Release history Release notifications | RSS feed

This release

0.2.2 This release

10 files

0.2.1

10 files

0.2.0

9 files

0.1.0

10 files

Supported by

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