STAC Generator
Check out the documentation 📚
Examples of stac generator configs in csv/json/yaml
Overview
STAC is a json-based metadata standard for describing spatial-temporal assets, particularly satellite and Earth observation data. STAC allows users to quickly search, discover and use geospatial assets by providing a consistent structure for query and storage.
The stac_generator can be used as a cross-platform command line interface (CLI) program or a python library that combines automatically extracted geospatial information from raw assets and other user-provided metadata to build a STAC-compliant metadata record for further use. Generated STAC records can be saved locally or behind a STAC API-compliant server.
The stac_generator was developed as part of the Multiscalar Crop Characterisation Project (MCCN). Using the STAC generator to describe an asset collection is the first step in building a datacube with the MCCN engine.
Installation
Requirements: python3.11-3.12
STAC Generator can be installed directly from Pypi:
pip install pystac-generator
Note that if you want STAC Generator to be accessible from everywhere (outside the environment where it is installed), you can install STAC Generator with pipx instead of pip. To install pipx, visit this.
pipx install pystac-generator
Upgrade
Using pip:
pip install pystac-generator --upgrade
Using pipx:
pipx upgrade pystac-generator
For developers
We use pdm as the project's package manager.
Clone:
git clone https://github.com/aus-plant-phenomics-network/stac-generator.git
Install dependencies:
pdm install
Run tests:
make test
Run static analysis
make lint
Metadata
Release files for pystac-generator 0.4.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 |
|---|---|---|---|---|
| pystac_generator-0.4.0.tar.gz | 8.3 MB | Without provenance | Details for pystac_generator-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pystac_generator-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for pystac_generator-0.4.0-py3-none-any.whl |
Total release size: 17.9 MB
Release files / pystac_generator-0.4.0.tar.gz
| Download URL | pystac_generator-0.4.0.tar.gz |
|---|---|
| Size | 8.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eb56dd1333c81d8311be1b300e3488869e2a2ee835422c318ec9e7641d88b145
|
|
BLAKE2b-256 checksum How to use checksums |
3a86a6975c30d22871bdd4a8585a027d196bf898eb3daf49556699897a14f089
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.24.1 CPython/3.11.8 Linux/5.15.167.4-microsoft-standard-WSL2
|
Release files / pystac_generator-0.4.0-py3-none-any.whl
| Download URL | pystac_generator-0.4.0-py3-none-any.whl |
|---|---|
| Size | 9.5 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5b894d56be9663b58bf98f8207f6332d017e91c9525d05e6765cfa09185351f
|
|
BLAKE2b-256 checksum How to use checksums |
2c7b031878e8419b44ecb7fba582903ed6ade1a6545c207ac0c010bcf0c59b2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
pdm/2.24.1 CPython/3.11.8 Linux/5.15.167.4-microsoft-standard-WSL2
|
Security for pystac-generator 0.4.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.