• Stars
    star
    214
  • Rank 178,707 (Top 4 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 4 years ago
  • Updated 29 days ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

STAC API implementation with FastAPI.

FastAPI implemention of the STAC API spec.

Test Package version License


Documentation: https://stac-utils.github.io/stac-fastapi/

Source Code: https://github.com/stac-utils/stac-fastapi


Python library for building a STAC compliant FastAPI application. The project is split up into several namespace packages:

  • stac_fastapi.api: An API layer which enforces the stac-api-spec.
  • stac_fastapi.extensions: Abstract base classes for STAC API extensions and third-party extensions.
  • stac_fastapi.types: Shared types and abstract base classes used by the library.

Backends

Backends are hosted in their own repositories:

stac-fastapi was initially developed by arturo-ai.

Installation

# Install from PyPI
pip install stac-fastapi.api stac-fastapi.types stac-fastapi.extensions

# Install a backend of your choice
pip install stac-fastapi.sqlalchemy
# or
pip install stac-fastapi.pgstac

Other backends may be available from other sources, search PyPI for more.

Development

Install the packages in editable mode:

pip install -e \
  'stac_fastapi/api[dev]' \
  'stac_fastapi/types[dev]' \
  'stac_fastapi/extensions[dev]'

To run the tests:

pytest

More Repositories

1

pystac

Python library for working with any SpatioTemporal Asset Catalog (STAC)
Python
312
star
2

pystac-client

Python client for searching STAC APIs
Python
141
star
3

pgstac

Schema, functions and a python library for storing and accessing STAC collections and items in PostgreSQL
PLpgSQL
119
star
4

stactools

Command line utility and Python library for STAC
Python
103
star
5

titiler-pgstac

TiTiler + PgSTAC
Python
66
star
6

stac-server

A Node-based STAC API, AWS Serverless, OpenSearch
JavaScript
64
star
7

qgis-stac-plugin

QGIS plugin for reading STAC APIs
Python
63
star
8

xstac

STAC from xarray
Python
51
star
9

stac-pydantic

Pydantic data models for the STAC spec
Python
49
star
10

stac-layer

Visualize a STAC Item or Collection on a Leaflet Map
HTML
45
star
11

stac-validator

Validator for the stac-spec
HTML
43
star
12

stac-geoparquet

Python
43
star
13

xpystac

For extending xarray.open_dataset to accept pystac objects
Python
30
star
14

stac-fastapi-pgstac

PostgreSQL backend for stac-fastapi using pgstac (https://github.com/stac-utils/pgstac)
Python
29
star
15

stac-asset

Read and download STAC Assets, using a variety of authentication schemes
Python
21
star
16

stac-vrt

Python
21
star
17

stac-fastapi-elasticsearch-opensearch

Elasticsearch backend for stac-fastapi with Opensearch support.
Python
20
star
18

stac-check

Linting and validation tool for STAC assets
HTML
15
star
19

stac4s

a scala library with primitives to build applications using the SpatioTemporal Asset Catalogs specification
Scala
15
star
20

stac-task

Provides a class interface for running custom algorithms on STAC ItemCollections
Python
14
star
21

stac-terminal

Output info on STAC Items in the terminal
Python
13
star
22

stac-node-validator

Simple validator for STAC Items, Catalogs, and Collections. STAC 1.0.0 compliant!
JavaScript
13
star
23

stac-api-validator

A STAC API validation client
Python
13
star
24

stac-fastapi-sqlalchemy

PostgreSQL backend for stac-fastapi using SQLAlchemy
Python
9
star
25

stac-api-benchmark

STAC API Benchmark
Python
8
star
26

stac-index

A service that lists all available and registered STAC catalogs and APIs.
JavaScript
6
star
27

stac-migrate

A tool to migrate Items, Catalogs and Collections from old versions to the most recent one.
JavaScript
6
star
28

stac-crosswalks

Common metadata crosswalks to help people map from their existing data into STAC
6
star
29

stac-fields

A minimal STAC library that contains a list of STAC fields with some metadata and helper functions for styling as HTML.
JavaScript
6
star
30

stac-table

Python
5
star
31

stac-ecosystem

Collaboration space for the broader STAC software and data ecosystem
5
star
32

stac-sentinel

STAC Collections and Items for Sentinel data
Python
3
star
33

developer-guide

Developer guide for stac-utils
Python
2
star
34

stac-examples

A small repository of real world STAC collections and items, to let users get a sense of how STAC is used, without having to dive deep into huge catalogs.
2
star