skip to navigation
skip to content

pasteraw 1.1.0

Pipe stdin to a raw pastebin

Pipe stdin directly to a raw pastebin. Get a URL back. Go be productive.


From PyPi:

$ pip install pasteraw

Command line usage

Given a file:

$ cat somefile
Lorem ipsum.

Pipe the file to pasteraw and get back a URL to a raw paste of that file:

$ cat somefile | pasteraw

Do whatever you want with the URL. For example, open it in your web browser:

$ open $(!!)

Python library usage

To use

>>> c = pasteraw.Client()
>>> url = c.create_paste('Lorem ipsum.')
>>> print(url)

If you’re using your own deployment of pasteraw, pass your own API endpoint to the client:

>>> c = pasteraw.Client('')
File Type Py Version Uploaded on Size
pasteraw-1.1.0.tar.gz (md5) Source 2016-02-12 6KB