Simple python library and CLI for basedbin pastebin-like service.
$ python3 -m pip install basedbinpy
from basedbinpy import Client
client = Client(BASEDBIN_URL) # example: "http://localhost:8080"
paste = client.get_paste(PASTE_ID)
print(paste["file_content"])
$ python3 -m basedbinpy --url http://localhost:8080 upload -f note.txt