python wrapper for the pastebin api https://pastebin.com
Go to file
Dionysus 9b9b9d8841
Cleanup
2023-05-18 16:46:14 -04:00
LICENSE Initial commit 2019-06-28 01:28:33 -04:00
README.md Cleanup 2023-05-18 16:46:14 -04:00
pastebin.py Set default timeout 2023-05-18 16:41:29 -04:00

README.md

pastebin

python wrapper for the pastebin api

API Documentation:

Example:

#!/usr/bin/env python
import pastebin
api_key = 'CHANGEME'
api     = pastebin.PasteBin(api_key)
data    = open(__file__).read()
result  = api.paste(data, guest=True, name='Example Script', format='Python', private='1', expire='10M')
print('PasteBin URL: ' + result)

Note: A posix shell script example can be found here

Mirrors