Skip to main content

A STAC command-line interface written in Rust

Project description

stac-cli

GitHub Workflow Status docs.rs Crates.io Crates.io Contributor Covenant

Command Line Interface (CLI) for STAC, named stacrs.

Installation

cargo install stac-cli

Or:

# NOTE: The version from PyPI does not include GDAL or DuckDB support. If you
# need to use these features, install via `cargo install` (GDAL is enabled by
# default) or `cargo install -F duckdb` (DuckDB is not).
pip install stacrs-cli

Then:

stacrs --help

Usage

stacrs provides the following subcommands:

  • stacrs item: create STAC items and combine them into item collections
  • stacrs migrate: migrate a STAC object to another version
  • stacrs search: search STAC APIs (and geoparquet, with the experimental duckdb feature)
  • stacrs serve: serve a STAC API (optionally, with a pgstac backend)
  • stacrs translate: convert STAC values from one format to another
  • stacrs validate: validate STAC items, catalogs, and collections using json-schema

Use the --help flag to see all available options for the CLI and the subcommands:

Features

This crate has five features, three of them on by default:

  • duckdb: experimental support for querying stac-geoparquet files using DuckDB
  • gdal: read geospatial data from rasters (enabled by default)
  • geoparquet: read and write stac-geoparquet (enabled by default)
  • pgstac: enable a pgstac backend for stacrs serve (enabled by default)
  • python: create an entrypoint that can be called from Python (used to enable pip install stacrs-cli)

If you don't want to use GDAL or any of the other default features:

cargo install stac-cli --no-default-features

Other info

This crate is part of the stac-rs monorepo, see its README for contributing and license information.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stacrs_cli-0.3.1.tar.gz (1.5 MB view details)

Uploaded Source

Built Distributions

stacrs_cli-0.3.1-cp312-none-win_amd64.whl (8.7 MB view details)

Uploaded CPython 3.12 Windows x86-64

stacrs_cli-0.3.1-cp312-none-win32.whl (7.9 MB view details)

Uploaded CPython 3.12 Windows x86

