Skip to main content

A python package and CLI tool for generating STAC catalog from spatial data files

Project description

stac-generator

Run example

First install packages. Once completed, active the environment with

source .venv/bin/activate

Run the example csv:

python main.py csv example/csv/source_config.csv --to_local example/generated --id csv_point_data

View CLI help

python main.py --help

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


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.3.tar.gz (18.4 kB view hashes)

Uploaded Source

Built Distribution

pystac_generator-0.1.3-py3-none-any.whl (22.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page