stacpkg
stacpkg copies assets from a STAC selection and checks the copied bytes. It keeps the Item metadata and source locations with the copy. Use it from Python or the command line to prepare data for workloads, workshops, or offline use.
Use
Requires Python 3.13.
pip install stacpkg
stacpkg items from-json selection.json \
| stacpkg relocate selection.pkg --target /data/selection/
stacpkg validate selection.pkg
Start with STAC Item or ItemCollection JSON from your STAC client. Relocation
checks the destination before writing the package. The package holds metadata
and an asset lock; the asset bytes are at /data/selection/.
For an offline handover, put the asset bytes inside the package:
stacpkg items from-json selection.json \
| stacpkg build offline.pkg --include-assets --include-metadata-assets
Credentials come from runtime settings. Supply Collection JSON to keep dataset descriptions with the selection. OCI push and pull are optional.
Documentation
- Create and share a package
- Relocate assets, including private S3 alternates
- CLI reference and package format
- Architecture and scope
- Published docs and local checks
Use make help for development commands. Apache License 2.0.
Metadata
Release files for stacpkg 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stacpkg-0.2.0.tar.gz | 47.6 kB | With provenance | Details for stacpkg-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stacpkg-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for stacpkg-0.2.0-py3-none-any.whl |
Total release size: 105.3 kB
Release files / stacpkg-0.2.0.tar.gz
| Download URL | stacpkg-0.2.0.tar.gz |
|---|---|
| Size | 47.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8fad4bd39956f64a0597ffbdc75bf1b2108f787f24de6a958d9ab13a16ee8c43
|
|
BLAKE2b-256 checksum How to use checksums |
b90cfd7c28ea18cf37a2bf5bc8038536654b43b8a3188c2f3c5e0e48bcc73e81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logRelease files / stacpkg-0.2.0-py3-none-any.whl
| Download URL | stacpkg-0.2.0-py3-none-any.whl |
|---|---|
| Size | 57.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0a7b77ebbde7da870dcafb13cec33f22f585d95eec5299200b20d5c822fa561f
|
|
BLAKE2b-256 checksum How to use checksums |
e504f698a46eca523784f8d790a2aa856839c841167227a1cf23edccd2f0a5a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logSecurity for stacpkg 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for stacpkg-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.