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 Distribution

spicekit-0.2.1.tar.gz (85.9 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.1-cp312-cp312-win_amd64.whl (268.9 kB view details)

Uploaded CPython 3.12Windows x86-64

spicekit-0.2.1-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.1-cp312-cp312-macosx_11_0_arm64.whl (369.0 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

spicekit-0.2.1-cp311-cp311-win_amd64.whl (269.0 kB view details)

Uploaded CPython 3.11Windows x86-64

spicekit-0.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (414.3 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

spicekit-0.2.1-cp311-cp311-macosx_11_0_arm64.whl (370.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

spicekit-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (414.5 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

spicekit-0.2.1-cp310-cp310-macosx_11_0_arm64.whl (370.1 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: spicekit-0.2.1.tar.gz
  • Upload date:
  • Size: 85.9 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.1.tar.gz
Algorithm Hash digest
SHA256 ec089671fc1f47b86e429b63a3bee7f57921f9638e91b914399b18dee2521ab7
MD5 f501bb73cf443530e64bf2f0476fa170
BLAKE2b-256 ca8927ac97a8cf1548ecbe2f26de84680816d4cfac848ea6ace0699074ce6708

See more details on using hashes here.

Provenance

The following attestation bundles were made for spicekit-0.2.1.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.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: spicekit-0.2.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 268.9 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.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 c35a377ac089751593a0ecf689522a48847d55950e6d7e47c9a7753cfa0c7b4a
MD5 917287017fab8f36c218d8e573a7d684
BLAKE2b-256 e6c5c75988280a5b20670d6e9dc68e6f988c8df629892fb53b315412e4433e44

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for spicekit-0.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 211d603da591f7329e196028d0629c92ff4972c804809eeb98eaacbe84e395d1
MD5 dd29e0d1407fabbe885882b6e4f2125a
BLAKE2b-256 de0aaa4404a25a38b6a874f73e2b8d3bb6c97beacbe8be07177427ba56489897

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for spicekit-0.2.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 fe835028ce9edd4f1e638e91ba0e3e9ef7e7f240f18333fd1eb7ec401da89e6e
MD5 c2f57649327734d0e2828208c551aff9
BLAKE2b-256 79bf243bc8e3336f8d2f3c73128ab3a016bb7675f9d7efaf01f025e98c3de20d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: spicekit-0.2.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 269.0 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.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 abac0faeae92c4a3cd37899186577f1c7d78e9f361b38b5761c9e90df32e3fa3
MD5 e91d389540d64b45e863295a55652b30
BLAKE2b-256 d872d38cf22af64e5877a27ec52daa2a18b5fcbc11fc8344a834e74bb623345d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for spicekit-0.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6d6a4124737277b1724967201c627ba9e7a4190799da6b4d1a0b637f4d7be394
MD5 b6aa73e6f021cbff6b080def4b580e15
BLAKE2b-256 374183900724282913ce69ec94c0a032ef90019d990bf00a40a43a22258c0c51

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for spicekit-0.2.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0c8930f4fae26f5453f45594cc0c03b92bd282d5573dbf333b46f4c5f173186a
MD5 30a95be2bbf88d51c302acfaa555ca2d
BLAKE2b-256 1821f042b0a21984f659f42ede442be30cf9197b84fc9b73c1af78ef3cb5a662

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: spicekit-0.2.1-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.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 fe165f796ef5faf57eea3cb5a0739e9dcced6dce4ec7adb72de55e18fccc4dd6
MD5 98e872d2eed5dfa489a3de607bbd3b42
BLAKE2b-256 ef589c87c0d7b34bfd963b88387902e5d4d8e0b0366e493f215a5496907cbf59

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for spicekit-0.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 998299682c59c20241cc7597aaa747f58a6bf47b5c4e566828a80f62756266e8
MD5 02dd0902a221b4530d6fff9dfe9f1a20
BLAKE2b-256 dda7919be5dccb32d6723ebf536cf07a93866a4eaa42deafd24be61acfc21c72

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for spicekit-0.2.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 82a23f570bc460aa14117b10648c3539a96dce8f88cc2c0904f45d5bf0ec4896
MD5 3a89e2954d9bdb5282843c0b58a9094f
BLAKE2b-256 d637c809d755d44f5f07a5dc2d7ab86b315d64de18d7949d3a9d68c5d3906229

See more details on using hashes here.

Provenance

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