Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

A generic pastebin posting tool

Project description

A generic pastebin posting tool

Supported Paste services:

Add support for more services easily

Usage

Do pstr -h, pstr paste -h, pstr list -h for help

Examples

Paste some content

> pstr paste “some content”

Paste through the familiar piping

> git diff | pstr paste

Paste to the service pastebin

> pstr paste -s pastebin “some content”

Paste file contents (deprecated after piping support)

> pstr paste -f path/to/file/filename.extension

Paste git diff (deprecated after piping support)

> pstr paste -c “git diff”

List available syntax/languages/formats

> pstr list syntax

List available pastebin services

> pstr list services

For the lazy

  • Alias pstr paste to something like p and do echo foo | p
  • Use a config file to store settings

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
paster-0.8.tar.gz (21.4 kB) Copy SHA256 hash SHA256 Source None Nov 7, 2012

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page