Skip to main content

Pastebin wrapper made by bunnies, for bunnies...

Project description

# PasteBunny

PasteBunny is a Pastebin API wrapper, the first wrapper I’ve seen to do the most basic stuff such as storing the user key on its own.

### Features
  • Post pastes

  • Delete pastes

  • Getting user data

  • Getting trending pastes

### TODO
  • Read lists of pastes into PasteBunny.Models.Paste objects

  • Read user data into PasteBunny.Models.User object

### Dependencies

Synchronous client: `sh $ pip3 install requests ` Asynchronous client: `sh $ pip3 install aiohttp aiodns cchardet asyncio `

### Installation

Installation is as easy as running the setup.py, I don’t know how to add it to PyPip so…, too bad.

`sh $ git clone https://github.com/tmjvonboss/PasteBunny.git $ python3 setup.py install `

### Examples

Look at the sync_example.py and async_example.py

### Why did I make this?

It just looks better than the other wrappers I have seen, in a bigger project I was to keep track of too many variables and frankly there was no need to have 3 of them related to a Pastebin wrapper, hence these client classes do it somewhere you won’t have to worry about it.

Also none of the were using the https API URL’s, and this one is

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

PasteBunny-0.180331a0.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file PasteBunny-0.180331a0.tar.gz.

File metadata

File hashes

Hashes for PasteBunny-0.180331a0.tar.gz
Algorithm Hash digest
SHA256 cce72c0e32783c1c5c0e8eba812e0a0d8d3c245663da8d8bcbf950bb233699bb
MD5 f6a9bdaa257d4cc31855b5e791ef86d7
BLAKE2b-256 c971ea5f27247169748665d48364526e0f3830cc5d37a5cf6f3d4f575f74e6b3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page