Simple python library for basedbin pastebin-like service.
Project description
basedbinpy
Simple python library and CLI for basedbin pastebin-like service.
Installing
$ python3 -m pip install basedbinpy
Library demo
from basedbinpy import Client
client = Client(BASEDBIN_URL) # example: "http://localhost:8080"
paste = client.get_paste(PASTE_ID)
print(paste["file_content"])
CLI upload file demo
$ python3 -m basedbinpy --url http://localhost:8080 upload -f note.txt
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
basedbinpy-0.5.2.tar.gz
(4.1 kB
view hashes)