An application for discovering collections from multiple STAC APIs and/or CMRs
Project description
Federated Collection Discovery
An application for discovering geospatial data collections from multiple STAC APIs and/or CMRs.
Installation
The package can be installed from pypi, optionally with uvicorn
for
serving the application locally:
for uvicorn
:
pip install federated-collection-discovery[uvicorn]
If you are going to run the application in an AWS Lambda function,
install the aws_lambda
extras in the build context:
pip install federated-collection-discovery[aws_lambda]
Usage
To run the FastAPI application, set the FEDERATED_STAC_API_URLS
environment variable
and/or the FEDERATED_CMR_URLS
environment variable, then launch it with uvicorn
:
MAAP_API=https://stac.maap-project.org/
VEDA_API=https://openveda.cloud/api/stac/
ESA_API=https://catalogue.dataspace.copernicus.eu/stac
FEDERATED_STAC_API_URLS=${MAAP_API},${VEDA_API},${ESA_API} \
uvicorn federated_collection_discovery.main:app --host 0.0.0.0 --port 8000
Development
Clone the repo
git clone git@github.com:developmentseed/federated-collection-discovery.git
cd federated-collection-discovery
Install uv
Ensure you have uv installed. If not, install it:
# install uv
# unix
curl -LsSf https://astral.sh/uv/install.sh | sh
# or on windows
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"
Install federated_collection_discovery
Navigate to the src/server
directory and install the dependencies (in a virtual
environment) using Poetry:
uv sync --all-extras
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
Built Distribution
Hashes for federated_collection_discovery-0.1.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b00d4e4f22ca4d5ecc4cbea7593aa3764bc355895c5ac173de6034ffd13f5ff6 |
|
MD5 | 9b6e358e75e2ee3660b9fdd56b4fd985 |
|
BLAKE2b-256 | 16fae2629c85c929226be3cc613532887abbb8581213f9c0fb99ca6536a42cc5 |
Hashes for federated_collection_discovery-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e0df7930a56e204a5b4ae444d66f9fea1a321f39523fdf85715e5ad293cc34ba |
|
MD5 | f6a55a14d77ff1cf5ba89d2fd2b131ce |
|
BLAKE2b-256 | 07bb8a35b9ef23dd03600f6daf1d97f7707ccabef507a3db75fbebec940a3460 |