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

Uploaded Source

Built Distributions

stacrs_cli-0.3.0-cp312-none-win_amd64.whl (8.6 MB view details)

Uploaded CPython 3.12 Windows x86-64

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

Uploaded CPython 3.12 Windows x86

stacrs_cli-0.3.0-cp312-cp312-manylinux_2_34_x86_64.whl (12.5 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.34+ x86-64

stacrs_cli-0.3.0-cp312-cp312-macosx_11_0_arm64.whl (8.8 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

stacrs_cli-0.3.0-cp312-cp312-macosx_10_12_x86_64.whl (9.2 MB view details)

Uploaded CPython 3.12 macOS 10.12+ x86-64

stacrs_cli-0.3.0-cp311-none-win_amd64.whl (8.6 MB view details)

Uploaded CPython 3.11 Windows x86-64

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

Uploaded CPython 3.11 Windows x86

stacrs_cli-0.3.0-cp311-cp311-macosx_11_0_arm64.whl (8.8 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

stacrs_cli-0.3.0-cp311-cp311-macosx_10_12_x86_64.whl (9.2 MB view details)

Uploaded CPython 3.11 macOS 10.12+ x86-64

stacrs_cli-0.3.0-cp310-none-win_amd64.whl (8.6 MB view details)

Uploaded CPython 3.10 Windows x86-64

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

Uploaded CPython 3.10 Windows x86

stacrs_cli-0.3.0-cp310-cp310-manylinux_2_34_x86_64.whl (12.5 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.34+ x86-64

stacrs_cli-0.3.0-cp310-cp310-macosx_11_0_arm64.whl (8.8 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

stacrs_cli-0.3.0-cp39-none-win_amd64.whl (8.6 MB view details)

Uploaded CPython 3.9 Windows x86-64

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

Uploaded CPython 3.9 Windows x86

stacrs_cli-0.3.0-cp39-cp39-macosx_11_0_arm64.whl (8.8 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

stacrs_cli-0.3.0-cp38-none-win_amd64.whl (8.6 MB view details)

Uploaded CPython 3.8 Windows x86-64

stacrs_cli-0.3.0-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.0.tar.gz.

File metadata

  • Download URL: stacrs_cli-0.3.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.3.0.tar.gz
Algorithm Hash digest
SHA256 f754c29bf531492783f97ebe5d38f7cea611e96a4e57adfa2a796a7e87330b3d
MD5 3d68da6bb716ec7cd39feeeb00dd11db
BLAKE2b-256 32f540c918a4fcbd560764a442b326a52e14513b2ca2a86103154510f366f170

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.3.0-cp312-none-win_amd64.whl
Algorithm Hash digest
SHA256 70ba3905863853e4e9e0dfda8c5ec46636fdaa15330e413c342c36af647ef1cb
MD5 fffffa8f25f506bbaaa500d1635e6d47
BLAKE2b-256 94882d077f4e35b4bcbdae43cfb71afbe981a0e4585ba01d1413b6526a8fc453

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.3.0-cp312-none-win32.whl
Algorithm Hash digest
SHA256 93d00907c2a8d92481283edfbea7b2954ff0d8f8bada8084b38cf4601d962c1d
MD5 ddef3871496557e6512c484c1007298b
BLAKE2b-256 35efbfc7891ac52a3ce29ade08883af2607e711afa4e2fc6731f43f1b7b5b732

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.3.0-cp312-cp312-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 6e34421de4f0afd4ef4bc8e11cd04bbdcc45bfb13c4bf8544fbd1d2797a8bb37
MD5 ef704b0efe1cef7de0fa4fdc27434363
BLAKE2b-256 c8081fc538755380ffd035228b8e6577d17f5602911c3780da445a7b023af9ef

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.3.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 337fe6d31d826ffc6e318d8206cc83293788933fffae6b0f3c1be18e79f51b35
MD5 225bef4f38512b5c6d6d1839282454d7
BLAKE2b-256 4e46db8ec8a02e552ecd4cf1575648091554a40a24b16cf5e90f7eea8b69cecf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.3.0-cp312-cp312-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d59df155938dd8b01d64bcccf93df383658d401dae315a0fa1d55108eaf96d6f
MD5 45c27bb43b7c8f6bd1498b8e3480fed6
BLAKE2b-256 4f0dab9fab894618383eb2c4f67caee35aa39d5b98584e2839da651d8a1d6d3b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.3.0-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 1c9e484382a9132ce916ac746182ec5c251ae03b22d45143dbcf2c5078594dca
MD5 75c591b3a789db0dd5fce425cf8de097
BLAKE2b-256 01c5ac2f6a4bf4b3140acee48a3f54d0ebe979d941103ce741f7ed872e609128

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.3.0-cp311-none-win32.whl
Algorithm Hash digest
SHA256 19075614c088db6d789366da1c4b3ede66b65b24542de8070f577c5a1bb2a89d
MD5 40f1e9f5eaa31edbde4b12bdedc1254c
BLAKE2b-256 6ce6e7b07d1ac7a26d0b1111eff87f0b2a3783f06319a3e13063cecbe2dee5a2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.3.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 07f695072898086f476b3cf897cc6d39dcba87aab3fe1d7d8a030229ad7dcb07
MD5 731f8cf2bdf97b9643aa62097485bce6
BLAKE2b-256 80391f110ee7627d69e330a526c9387a704d7b27a017e65f192cb4ea8dc97ed7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.3.0-cp311-cp311-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 e27de03d02e35dcd15bbe6059ee3ff216c7319d0381326e311fc463866bdf0bf
MD5 489b0e15c5c45cc381eff15514e5f786
BLAKE2b-256 83162a7cee7db780aa28aac6a7f0542b870b83f8b578ea2a7ea4388d920b06dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.3.0-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 4f81b0c59b2017463ece7c91f1be114a50f68096e9747d7a3046885d0159b989
MD5 d31d36458530e258c96bd5c1264a6ac4
BLAKE2b-256 35f16287ebf15739c97ebbca2d6ae8f3a757f7301ace066a461e9d5319b4ab6a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.3.0-cp310-none-win32.whl
Algorithm Hash digest
SHA256 59b3ccb82296393d14a01bc0c7beeeb4125e79686d1c3c4765ce394b71fb9bcf
MD5 4d05ab33b3e409dd1ea92ef448d82a0b
BLAKE2b-256 f973424fb45f76733651bbba9e686ef212c5d3e3f9481cdf2b452e3d4de622be

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.3.0-cp310-cp310-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 9e2e7d9abf11ab66a6b82c981e336ca17e14c514e0b838ce536ee5e01abe2b33
MD5 b032c6f58916ccaac46c971617b81c88
BLAKE2b-256 283ac245332674103b3654567c3a5f7cefe158d12d615b592509e30550b19678

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.3.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b1fe8684dc87c936aa388e08f1b03a3c7aec7b8bfabc6ef3985d4b62c2cb899f
MD5 400d145c4bf82aa6411bc307d4b55130
BLAKE2b-256 afc7f5094c0b08f8892bd1b99406096d256be5c0bc5741327a56a0c6476ff84c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.3.0-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 87c0c177ea9df736897ba8d3ae2713bd6b78961ef89837e3307f51a97adf69fa
MD5 4258ed1a47c5e857623c69644d85d615
BLAKE2b-256 9dc12193da81f5ada3819537c05ad2ce059f7950a29f8f64fdb3ae10e1e276bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.3.0-cp39-none-win32.whl
Algorithm Hash digest
SHA256 a9fe3f50c1910db650df31daef8bca260c0e5a4d84ea40864736788154657250
MD5 a638c4caea491b81380f1eecf10243da
BLAKE2b-256 04cf279a11c4a993d4efc4b489815ce325fd444c32a8a34addb4449031372257

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.3.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9fa1327be3689041fd7e2c6172d73e796d7a9f817ca1e86e3ea41197b6896450
MD5 b4cddc8476e2772408140547ce2b13e9
BLAKE2b-256 d853b1af0c2c5002731f13b4cc5d576d6eb2c123bf0b1fca194e4cca7f41e19d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.3.0-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 9eef5d8614f19b3e1acda8fa9ca6b849fe7db46d4b8e4fe122874ce8b1830f52
MD5 003b1a29b5506d6ce45c234fa6d8fd91
BLAKE2b-256 fa800cdd8493137802eda800d49357ef27eeaef732ee09d70db9b3206c1cb639

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for stacrs_cli-0.3.0-cp38-none-win32.whl
Algorithm Hash digest
SHA256 060b435122d8fb05474d9818a2a02b3da8084de40fb73ebe8731735cfe9de3e5
MD5 b63ba98cf77ef328f0aff6f2cce018e2
BLAKE2b-256 5d667141de7ab001e719236a3489748d6732b9224ad88bfe94d1020649f80b59

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