An unofficial hastebin module.
Project description
hastebiny
An unofficial hastebin module.
pip install hastebiny
requirement: requests (pip install requests)
This is a simpe module that allows you to create and recieve hastebins. There are two functions send
and get
. Using the send
function, you can send data (text) to hastebins server and store it there, the function will return a key to access this data.
The get
function will return the data (text) attributed to a key.
# Example code
from hastbiny import hb
key = hb.send("My hastebin content :)")
print(key)
print(hb.get(key))
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
hastebiny-0.0.4.tar.gz
(3.0 kB
view hashes)
Built Distribution
Close
Hashes for hastebiny-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c86bf5eb45ca8c5c38bde39ad9e05e825d51842082a73be68b88742fe7c1d65 |
|
MD5 | b544cab54168e7bd96e834cdf1022b0e |
|
BLAKE2b-256 | 8f4c56be815b3fd213ce77e9f487ab10b1ef3222c3f14f1bb7446db98db0b47d |