stacrs_cli-0.3.1-cp312-cp312-manylinux_2_34_x86_64.whl (12.6 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.34+ x86-64

stacrs_cli-0.3.1-cp312-cp312-macosx_11_0_arm64.whl (8.9 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

stacrs_cli-0.3.1-cp312-cp312-macosx_10_12_x86_64.whl (9.3 MB view details)

Uploaded CPython 3.12 macOS 10.12+ x86-64

stacrs_cli-0.3.1-cp311-none-win_amd64.whl (8.7 MB view details)

Uploaded CPython 3.11 Windows x86-64

stacrs_cli-0.3.1-cp311-none-win32.whl (7.9 MB view details)

Uploaded CPython 3.11 Windows x86

stacrs_cli-0.3.1-cp311-cp311-macosx_11_0_arm64.whl (8.9 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

stacrs_cli-0.3.1-cp311-cp311-macosx_10_12_x86_64.whl (9.3 MB view details)

Uploaded CPython 3.11 macOS 10.12+ x86-64

stacrs_cli-0.3.1-cp310-none-win_amd64.whl (8.7 MB view details)

Uploaded CPython 3.10 Windows x86-64

stacrs_cli-0.3.1-cp310-none-win32.whl (7.9 MB view details)

Uploaded CPython 3.10 Windows x86

stacrs_cli-0.3.1-cp310-cp310-manylinux_2_34_x86_64.whl (12.6 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.34+ x86-64

stacrs_cli-0.3.1-cp310-cp310-macosx_11_0_arm64.whl (8.9 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

stacrs_cli-0.3.1-cp39-none-win_amd64.whl (8.7 MB view details)

Uploaded CPython 3.9 Windows x86-64

stacrs_cli-0.3.1-cp39-none-win32.whl (7.9 MB view details)

Uploaded CPython 3.9 Windows x86

stacrs_cli-0.3.1-cp39-cp39-macosx_11_0_arm64.whl (8.9 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

stacrs_cli-0.3.1-cp38-none-win_amd64.whl (8.7 MB view details)

Uploaded CPython 3.8 Windows x86-64

stacrs_cli-0.3.1-cp38-none-win32.whl (7.9 MB view details)

Uploaded CPython 3.8 Windows x86

File details

Details for the file stacrs_cli-0.3.1.tar.gz.

File metadata

  • Download URL: stacrs_cli-0.3.1.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: maturin/1.7.1

File hashes

Hashes for stacrs_cli-0.3.1.tar.gz
Algorithm Hash digest
SHA256 3703524d72005ccbd960252be894fdbb4794fd8d822cd68228f3aa6545cfe9ea
MD5 7f10e10087e0a2ea588fa99ff1245b65
BLAKE2b-256 38d196fd81cb1b9f66b74ad3ecbab56e0a8590bf39cab75df1b16ac7a6d2a3fd

See more details on using hashes here.

Provenance

File details

Details for the file stacrs_cli-0.3.1-cp312-none-win_amd64.whl.

File metadata

File hashes

Hashes for stacrs_cli-0.3.1-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 3c85ce71d348808741d8e6ff5f07f6a0cbc87bf4cb8b25b8e32e31cf6e5fe59b
MD5 8b5a78b2f8981f7db83e58a87999c19c
BLAKE2b-256 b1231d94cbae7e12e6402ff738f6f493023847d57f942bc84e5ef9f19683da85

See more details on using hashes here.

Provenance

File details

Details for the file stacrs_cli-0.3.1-cp312-none-win32.whl.

File metadata

File hashes

Hashes for stacrs_cli-0.3.1-cp312-none-win32.whl
Algorithm Hash digest
SHA256 b18caad2df0afa42033693a2eb8ff7e4454afb6f3da5014cb66dc98e318d5a9f
MD5 91e786d96a6b0cda3a0b6713deef625e
BLAKE2b-256 6f2fc43e04763547efac2e6bb089d9c58c4ed67f78e4bdb4507291cc89fc14f6

See more details on using hashes here.

Provenance

File details

Details for the file stacrs_cli-0.3.1-cp312-cp312-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for stacrs_cli-0.3.1-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 7772a42086ea1ed36e5c093b7c7611af2167dde1cc5993e5fb7e581a63cce610
MD5 d4dfe3ca587e72d502d84a2b5377e129
BLAKE2b-256 4cc7e59e43e7dd040bfcf2d1f763b7697dcd451529b09be1d248a483a81b3f7b

See more details on using hashes here.

Provenance

File details

Details for the file stacrs_cli-0.3.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for stacrs_cli-0.3.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b6d4e3e7f71e3a37d94cd4c396e1b42a34ac119ad1701efdc97dbbda862b5ee4
MD5 331d2f81f8cc26c4f6bb35b38eaf2548
BLAKE2b-256 5dbbab39f2520316e76bbf0d07859bcc152b6e4cc9c13088d0133b055103f913

See more details on using hashes here.

Provenance

File details

Details for the file stacrs_cli-0.3.1-cp312-cp312-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for stacrs_cli-0.3.1-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 22b1b6b404a7cc6c81dd144e914fc938fae5b07191c23e67fd0fc2f6aef67402
MD5 fa341ed18d0490255aec68f8a2bc385e
BLAKE2b-256 c7283f3f9dadaafa7be12ebf315a902e20e4724d57302865cf6932ad6ed9785e

See more details on using hashes here.

Provenance

File details

Details for the file stacrs_cli-0.3.1-cp311-none-win_amd64.whl.

File metadata

File hashes

Hashes for stacrs_cli-0.3.1-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 d109ade4ffcaa1ee0ee72fd19420c0cba5eaa1e3126f37f24dc2736797869c4b
MD5 34be38c0c811f72cb4b5e68cc0ac1ca1
BLAKE2b-256 b93b7762ad4b272273e6773666c6e3337d9d6da67ae4a015c4dda8b63aa4aa22

See more details on using hashes here.

Provenance

File details

Details for the file stacrs_cli-0.3.1-cp311-none-win32.whl.

File metadata

File hashes

Hashes for stacrs_cli-0.3.1-cp311-none-win32.whl
Algorithm Hash digest
SHA256 1faf943f2bfb78ac07494b28169a5ab65253dc3de6ce322ebd792860117666f7
MD5 c6db244eac2d67f66bba6ba3b0f3df2b
BLAKE2b-256 a675a1cf9bf3a80f65aacd0c981a418a3114cdd2667e1e054705b09f4eca3f6d

See more details on using hashes here.

Provenance

File details

Details for the file stacrs_cli-0.3.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for stacrs_cli-0.3.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3b667e5273cdf354ebfd339ea3d064aff32f49f84a16956014b5119e16870413
MD5 e16034f42dcaf5e7141c5caa1989e857
BLAKE2b-256 e88369919bb00e801b08ca0262250a6fe46e4e30cbc801d31cc6fdfad810ba33

See more details on using hashes here.

Provenance

File details

Details for the file stacrs_cli-0.3.1-cp311-cp311-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for stacrs_cli-0.3.1-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 2419bf8e9833a664b8537432f8b07f4f2a3ff98a2227323ae5015e882796873e
MD5 cae55eac4c6f03f6dea0f5c87e59e0af
BLAKE2b-256 0ff3c6625aab4ca09bfaba42bebc2c37ab959e3a73b87c397086326090dfbb54

See more details on using hashes here.

Provenance

File details

Details for the file stacrs_cli-0.3.1-cp310-none-win_amd64.whl.

File metadata

File hashes

Hashes for stacrs_cli-0.3.1-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 e09e2f96310869501f6c27dabed8fa91ce73014f7b41e17518b6a3c8474eb524
MD5 7f05223ce0af0f2fa944a6c138e93d4f
BLAKE2b-256 9ac7be7fd944348d31233fc36755354a2364d960e5c80bb9c72a206cefa07d8d

See more details on using hashes here.

Provenance

File details

Details for the file stacrs_cli-0.3.1-cp310-none-win32.whl.

File metadata

File hashes

Hashes for stacrs_cli-0.3.1-cp310-none-win32.whl
Algorithm Hash digest
SHA256 723eb242e5dcb79f62f6c6f8adcd3c0f75f9209d361c2f8d0875d46ed6543240
MD5 0475ede8a136433583284fe9596ec447
BLAKE2b-256 d17d069641565dbb474a00f91fad9c48c633c1efb41de8905eb552771a62e5df

See more details on using hashes here.

Provenance

File details

Details for the file stacrs_cli-0.3.1-cp310-cp310-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for stacrs_cli-0.3.1-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 16e2884227783a308b6b3e47e2ac1ae30d9be42b896c1b145eaf57596f3d88ec
MD5 65dc76f3141a60c23c948ba8cd03260b
BLAKE2b-256 abe26a01c4c99ed05401330c824c6b1fa6ed3c84b70a07080caef4ff42c06583

See more details on using hashes here.

Provenance

File details

Details for the file stacrs_cli-0.3.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for stacrs_cli-0.3.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6c9d9acca96f3bd5a63904b673f130b25bceb3b092281c7e7740dcf0ca366fdc
MD5 544684b3605e087be823c34565bf6243
BLAKE2b-256 df7ed222af226f1b9a823c825596cf0f9e5e45259319f34e62d4f80381d207e6

See more details on using hashes here.

Provenance

File details

Details for the file stacrs_cli-0.3.1-cp39-none-win_amd64.whl.

File metadata

File hashes

Hashes for stacrs_cli-0.3.1-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 54f050a922a6a16c58c7a8f3f3438f16d8f52ba4713a35284f3ccec66d552e6f
MD5 40ab48a9df78274537269d453dc8cb86
BLAKE2b-256 0a45f296c5fd203f46b281e94b34bb1da17955369e2f7f635709c9af3f69fe17

See more details on using hashes here.

Provenance

File details

Details for the file stacrs_cli-0.3.1-cp39-none-win32.whl.

File metadata

File hashes

Hashes for stacrs_cli-0.3.1-cp39-none-win32.whl
Algorithm Hash digest
SHA256 7af8f8a262456a01e4f514617cbd5ccc94b66607a0d84f25056143a45eb1f8bd
MD5 b526c023bc2a138117b8069c196e0c7e
BLAKE2b-256 013e4db306e54c8a23ac64700c54201e9e6fdc4a42bcb93523096c7f632043a0

See more details on using hashes here.

Provenance

File details

Details for the file stacrs_cli-0.3.1-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for stacrs_cli-0.3.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1287485b29d516634fb44e1dc7d54a0dd18ba2a461b498223d70a0d42d924024
MD5 9d295f69b1612e149b58d0aca1b0b82f
BLAKE2b-256 4b501ad25dbedcf01cef05485a803ad8461df02560777810a99d325e16b378a9

See more details on using hashes here.

Provenance

File details

Details for the file stacrs_cli-0.3.1-cp38-none-win_amd64.whl.

File metadata

File hashes

Hashes for stacrs_cli-0.3.1-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 0559dc2bfe7f1e8155f112c0024e07ecb4bcfd68069e34f793b1ecf3f486ba22
MD5 b8038a17d9b9fc0532fedf17220d5677
BLAKE2b-256 2577dbe0c8340e2c4b050e98fba1e5ef2ba5ff78f63250e621c6125260dbfa2e

See more details on using hashes here.

Provenance

File details

Details for the file stacrs_cli-0.3.1-cp38-none-win32.whl.

File metadata

File hashes

Hashes for stacrs_cli-0.3.1-cp38-none-win32.whl
Algorithm Hash digest
SHA256 73b4d2b078097ca81da52d2f1c444dbb86b04a10cd4ede6fbd3fd13ecfe2bbd0
MD5 8fbc0f55c17eeedc247d6d7aed18bb81
BLAKE2b-256 375757f4d17b2540bd51908f37afdd53b67dd6886ae28891dbc5badf1008341c

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page