All Projects → Mikts → pbwrap

Mikts / pbwrap

Licence: MIT license
Pastebin API wrapper for Python

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to pbwrap

PoShLog
🔩 PoShLog is PowerShell cross-platform logging module. It allows you to log structured event data into console, file and much more places easily. It's built upon great C# logging library Serilog - https://serilog.net/
Stars: ✭ 108 (+468.42%)
Mutual labels:  wrapper, module
pastebin-csharp
API client for Pastebin in C#
Stars: ✭ 25 (+31.58%)
Mutual labels:  wrapper, pastebin
bandler
The Simple JS Module Bundler
Stars: ✭ 17 (-10.53%)
Mutual labels:  module
pastey
A lightweight, self-hosted paste platform
Stars: ✭ 65 (+242.11%)
Mutual labels:  pastebin
A-song-of-ice-and-fire-API
Javascript wrapper for the A song of ice and fire API
Stars: ✭ 15 (-21.05%)
Mutual labels:  wrapper
amd-cmd-hot-update-hmr
esl-hot-update: Hot update esl modules(AMD、CMD) when modifed. JS, LESS, tpl, component is all supported!
Stars: ✭ 25 (+31.58%)
Mutual labels:  module
atomix
Simple and easy wrappers for Go sync/atomic package.
Stars: ✭ 26 (+36.84%)
Mutual labels:  wrapper
FivePD-API
A wrapper that allows you to create FivePD callouts/plugins.
Stars: ✭ 17 (-10.53%)
Mutual labels:  wrapper
companion-module-requests
Repository for tracking module requests
Stars: ✭ 60 (+215.79%)
Mutual labels:  module
dinputto8
A dll module that is designed to improve compatibility in games using DirectInput 1-7 (dinput.dll) by converting all API calls to their equivalent DirectInput 8 (dinput8.dll) ones. This allows older games to be able to use newer tools and wrappers written for DirectInput 8.
Stars: ✭ 42 (+121.05%)
Mutual labels:  wrapper
RxCamera2
Rx Java 2 wrapper for Camera2 google API
Stars: ✭ 27 (+42.11%)
Mutual labels:  wrapper
upx
Node.js cross-platform wrapper for UPX - the ultimate packer for eXecutables.
Stars: ✭ 27 (+42.11%)
Mutual labels:  wrapper
Invoke-Terraform
A cross-platform PowerShell module for downloading and invoking terraform binaries.
Stars: ✭ 14 (-26.32%)
Mutual labels:  wrapper
puppetlabs-vcsrepo
Support for source control repositories
Stars: ✭ 228 (+1100%)
Mutual labels:  module
terraform-azurerm-aks
Terraform module composition (feature) for Azure Kubernetes Service
Stars: ✭ 23 (+21.05%)
Mutual labels:  module
ftx-api-wrapper-python3
FTX Exchange API wrapper in python3
Stars: ✭ 31 (+63.16%)
Mutual labels:  wrapper
google-workspace
A unofficial high level Python API wrapper for some of the productivity based Google APIs, that is focused on simplicity.
Stars: ✭ 74 (+289.47%)
Mutual labels:  wrapper
liqui
liqui.io api wrapper
Stars: ✭ 22 (+15.79%)
Mutual labels:  wrapper
ember-cli-new-version
A convention based update notification for Ember. With this addon, you can detect a new version and notify the user to refresh the page
Stars: ✭ 22 (+15.79%)
Mutual labels:  module
guess-module
Guess.js integration for Nuxt.js with guess-webpack
Stars: ✭ 20 (+5.26%)
Mutual labels:  module

Pastebin API wrapper for Python (pbwrap)

PyPI version Build Status Coverage Status

**Python API wrapper for the Pastebin Public API.
Only Python 3 supported!

Documentation

This wrapper is based on Pastebin API read their Documentation here.
for extra information and usage guide.

Usage

For a full list of the methods offered by the package Read.

Quickstart

Import and instantiate a Pastebin Object.

from pbwrap import Pastebin

pastebin = Pastebin(api_dev_key)

Examples

Get User Id

Returns a string with the user_id created after authentication.

user_id = pastebin.authenticate(username, password)
Get Trending Pastes details

Returns a list containing Paste objects of the top 18 trending Pastes.

trending_pastes = pastebin.get_trending()

Type models

Paste

Some API endpoints return paste data in xml format the wrapper either converts them in a python dictionary format
or returns them as Paste objects which contain the following fields:

  • key
  • date in UNIXTIME
  • title
  • size
  • expire_date
  • private
  • format_short
  • format_long
  • url
  • hits

License

pbwrap is released under MIT License

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].