i-ghost / pasteee

A python module for posting pastes to http://paste.ee

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pasteee

Build Status

A python module for posting pastes to http://paste.ee

Example usage:

from pasteee import Paste

pasteText = """Some text to paste
Some more text
Foo bar baz
"""
paste = Paste(pasteText, private=False, desc="My first paste", views=15)

The above will send a public paste with the contents of pasteText with the description "My first paste" using the anonymous API access, and the paste will expire after fifteen views.

Pastes are sent privately by default.

See pasteee.py for more documentation.

Running pasteee.py from the command line will run the included doctests.

Tested on Python 2.6, 2.7, 3.x

About

A python module for posting pastes to http://paste.ee


Languages

Language:Python 100.0%