This project has been archived by its maintainers, and is no longer receiving any updates.
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 Poetry
Ensure you have Poetry installed. If not, install it:
curl -sSL https://install.python-poetry.org | python3 -
Add Poetry to your system's PATH:
-
For Unix/MacOS:
export PATH="$HOME/.local/bin:$PATH"
Add the above line to your shell configuration file (
~/.bashrc,~/.bash_profile, or~/.zshrc) to make it permanent. -
For Windows:
Add the path to your
PATHenvironment variable through the system environment variable settings.
Install
Navigate to the src/server directory and install the dependencies (in a virtual
environment) using Poetry:
python3 -m venv env
source env/bin/activate
cd src/server
poetry install
Metadata
Release files for federated-collection-discovery 0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| federated_collection_discovery-0.tar.gz | 10.7 kB | Without provenance | Details for federated_collection_discovery-0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| federated_collection_discovery-0-py3-none-any.whl | Python 3 | none | any | Details for federated_collection_discovery-0-py3-none-any.whl |
Total release size: 24.1 kB
Release files / federated_collection_discovery-0.tar.gz
| Download URL | federated_collection_discovery-0.tar.gz |
|---|---|
| Size | 10.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a9fcec1b1720943a1714771b86a054dfdb6a4a249bdc1796ad1c8d89fac3ecd1
|
|
BLAKE2b-256 checksum How to use checksums |
9bd22203e8ff1e97c06ba8c68c060c4248b8188d1c1da462015b1a832e996e3a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Release files / federated_collection_discovery-0-py3-none-any.whl
| Download URL | federated_collection_discovery-0-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
97165eadc4aa8f3aadbdadffe719aeb88454d23c15813d6231d4b3bacae17477
|
|
BLAKE2b-256 checksum How to use checksums |
b5671c7069af67c4dc07ca4ccc66d77286e7a5c884f1884c046799ecf213bea0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.0 CPython/3.12.5
|
Security for federated-collection-discovery 0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.