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 details)
File details
Details for the file basedbinpy-0.5.2.tar.gz
.
File metadata
- Download URL: basedbinpy-0.5.2.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d70d79c3b32777b095038ebe3bd91207e4d4434c15b4b534df6c31c2a9f328c |
|
MD5 | 8d2ca46c66b0e2378e0f72473a004d5c |
|
BLAKE2b-256 | ec8c848de59926f170edd9d8d0cb55bac2284b1afa18d14369f1ff192f6f01fe |