A python package and CLI tool for generating STAC catalog from spatial data files
Project description
stac-generator
Install Package
pip install pystac_generator
Note: stac-generator name is already used by someone else.
Run as CLI
stac_generator --help
Run as python package
from stac_generator.generator_factor import StacGeneratorFactory
Run the current example
Note that you will need to either clone the repository or download the example directory in the repository
To run the example as CLI
stac_generator csv example/csv/source_config.csv --id point_data --to_local generated
To run the example as python module: see the notebook
Install pdm and all packages
make install
Adding a new dependency
pdm add <package>
Adding a new dependency under a dependency group:
pdm add -dG <group> <package>
Remove a dependency
pdm remove <package>
Serve docs locally
make docs
Fixing CI
Run the linter. This runs all methods in pre-commit - i.e. checking for exports, format the code, etc, followed by mypy. This has a one to one correspondence with validate-ci
make lint
Run tests. This runs all tests using pytest. This has a one to one correspondence with test-ci
make test
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pystac_generator-0.1.11.tar.gz
(18.6 kB
view hashes)
Built Distribution
Close
Hashes for pystac_generator-0.1.11-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a32afe521d70fd43d82342c517bbf292b4abb604355d4843f804e05fa01627c |
|
MD5 | 8449533180359371e4bd9fbdc136f240 |
|
BLAKE2b-256 | 5deb08bd04879ee3607b12fb61645e9cbaaf0f6cb36bfc01773f4137a7f88ecd |