stac-fastapi-geoparquet
A stac-fastapi with a stac-geoparquet backend.
stac-fastapi-geoparquet can serve a full-featured STAC API from one or more stac-geoparquet files located (e.g.) in blob storage — no database required.
Usage
To start a STAC API server pointing to a single stac-geoparquet file:
$ python -m pip install 'stac-fastapi-geoparquet[serve]'
$ STAC_FASTAPI_GEOPARQUET_HREF=data/naip.parquet uvicorn stac_fastapi.geoparquet.main:app
INFO: Started server process [47920]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
This will start the server on http://127.0.0.1:8000. The collection will be auto-generated from the items in the stac-geoparquet file.
Using collections
Instead of providing the href to a single file, you can provide the href to a file containing a JSON list of collections.
Any collection assets with a application/vnd.apache.parquet type field will be added to the server as sources of items.
For an example, see data/collections.json.
To start a server with one or more collections:
$ STAC_FASTAPI_COLLECTIONS_HREF=data/collections.json uvicorn stac_fastapi.geoparquet.main:app
INFO: Started server process [47920]
INFO: Waiting for application startup.
INFO: Application startup complete.
INFO: Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
To auto-generate the collections file, we provide a script:
scripts/generate-collections s3://my-bucket/a.parquet s3://my-bucket/b.parquet
This will update ./data/collections.json.
Limitations
- Currently, only supports one collection per file (tracking issue: https://github.com/stac-utils/stac-fastapi-geoparquet/issues/27)
Development
Get uv, then:
git clone git@github.com:stac-utils/stac-fastapi-geoparquet.git
cd stac-fastapi-geoparquet
uv sync
To run the tests:
uv run pytest
Metadata
Release files for stac-fastapi-geoparquet 0.0.7
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 |
|---|---|---|---|---|
| stac_fastapi_geoparquet-0.0.7.tar.gz | 16.1 kB | With provenance | Details for stac_fastapi_geoparquet-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stac_fastapi_geoparquet-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for stac_fastapi_geoparquet-0.0.7-py3-none-any.whl |
Total release size: 28.9 kB
Release files / stac_fastapi_geoparquet-0.0.7.tar.gz
| Download URL | stac_fastapi_geoparquet-0.0.7.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
77fdf830dabdc6a2d4e0cafc8831b763ad57f4695772056f87f7ec62d5712a9b
|
|
BLAKE2b-256 checksum How to use checksums |
f0cedebf13df27ccc2a9d0b030b863066ac235a2968d4828693e675ee0ddabf3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logRelease files / stac_fastapi_geoparquet-0.0.7-py3-none-any.whl
| Download URL | stac_fastapi_geoparquet-0.0.7-py3-none-any.whl |
|---|---|
| Size | 12.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a2f9a1c4fbc5479b1b8a0488d7e3641efcdc3fd18033b78e91ef84102377ce41
|
|
BLAKE2b-256 checksum How to use checksums |
dde94ffe8383587a5bd17818b5f870ffe71dbefa736d4a691705f1b8157e9190
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logSecurity for stac-fastapi-geoparquet 0.0.7
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for stac_fastapi_geoparquet-0.0.7.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 21, 2026.
Transparency logA 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.