Python bindings for spicekit: pure-Rust NAIF kernel readers (DAF/SPK/PCK/text kernels).
Project description
spicekit (Python)
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): parseNAIF_BODY_NAME↔NAIF_BODY_CODEassignments 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
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1faa7f7b6e06388ef292f42a6b3acacbfdf21d1be54084e1988f6e22723058a
|
|
| MD5 |
736600fd13added03f8e4a7fb0fc089f
|
|
| BLAKE2b-256 |
4e52d0ca09ec38ad82ed38e61d087e4518395602a3087f77d5f1409c7174aa43
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spicekit-0.2.0-cp312-cp312-win_amd64.whl -
Subject digest:
f1faa7f7b6e06388ef292f42a6b3acacbfdf21d1be54084e1988f6e22723058a - Sigstore transparency entry: 1429378572
- Sigstore integration time:
-
Permalink:
B612-Asteroid-Institute/spicekit@55d5530224dd108a8729199a08c5e9c25f7adea3 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/B612-Asteroid-Institute
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@55d5530224dd108a8729199a08c5e9c25f7adea3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file spicekit-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: spicekit-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 414.3 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f23b0bbd331ea2990d25a80048d7d10989ad754f1c9e46c960bd6a90c6ed137
|
|
| MD5 |
bc34533c6b939a052451ecabb2d80b0c
|
|
| BLAKE2b-256 |
cdd3b9776d34a4f6fc987be9409edd7269c97fb3325295cd8001e8e8f4bd7fdb
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spicekit-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
1f23b0bbd331ea2990d25a80048d7d10989ad754f1c9e46c960bd6a90c6ed137 - Sigstore transparency entry: 1429378574
- Sigstore integration time:
-
Permalink:
B612-Asteroid-Institute/spicekit@55d5530224dd108a8729199a08c5e9c25f7adea3 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/B612-Asteroid-Institute
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@55d5530224dd108a8729199a08c5e9c25f7adea3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file spicekit-0.2.0-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: spicekit-0.2.0-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 369.2 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0a358a41ba7972eb41406f3d960c37ce9243d91295f69b73348301d41640a82
|
|
| MD5 |
6eee8ccb5e6ad654b98fa77a6ae7db33
|
|
| BLAKE2b-256 |
75c582d707c98c7ef3990d209ec09dbec8de982043dd7ce262995f00333cca01
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spicekit-0.2.0-cp312-cp312-macosx_11_0_arm64.whl -
Subject digest:
b0a358a41ba7972eb41406f3d960c37ce9243d91295f69b73348301d41640a82 - Sigstore transparency entry: 1429378585
- Sigstore integration time:
-
Permalink:
B612-Asteroid-Institute/spicekit@55d5530224dd108a8729199a08c5e9c25f7adea3 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/B612-Asteroid-Institute
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@55d5530224dd108a8729199a08c5e9c25f7adea3 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f64ab9b88338fe280d073e5aea9f3dd24e484a6812580025e9250bd190a90ecc
|
|
| MD5 |
5cc0cedda18695e501e4d2725fd57231
|
|
| BLAKE2b-256 |
fb43b5d420a2156f96494c278e75c3f79c8eab610f040d18c724515383277cba
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spicekit-0.2.0-cp311-cp311-win_amd64.whl -
Subject digest:
f64ab9b88338fe280d073e5aea9f3dd24e484a6812580025e9250bd190a90ecc - Sigstore transparency entry: 1429378576
- Sigstore integration time:
-
Permalink:
B612-Asteroid-Institute/spicekit@55d5530224dd108a8729199a08c5e9c25f7adea3 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/B612-Asteroid-Institute
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@55d5530224dd108a8729199a08c5e9c25f7adea3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file spicekit-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: spicekit-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 414.2 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9858100f4ceace2fccae6046a1a9198656116f5d21d0130ce8d41d2e54605876
|
|
| MD5 |
e70c98a47b05cc5c9895112b9d909a01
|
|
| BLAKE2b-256 |
0385950a8235974646bcbd625f4f8d15902154c7da2f298eb02216e3ab0509c4
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spicekit-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
9858100f4ceace2fccae6046a1a9198656116f5d21d0130ce8d41d2e54605876 - Sigstore transparency entry: 1429378578
- Sigstore integration time:
-
Permalink:
B612-Asteroid-Institute/spicekit@55d5530224dd108a8729199a08c5e9c25f7adea3 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/B612-Asteroid-Institute
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@55d5530224dd108a8729199a08c5e9c25f7adea3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file spicekit-0.2.0-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: spicekit-0.2.0-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 370.2 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b453ca41207131c1f1f3806ef7a2d545c517ee2c8f6972b9fc3b7d7a66596812
|
|
| MD5 |
ddb4bc43d1793c44f32eea04f6ba6220
|
|
| BLAKE2b-256 |
e1fcc13b0e44d84a1da4a2e0dbdc86ccc4d8554ecde17b9aa4bc159676163f1d
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spicekit-0.2.0-cp311-cp311-macosx_11_0_arm64.whl -
Subject digest:
b453ca41207131c1f1f3806ef7a2d545c517ee2c8f6972b9fc3b7d7a66596812 - Sigstore transparency entry: 1429378573
- Sigstore integration time:
-
Permalink:
B612-Asteroid-Institute/spicekit@55d5530224dd108a8729199a08c5e9c25f7adea3 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/B612-Asteroid-Institute
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@55d5530224dd108a8729199a08c5e9c25f7adea3 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8a0c2697e1149e151504eb04b200902a9ac4084f5d0c39f73e8e625316da290
|
|
| MD5 |
d508b23fbcb15e4dbf9db3faf5bfb0f5
|
|
| BLAKE2b-256 |
3d023a57f0f76c3ef4c69622a173e91a93faf9454620526dec298a4d314c4dad
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spicekit-0.2.0-cp310-cp310-win_amd64.whl -
Subject digest:
b8a0c2697e1149e151504eb04b200902a9ac4084f5d0c39f73e8e625316da290 - Sigstore transparency entry: 1429378569
- Sigstore integration time:
-
Permalink:
B612-Asteroid-Institute/spicekit@55d5530224dd108a8729199a08c5e9c25f7adea3 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/B612-Asteroid-Institute
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@55d5530224dd108a8729199a08c5e9c25f7adea3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file spicekit-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: spicekit-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 414.6 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9dcf8ec7d48df2fe640dfc4a081fac554022946cd4219902ee36fb3d93efaf1
|
|
| MD5 |
45afbde9870dcde8268abd8fe4694337
|
|
| BLAKE2b-256 |
89180c977139fb76427d2e90ecd439763d6dca089f7c469272e603de520cfc03
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spicekit-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl -
Subject digest:
d9dcf8ec7d48df2fe640dfc4a081fac554022946cd4219902ee36fb3d93efaf1 - Sigstore transparency entry: 1429378595
- Sigstore integration time:
-
Permalink:
B612-Asteroid-Institute/spicekit@55d5530224dd108a8729199a08c5e9c25f7adea3 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/B612-Asteroid-Institute
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@55d5530224dd108a8729199a08c5e9c25f7adea3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file spicekit-0.2.0-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: spicekit-0.2.0-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 370.3 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cad88be2bb4558ed53becad2523db3e351297418ba0775124a69bcf2d5342fb4
|
|
| MD5 |
53006819bb5a67956ca98ff802cf7368
|
|
| BLAKE2b-256 |
d2816993225eb1edcc1f49d4c4335108d573863c52dd637b0e7e865df2fe07cd
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
spicekit-0.2.0-cp310-cp310-macosx_11_0_arm64.whl -
Subject digest:
cad88be2bb4558ed53becad2523db3e351297418ba0775124a69bcf2d5342fb4 - Sigstore transparency entry: 1429378591
- Sigstore integration time:
-
Permalink:
B612-Asteroid-Institute/spicekit@55d5530224dd108a8729199a08c5e9c25f7adea3 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/B612-Asteroid-Institute
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@55d5530224dd108a8729199a08c5e9c25f7adea3 -
Trigger Event:
push
-
Statement type: