• Stars
    star
    337
  • Rank 125,272 (Top 3 %)
  • Language
    Python
  • License
    Other
  • Created almost 7 years ago
  • Updated 3 months ago

Reviews

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

Repository Details

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

PySTAC

Build Status PyPI version Conda (channel only) Documentation codecov Gitter License

PySTAC is a library for working with the SpatioTemporal Asset Catalog specification in Python 3.

Installation

Install from PyPi (recommended)

pip install pystac

If you would like to enable the validation feature utilizing the jsonschema project, install with the optional validation requirements:

pip install 'pystac[validation]'

If you would like to use the orjson instead of the standard json library for JSON serialization/deserialization, install with the optional orjson requirements:

pip install 'pystac[orjson]'

If you would like to use a custom RetryStacIO class for automatically retrying network requests when reading with PySTAC, you'll need urllib3:

pip install 'pystac[urllib3]'

Install from source

git clone https://github.com/stac-utils/pystac.git
cd pystac
pip install .

See the installation page for more options.

Documentation

See the documentation page for the latest docs.

Developing

See contributing docs for details on contributing to this project.

Running the quickstart and tutorials

There is a quickstart and tutorials written as jupyter notebooks in the docs/tutorials folder. To run the notebooks, run a jupyter notebook with the docs directory as the notebook directory:

jupyter notebook --ip 0.0.0.0 --port 8888 --notebook-dir=docs

You can then navigate to the notebooks and execute them.

Requires Jupyter be installed.

More Repositories

1

stac-fastapi

STAC API implementation with FastAPI.
Python
242
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