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.4.0.tar.gz (1.5 MB view details)

Uploaded Source

Built Distributions

stacrs_cli-0.4.0-cp312-none-win_amd64.whl (10.8 MB view details)

Uploaded CPython 3.12 Windows x86-64

stacrs_cli-0.4.0-cp312-none-win32.whl (9.7 MB view details)

Uploaded CPython 3.12 Windows x86

stacrs_cli-0.4.0-cp312-cp312-manylinux_2_34_x86_64.whl (15.0 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.34+ x86-64

stacrs_cli-0.4.0-cp312-cp312-macosx_11_0_arm64.whl (11.0 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

stacrs_cli-0.4.0-cp312-cp312-macosx_10_12_x86_64.whl (11.5 MB view details)

Uploaded CPython 3.12 macOS 10.12+ x86-64

stacrs_cli-0.4.0-cp311-none-win_amd64.whl (10.8 MB view details)

Uploaded CPython 3.11 Windows x86-64

stacrs_cli-0.4.0-cp311-none-win32.whl (9.7 MB view details)

Uploaded CPython 3.11 Windows x86

stacrs_cli-0.4.0-cp311-cp311-macosx_11_0_arm64.whl (11.0 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

stacrs_cli-0.4.0-cp311-cp311-macosx_10_12_x86_64.whl (11.5 MB view details)

Uploaded CPython 3.11 macOS 10.12+ x86-64

stacrs_cli-0.4.0-cp310-none-win_amd64.whl (10.8 MB view details)

Uploaded CPython 3.10 Windows x86-64

stacrs_cli-0.4.0-cp310-none-win32.whl (9.7 MB view details)

Uploaded CPython 3.10 Windows x86

stacrs_cli-0.4.0-cp310-cp310-manylinux_2_34_x86_64.whl (15.0 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.34+ x86-64

stacrs_cli-0.4.0-cp310-cp310-macosx_11_0_arm64.whl (11.0 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

stacrs_cli-0.4.0-cp39-none-win_amd64.whl (10.8 MB view details)

Uploaded CPython 3.9 Windows x86-64

stacrs_cli-0.4.0-cp39-none-win32.whl (9.7 MB view details)

Uploaded CPython 3.9 Windows x86

stacrs_cli-0.4.0-cp39-cp39-macosx_11_0_arm64.whl (11.0 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

stacrs_cli-0.4.0-cp38-none-win_amd64.whl (10.8 MB view details)

Uploaded CPython 3.8 Windows x86-64

stacrs_cli-0.4.0-cp38-none-win32.whl (9.7 MB view details)

Uploaded CPython 3.8 Windows x86

File details

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

File metadata

  • Download URL: stacrs_cli-0.4.0.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.4.0.tar.gz
Algorithm Hash digest
SHA256 65cf64dd8a0e43f7fd841510c79ba356d6b7006a84a5683576e65fe795bcddbc
MD5 f30c647b86719a4fe5abcfc15718e055
BLAKE2b-256 193d7a9db01edc39b7634a09d676f6214b9408317cb550b5ee40c3d92388202a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.4.0-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 5433e7eba8e3cf09697698ad2a5bc105b5ce2bd8442abf28ea1f039bb380ee48
MD5 c7469babff1469cfa3a9a8b66ab2e424
BLAKE2b-256 b8c04d74fd1cb4fb4433e268e07a6e7a5a8902e3f03baab1c938df9d4e0057df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.4.0-cp312-none-win32.whl
Algorithm Hash digest
SHA256 6162ec725160f110e3ffefa38f26f9691dbfdbeea8e373b6152c1a75840c539c
MD5 2844e5f7abec3af94b8dfc945ab17584
BLAKE2b-256 93dbb92fe0812d5f2bbd2b1952fe0cd5e93096deff446d14927020dc2a59a614

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.4.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 cb06da9b57fa74c1406f937ed212bb37597c7521af9a25191b2a360540a61f7f
MD5 f43a3f56ed31317282c16fb533e8759a
BLAKE2b-256 8cdf3fba118a1d728de9b9fb92103c7045b021804f9fd5290557fc9402ba7752

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.4.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6f654196ef23a520cfafd77f6fcfcc7d476751fb219c5356fe6d0042c21ccda5
MD5 83303b8da876b3c90dd1676c59714d71
BLAKE2b-256 e978ad5e5e86b287f130c7480219ccae8cbbbd253e593afe70b360e52b49e7cc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.4.0-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ac36ea6c350d3bb4485e50a3c36a7bf7d39e2c65729434e2bf47ae9e321dcb2f
MD5 222efa29e6a668c1848206d2be586a13
BLAKE2b-256 535223a03892778138cab4156b97ccba762f17b3269afae8b0fda3f2102bf781

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.4.0-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 acc0864be124e6cf451dc8af903f2f51f9a71e7c70f690210641270bdf092934
MD5 0dbf56278c071acd69aa6d20359c0df3
BLAKE2b-256 c41b311a30edbe4fc1ddcdf433b37aeea96f9b1b2d9c9f8a5fc4162ba8c7d8fe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.4.0-cp311-none-win32.whl
Algorithm Hash digest
SHA256 def43a1ecbaf5ccd195c2595001a37e1f0a2df91ea9370328e26ca69dc024a96
MD5 4069190d2c6a461b598b2870ed940ebc
BLAKE2b-256 e9462348cbf6a1a75f61b102b1618f4c086ea9979e3bdb0dfe45cfead6dbc854

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.4.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 86018114fefe711ef87e5b489cb3de03235111fbb64bcd996e5b72a402a9555d
MD5 4b0a5c422fac47ec9e38aa524fdb096b
BLAKE2b-256 c970e44284e8ac714f22eb3cf758b64f7d1477f7b0200db3f728fb1e0cd3d336

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.4.0-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 98dba06053c899ef6e8bc0fdcf1c2cf5bb7f32dd29aff5cf456cf445dd641dc6
MD5 9f64ad6066f170371538d805197b56e1
BLAKE2b-256 0bb1e07292a1e2fece25776354c576b5e1d268e29898f8b429753f27aae2ca5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.4.0-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 a31299df3fb0a7b779837aeeabc48cea2c9822d68b6ab020b93db222910d51d6
MD5 d1cd9204153c5e4e6a56486ab2a961e6
BLAKE2b-256 b88ec09bd8947f7787e820e513e59b565c637f3b6f9eebd0032129bfdb12ed32

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.4.0-cp310-none-win32.whl
Algorithm Hash digest
SHA256 a56e698c2e29a0e814b1f383001890f496c7f787406bb692df0ea66fdfce933c
MD5 e46689eeecb7638ff0bbd5f180e6a3fc
BLAKE2b-256 16f47f91f8efaabe6eca6cc3ea5d83b10ea777ec2336d9530e841d7e31aa13be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.4.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 fb056e7a5179b01e1df5ca0c6dae407bfdb59196aa185a80c811c7e850cbba5b
MD5 b4a6b93435053b98cd272a5c97862c0b
BLAKE2b-256 01e21a610a1d204b968f48170c6afc32cd5cc41f28c95c834a16638eaa920425

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.4.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e1c0adbd90c4a983d070d4ea036f9c77f9ee86b60a4e229721ace2a2a28f61bc
MD5 c819db4838f56996fd5ff8107f1092cc
BLAKE2b-256 53f67f471e0a535055c2d0b8ba520d7b61ab2411cab4b9cf77b7e8c53a333bde

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.4.0-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 d14b7fb0b67cd96ebdc3a4290bb74c28417683db1d96eb7574994c2c3179634a
MD5 0dcf1e44bd19fa07ce90da30c2b50e06
BLAKE2b-256 50cbe5852319652110266ae8c29d5d264657751c9546b17a418218898572bb2a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.4.0-cp39-none-win32.whl
Algorithm Hash digest
SHA256 1c5be5ef3a5bc286cf9c19ce840a0b037b302551bfb4ae7efcbdf8c5a3471505
MD5 9577ad355ac26947352b1f454efb20ce
BLAKE2b-256 245c1129e4b0e3fbf253b737af3efa63ad842fbba675c0445cea222d056297fc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.4.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5c83449d11b52dc37072908f63f0e235d139694dff2dbac8858dd8be1b09a07f
MD5 d7dc148c4028c0f5408788fa98425468
BLAKE2b-256 de840c72763eef9fcc5d2c0618071ae5f36bd5c1eaa3c0634bbf943b4ca92aa7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.4.0-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 18945b6cee52a26a8c646bca32dfc16c630ee3222d2bc5ca23ea6d846c866334
MD5 c3d2e226a35c0b3470b4bb0377e4b106
BLAKE2b-256 d0b0b3913b077998f35e11048ea892de36ad58525764e3e68127ca0751edd423

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.4.0-cp38-none-win32.whl
Algorithm Hash digest
SHA256 7925ac52844bfb96d12743e8d670b302152ea4407b08cb90716513d946a87dd3
MD5 09a178d4972c476931f8fa3ec7884d73
BLAKE2b-256 d0579e69ff569f267d0395db3c1efa32d81749045981a8487590cd7281d55e6f

See more details on using hashes here.

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