Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

i-ghost/pasteee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

16 Commits

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /