• Stars
    star
    242
  • Rank 167,048 (Top 4 %)
  • Language
    Python
  • License
    MIT License
  • Created over 4 years ago
  • Updated 27 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
337
star
2

pystac-client

Python client for searching STAC APIs
Python
150
star
3

pgstac

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

stactools

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

titiler-pgstac

TiTiler + PgSTAC
Python
77
star
6

stac-server

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

stac-geoparquet

Convert STAC items between JSON, GeoParquet, pgstac, and Delta Lake.
Python
70
star
8

qgis-stac-plugin

QGIS plugin for reading STAC APIs
Python
69
star
9

stac-pydantic

Pydantic data models for the STAC spec
Python
61
star
10

xstac

STAC from xarray
Python
55
star
11

stac-fastapi-pgstac

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

stac-layer

Visualize a STAC Item or Collection on a Leaflet Map
HTML
47
star
13

stac-validator

Validator for the stac-spec
HTML
45
star
14

xpystac

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

stac-fastapi-elasticsearch-opensearch

Elasticsearch backend for stac-fastapi with Opensearch support.
Python
29
star
16

stac-asset

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

stac-vrt

Python
21
star
18

stac-check

Linting and validation tool for STAC assets
HTML
17
star
19

stac-api-validator

A STAC API validation client
Python
17
star
20

stac-terminal

Output info on STAC Items in the terminal
Python
16
star
21

stac4s

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

stac-task

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

stac-node-validator

Simple validator for STAC Items, Catalogs, and Collections. STAC 1.0.0 compliant!
JavaScript
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