Python utility to allow JSON kernels in SpiceyPy.
Project description
json-spice
Python utility to allow JSON kernels in SpiceyPy
A work in progress!!
Example
import jsonspice # import first to monkeypatch spiceypy
import spiceypy
spiceypy.furnsh('de-403-masses.tpc') # normal kernel
spiceypy.furnsh('test.json') # also works with JSON kernels
spiceypy.furnsh({"BODY8_GM": 6836534.064}) # also works with dicts
spiceypy.furnsh({"time": '@1972-JAN-1'}) # SPICE @ syntax for time (see .fk files)
spiceypy.furnsh({"+abc": [4,5,6]}) # SPICE += syntax to append
See also
- NAIF -- NASA's Navigation and Ancillary Information Facility
- SpiceyPy -- SpiceyPy: a Pythonic Wrapper for the SPICE Toolkit
- J. Williams, JSON + SPICE, Feb 5, 2018 (degenerateconic.com)
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
Built Distribution
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 jsonspice-0.1.0.tar.gz.
File metadata
- Download URL: jsonspice-0.1.0.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ac6cb608b54390e12fb87c315b989ca22ab1ac98ec22877ddc7c9c1e3aac05c
|
|
| MD5 |
c7ce921a2cc1ec611822ca21a2170657
|
|
| BLAKE2b-256 |
602c2746d05563c3503b3b41103c96fc69523ac125562a634c5573f7b2220a57
|
Provenance
The following attestation bundles were made for jsonspice-0.1.0.tar.gz:
Publisher:
publish.yml on jacobwilliams/jsonspice
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jsonspice-0.1.0.tar.gz -
Subject digest:
1ac6cb608b54390e12fb87c315b989ca22ab1ac98ec22877ddc7c9c1e3aac05c - Sigstore transparency entry: 202975265
- Sigstore integration time:
-
Permalink:
jacobwilliams/jsonspice@7e02d9c14fb952e1a37aad40f107619afd99ba26 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/jacobwilliams
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7e02d9c14fb952e1a37aad40f107619afd99ba26 -
Trigger Event:
release
-
Statement type:
File details
Details for the file jsonspice-0.1.0-py3-none-any.whl.
File metadata
- Download URL: jsonspice-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
429a283ede61fc61e5e8c57486fcd66f9cad393b7a4f6194c7b158c197f0d6cd
|
|
| MD5 |
0c0df3d6f824aca3f1b4443a7302bd1f
|
|
| BLAKE2b-256 |
16cb52f8addc75e4420e3a0fa5f23cdebef8ba3675c0b975fc49d19caa78ea94
|
Provenance
The following attestation bundles were made for jsonspice-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on jacobwilliams/jsonspice
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
jsonspice-0.1.0-py3-none-any.whl -
Subject digest:
429a283ede61fc61e5e8c57486fcd66f9cad393b7a4f6194c7b158c197f0d6cd - Sigstore transparency entry: 202975269
- Sigstore integration time:
-
Permalink:
jacobwilliams/jsonspice@7e02d9c14fb952e1a37aad40f107619afd99ba26 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/jacobwilliams
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@7e02d9c14fb952e1a37aad40f107619afd99ba26 -
Trigger Event:
release
-
Statement type: