Skip to main content

Rasterio CLI plugin example

Project description

A Rasterio CLI command plugin example.

https://travis-ci.org/sgillies/rio-plugin-example.svg

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.

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

rio-colormap-1.2.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

rio_colormap-1.2.1-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file rio-colormap-1.2.1.tar.gz.

File metadata

  • Download URL: rio-colormap-1.2.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for rio-colormap-1.2.1.tar.gz
Algorithm Hash digest
SHA256 5a8ec720f4a415adc0f1f1f07c1204268bd964218c56e5991bd8fefa9c706068
MD5 9fdaffd642de225f0cb158c7e3f831de
BLAKE2b-256 b017360708a54b2137fa754a36bda14e025a4ef5bd88355bd0ef09398105a9e6

See more details on using hashes here.

File details

Details for the file rio_colormap-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: rio_colormap-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.8.0 tqdm/4.46.0 CPython/3.7.7

File hashes

Hashes for rio_colormap-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eea9c0cccbbfa0cb88dcbd7fa68ca8381e179bd00baabd1e899b8e2f41c00895
MD5 14252b5e0c6ac94c65c2f330ed8cae46
BLAKE2b-256 3f012987ff450fd135721e99464b9a062e052ece03c68cbd2e8abe90203f8189

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