Skip to content

rustac

The rustac logo

The power of Rust for the Python STAC ecosystem.

Tip

We pronounce rustac "ruh-stac"

Note

Until 2025-04-17, this package was named stacrs. See this RFC for context on the name change.

Installation

python -m pip install rustac

If you'd like to use arrow tables, e.g. to load into GeoPandas:

python -m pip install 'rustac[arrow]'

Usage

import asyncio
import rustac

def main() -> None:
    item = await rustac.read("item.json")

asyncio.run(main())

For more, see our examples.

Acknowledgements

We'd like to thank @jkeifer, @parksjr, and @Xenocide122 (all from @Element84) for creating the rustac logo from an AI-generated image from this prompt:

There is a library for working with STAC metadata that is written in rust called rustac: https://github.com/stac-utils/rustac. That name sounds like the word "rustic", and is meant to envoke (sic) an image of "a cabin and a glass of neat whisky".