This project has been archived by its maintainers, and is no longer receiving any updates.
stac-cli
Command Line Interface (CLI) for STAC, named stacrs.
Installation
python -m pip install stacrs-cli
Or:
cargo install stac-cli
Then:
# Search
$ stacrs search https://landsatlook.usgs.gov/stac-server \
--collections landsat-c2l2-sr \
--intersects '{"type": "Point", "coordinates": [-105.119, 40.173]}' \
--sortby='-properties.datetime' \
--max-items 1000 \
items.parquet
# Translate formats
$ stacrs translate items.parquet items.ndjson
$ stacrs translate items.ndjson items.json
# Migrate STAC versions
$ stacrs translate item-v1.0.json item-v1.1.json --migrate
# Search stac-geoparquet (no API server required)
$ stac search items.parquet
# Server
$ stacrs serve items.parquet # Opens a STAC API server on http://localhost:7822
# Validate
$ stacrs validate item.json
Usage
stacrs provides the following subcommands:
stacrs search: searches STAC APIs and geoparquet filesstacrs serve: serves a STAC APIstacrs translate: converts STAC from one format to anotherstacrs validate: validates a STAC value
Use the --help flag to see all available options for the CLI and the subcommands:
Features
This crate has two features:
pgstac: enable a pgstac backend forstacrs serve(enabled by default)python: create an entrypoint that can be called from Python (used to enablepython -m pip install stacrs-cli)
Other info
This crate is part of the stac-rs monorepo, see its README for contributing and license information.
Metadata
Release files for stacrs-cli 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stacrs_cli-0.5.0.tar.gz | 1.7 MB | Without provenance | Details for stacrs_cli-0.5.0.tar.gz |
Built distributions (wheels)
Total release size: 2.8 MB
Release files / stacrs_cli-0.5.0.tar.gz
| Download URL | stacrs_cli-0.5.0.tar.gz |
|---|---|
| Size | 1.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2428436c4c5331f0eea1ca22daa2c64b5b21958eefed21bef5e24b6dd8288e46
|
|
BLAKE2b-256 checksum How to use checksums |
6de8d5351333ee6f01ed8d794706170e16a8dd0b015dacb4d923d9860da8a912
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.8.1
|
Release files / stacrs_cli-0.5.0-py3-none-musllinux_1_2_x86_64.whl
| Download URL | stacrs_cli-0.5.0-py3-none-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 177.2 kB |
| Tags | Linux musl 1.2+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
e6300e656e3e6fdd9acf1e41e4a8e8b0266765df7485e651fc7d63ebc3e58926
|
|
BLAKE2b-256 checksum How to use checksums |
1d0fe5ebc3f8e8940f28beb47969156bfb47baffe117ff82d8488b8fb7ac9747
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.8.1
|
Release files / stacrs_cli-0.5.0-py3-none-musllinux_1_2_i686.whl
| Download URL | stacrs_cli-0.5.0-py3-none-musllinux_1_2_i686.whl |
|---|---|
| Size | 191.3 kB |
| Tags | Linux musl 1.2+ x86-32 Python 3 |
|
SHA-256 checksum How to use checksums |
d6c1c509aefc9a45df3838397ff87abd6ba23ac6adca2d817529c8bd339e9c2b
|
|
BLAKE2b-256 checksum How to use checksums |
9a104a2688a737737fbc260fb4c022a6bfbdf94e77e91edb33c3941bcf278026
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.8.1
|
Release files / stacrs_cli-0.5.0-py3-none-musllinux_1_2_armv7l.whl
| Download URL | stacrs_cli-0.5.0-py3-none-musllinux_1_2_armv7l.whl |
|---|---|
| Size | 269.7 kB |
| Tags | Linux musl 1.2+ ARMv7l Python 3 |
|
SHA-256 checksum How to use checksums |
6e5a46f46393b79e8c12b6baf8a85cdbdc029158eb301d28826187d8aac1a8d4
|
|
BLAKE2b-256 checksum How to use checksums |
aacc9b890d2e4baa64e7072499572ff0cc4ef6cc572f2bf7b0fdfe9b22d7027b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.8.1
|
Release files / stacrs_cli-0.5.0-py3-none-musllinux_1_2_aarch64.whl
| Download URL | stacrs_cli-0.5.0-py3-none-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 187.3 kB |
| Tags | Linux musl 1.2+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
d3783a5db97cc5fdd890a86e96a9ca9f668005b87bd3f4da25ec4c5c8d29bea9
|
|
BLAKE2b-256 checksum How to use checksums |
3bf814f3bd56b7cfab5f1ba7c04b7715c1a7c0f891f4c62a2d1f7e35dc4d6fa9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.8.1
|
Release files / stacrs_cli-0.5.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
| Download URL | stacrs_cli-0.5.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl |
|---|---|
| Size | 237.6 kB |
| Tags | Linux glibc 2.17+ PowerPC 64-le Python 3 |
|
SHA-256 checksum How to use checksums |
4dad396a726d12b782d3be17d2fb509cc7b036d0c28071d4a40364fd86c421f5
|
|
BLAKE2b-256 checksum How to use checksums |
bcd3232f302ff6ba0b64f4156fc1f584096d18b15e51eefb307533166c734871
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.8.1
|
Release files / stacrs_cli-0.5.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
| Download URL | stacrs_cli-0.5.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Linux glibc 2.17+ ARMv7l Python 3 |
|
SHA-256 checksum How to use checksums |
0029325376a85335a8415cbb6d2ad19de114720304fdde7106c59ffdf79ce2d0
|
|
BLAKE2b-256 checksum How to use checksums |
ff093296c61a9259de779fe5c04ee8ca3020c7bbfa070c3c12bc67878f2afa97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.8.1
|
Release files / stacrs_cli-0.5.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl
| Download URL | stacrs_cli-0.5.0-py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Linux glibc 2.5+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
e18c7558135d95657fa43bcb3593c46ffa28dd037f2ea4563c42eb3f44854905
|
|
BLAKE2b-256 checksum How to use checksums |
bdf958e1282d544a68533710b2a0520412da6fbc7e2af1a3932bb3c5edc63491
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.8.1
|
Release files / stacrs_cli-0.5.0-py3-none-manylinux_2_5_i686.manylinux1_i686.whl
| Download URL | stacrs_cli-0.5.0-py3-none-manylinux_2_5_i686.manylinux1_i686.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Linux glibc 2.5+ x86-32 Python 3 |
|
SHA-256 checksum How to use checksums |
fc4e77ddaf9cf4f80cdd4b302ff207b787671d7faf2fb093d342d335e382bb4d
|
|
BLAKE2b-256 checksum How to use checksums |
1e9d850f805f31db12ebf26d984da6feaec77cedc274110e87a2330e4a16e82a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.8.1
|
Release files / stacrs_cli-0.5.0-py3-none-macosx_11_0_arm64.whl
| Download URL | stacrs_cli-0.5.0-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d459bb6b6e0de8450ca30b0eb262197b64b30f594a8b8fe95e7be07868eec65f
|
|
BLAKE2b-256 checksum How to use checksums |
70512173f1bd63ca736e38c4d1d97593df8bd6d4d55096cdd8fc231d63906166
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.8.1
|
Release files / stacrs_cli-0.5.0-py3-none-macosx_10_12_x86_64.whl
| Download URL | stacrs_cli-0.5.0-py3-none-macosx_10_12_x86_64.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
d73d77a02824a9437fef631529bab03485c86034a36ccae3c040f2f76f7d79e0
|
|
BLAKE2b-256 checksum How to use checksums |
8afd76852ad6406e9c43e501cdd21a1abb9f7da8af0e4c5d749929faf33488a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
maturin/1.8.1
|
Security for stacrs-cli 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.