python wrapper for the pastebin api https://pastebin.com
Go to file
2024-01-20 19:10:14 -05:00
LICENSE Updated mirrors in README, and LICENSE for 2024 2024-01-20 19:10:14 -05:00
pastebin.py Updated mirrors, added docstrings 2023-08-19 21:42:38 -04:00
README.md Updated mirrors in README, and LICENSE for 2024 2024-01-20 19:10:14 -05:00

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 for this repository: acid.vegasSuperNETsGitHubGitLabCodeberg