Skip to main content

An application for discovering collections from multiple STAC APIs and/or CMRs

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

federated_collection_discovery-0.1.9.tar.gz (15.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

federated_collection_discovery-0.1.9-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file federated_collection_discovery-0.1.9.tar.gz.

File metadata

File hashes

Hashes for federated_collection_discovery-0.1.9.tar.gz
Algorithm Hash digest
SHA256 733bfffe267e13f320f95e7b72eb13bec7d24589bb1f47c452c3f0573aefdcb5
MD5 f6798d2f33497f3e613b9338d8780d18
BLAKE2b-256 cb81fba3d2b65a3dd3dc81e44613d2a80150af5e3732bd61a1ef2cf4e1b3ad06

See more details on using hashes here.

Provenance

The following attestation bundles were made for federated_collection_discovery-0.1.9.tar.gz:

Publisher: ci.yaml on developmentseed/federated-collection-discovery

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file federated_collection_discovery-0.1.9-py3-none-any.whl.

File metadata

File hashes

Hashes for federated_collection_discovery-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 7e4ad984aa78906e7dc134347d6d3fabcc9b8cf37e00e60573f55265b3bf9af2
MD5 8153c0c61c15fe5c73d85594e51c0b93
BLAKE2b-256 328a87e3e142fea5a27691c3a28f372805397885f5a4681e165afe6782b85e29

See more details on using hashes here.

Provenance

The following attestation bundles were made for federated_collection_discovery-0.1.9-py3-none-any.whl:

Publisher: ci.yaml on developmentseed/federated-collection-discovery

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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