Metadata-Version: 2.1
Name: pystac-generator
Version: 0.3.31
Summary: A python package and CLI tool for generating STAC catalog from spatial data files
Keywords: stac,generator,stac-generator
Author-Email: Joseph Sclauzero <joseph.sclauzero@adelaide.edu.au>
License: MIT
Project-URL: repository, https://github.com/JosephUoA/stac-generator
Requires-Python: >=3.11
Requires-Dist: pystac>=1.10.1
Requires-Dist: jsonschema>=4.23.0
Requires-Dist: rasterio>=1.4.1
Requires-Dist: geopandas>=1.0.1
Requires-Dist: httpx>=0.27.2
Requires-Dist: stac-pydantic>=3.1.2
Requires-Dist: fiona>=1.10.1
Requires-Dist: timezonefinder>=6.5.5
Requires-Dist: click>=8.1.8
Requires-Dist: rich-argparse>=1.7.0
Requires-Dist: pyyaml>=6.0.2
Description-Content-Type: text/markdown

# stac-generator

Documentation [page](https://aus-plant-phenomics-network.github.io/stac-generator/)

Examples of stac generator [configs](./example/configs/) in csv/json/yaml

Examples of generated stac items for [point]() data, [vector]() data, [raster]() data

## CLI Commands

Generating collection and push to remote

```bash
pdm run stac_generator https://object-store.rc.nectar.org.au/v1/AUTH_2b454f47f2654ab58698afd4b4d5eba7/mccn-test-data/OZBarley/remote_config.json --dst http://203.101.227.130:8082 --id OZBarleyTestData
```


## For developers

Clone:

```bash
git clone https://github.com/aus-plant-phenomics-network/stac-generator.git
```

Install dependencies:

```bash
pdm install
```

Run tests:

Note that you may need to set the environment variable `REMOTE_FIXTURE_URL` either through commands or via a `.env` file. The value of this variable
can be found on the github [repository](https://github.com/aus-plant-phenomics-network/stac-generator/settings/environments/4607709709/edit) under Settings - Environments - Environment Variables.

```bash
make test
```

Run static analysis

```bash
make lint
```
