A Rasterio CLI command plugin example.
Usage
Given a path to a raster dataset, this project’s rio metasay command prints a picture of a cow saying one random or optionally specified (see --item) metadata item from the dataset.
$ rio metasay tests/data/RGB.byte.tif
____________
< Width: 791 >
------------
\
\ \_\_ _/_/
\ \__/
(oo)\_______
(__)\ )\/\
||----w |
|| ||
This project is a recipe for new, actually useful plugins, and hopefully generates a few nostalgic chuckles or groans.
Installation
If you’ve already installed Rasterio, installation is just pip install rio-metasay.
Testing
See .travis.yml for an example of how to use Rasterio releases to speed up your testing builds.
Release files for rio-metasay 1.2.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 | |
|---|---|---|---|
| rio-metasay-1.2.0.tar.gz | 2.6 kB | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rio_metasay-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
| rio_metasay-1.2.0-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 11.6 kB
Release files / rio-metasay-1.2.0.tar.gz
| Download URL | rio-metasay-1.2.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4c9660c222158fc06c42e8c2a1e54d053d75d80253ea94420ec2e2b76dc7d233
|
|
BLAKE2b-256 checksum How to use checksums |
62bfa160b7493636833998bf44c4ebdf0515730a5587e6e46c336eff9969021c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / rio_metasay-1.2.0-py3-none-any.whl
| Download URL | rio_metasay-1.2.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8c58619305038a69bc0f9dd7030e66cfae4dadcfac4658be9f4080f502b61851
|
|
BLAKE2b-256 checksum How to use checksums |
17d06e2d2052c2ea4ed3eeab3a837a10a3606e454766ef07b3713387d742877f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / rio_metasay-1.2.0-py2-none-any.whl
| Download URL | rio_metasay-1.2.0-py2-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
2d7c40cb0956fdd8758f12c8dc50d1b9cff33912ee0f786c704eaaa67c402046
|
|
BLAKE2b-256 checksum How to use checksums |
82579acdf854038ea04277b7d115325cb8f8700b2aa9fbf7862dd2c2122dea06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |