basedbinpy

Simple python library for basedbin pastebin-like service.


Keywords
basedbin, library, api, client, python, python-library, rest-client
License
ISC
Install
pip install basedbinpy==0.5.2

Documentation

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