Skip to main content

Skeleton of a Python package

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-metasay-1.2.0.tar.gz (2.6 kB view hashes)

Uploaded Source

Built Distributions

rio_metasay-1.2.0-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

rio_metasay-1.2.0-py2-none-any.whl (4.5 kB view hashes)

Uploaded Python 2

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