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.1.0.tar.gz (77.4 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.1.0-cp312-cp312-win_amd64.whl (266.3 kB view details)

Uploaded CPython 3.12Windows x86-64

spicekit-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (410.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

spicekit-0.1.0-cp312-cp312-macosx_11_0_arm64.whl (364.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

spicekit-0.1.0-cp311-cp311-win_amd64.whl (266.3 kB view details)

Uploaded CPython 3.11Windows x86-64

spicekit-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (410.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

spicekit-0.1.0-cp311-cp311-macosx_11_0_arm64.whl (364.7 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

spicekit-0.1.0-cp310-cp310-win_amd64.whl (266.6 kB view details)

Uploaded CPython 3.10Windows x86-64

spicekit-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (410.9 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

spicekit-0.1.0-cp310-cp310-macosx_11_0_arm64.whl (364.9 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for spicekit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5a3d20bf1ce123d690510454660d4f993a808af54771386ea8c44fa94c229c8d
MD5 795d575904e85b557388d7254bd592aa
BLAKE2b-256 8d8901aaeff7a57dc93072260c486e22e25098599cab5f1791cc4dda2bc410d1

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: spicekit-0.1.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 266.3 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.1.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1345aa5feee4ad9bf32c36aa958b497512be7586775caf562c6cfd3f73207364
MD5 834a1145c902c98694254723c7f92cac
BLAKE2b-256 d74a053ecdc56d8fe0ad87e6af46607bd2be610645c0f20c19a4d392d68c4548

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for spicekit-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fc80e42255d8bd88011d2fc29c5a688e4888c3f673683ec57d7c7eb949d8558b
MD5 f2c0365edd769625585395d84a3e4a2e
BLAKE2b-256 1ce380d7a96a6d78f876d320d641a41e7564cc38cf0515a155ddb52a6e95604e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for spicekit-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2e41d59c71e94ea0918e33d9d78ce2c726a0e4c09586f149a5da491a227290b9
MD5 ec751faa655b7d4702b1eb350d501011
BLAKE2b-256 e2285e16245232804f4ddb6aad1b772fb38cf9050a3ee931ca781fe482428662

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: spicekit-0.1.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 266.3 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.1.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c731a3bb579403ecab6be7826734cd90243871f86c06eace605c6cf37c8019c6
MD5 5d4d5ea78736c83eff2c1fd2d4c73473
BLAKE2b-256 c589fb2f96a6388344b136134c4d9c21afc1558fc4db824dcf7384ba1b7eb655

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for spicekit-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 09f407b9b46f7ac40c9e0ec1cdfe917bb2725290db57e41345ea288e86f706f0
MD5 3ad96444fd42e5699cb535afeb76b2e6
BLAKE2b-256 e685d96c999d2907e0d02d74ea846e9c87e5bffa886629c0084d2e284657dc86

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for spicekit-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b2388b144838b54abfce6b007366e42ed5c229628e00cbf45434a20ef0514bb0
MD5 d31719b1dab86bc37e317a1e593dfd0e
BLAKE2b-256 6f4f6a0e2926dea8eb42432d1e6e7b77f0f913e45f75247c79f28851f4be6139

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: spicekit-0.1.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 266.6 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.1.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 40c285c7fa538b4d19d103e67272eaf9bc36dd91b098b137ad56acfe7cfa1317
MD5 4166b436b108b64a31d17e50661d1ddf
BLAKE2b-256 7f847edd589b4efeb8fca873b3d16566157696a5a575b27f2e566b91e4b7b059

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for spicekit-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1502cb77ca9504cd6f9a80ad5f24a3d018be8c73863fc6b9894351433cc13eff
MD5 8e812d75015cf6e259ee7df5c7efce69
BLAKE2b-256 e7bcc0ae81e3ff9514ab8e9afaa41cc1afcb1262fb2679acae0a72941e3cbb0b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for spicekit-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b756a19ba1d9588f5424d4f58b4a28ce609a3c942cc8fc16e6de6bf842a8c298
MD5 0bd63ce5047ddc430c51b8976741072b
BLAKE2b-256 2ae931ce4331d45c9844e79e28df00d27fe40824b2bd6430a3c4d162804b2769

See more details on using hashes here.

Provenance

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