paspybin
paspybin is an asynchronous API wrapper for the
Pastebin API, designed to streamline
interaction with Pastebin's services in Python. It enables users to
leverage Pastebin's functionality asynchronously, enhancing performance
and usability.
Key Features
- Asynchronous Operations: Utilizes
asyncioandaiohttpfor efficient API requests. - Data Schema: Built with Python's
dataclassfor clear and structured data representation. - Comprehensive Documentation: Explore detailed documentation for seamless integration and usage.
Installation
pip install paspybin
Usage
import asyncio
import os
from paspybin import Paspybin
PASTEBIN_API_DEV_KEY = os.environ["PASTEBIN_API_DEV_KEY"]
PASTEBIN_USERNAME = os.environ["PASTEBIN_USERNAME"]
PASTEBIN_PASSWORD = os.environ["PASTEBIN_PASSWORD"]
async def main():
async with Paspybin(PASTEBIN_API_DEV_KEY) as paspybin:
await paspybin.login(PASTEBIN_USERNAME, PASTEBIN_PASSWORD)
async for paste in paspybin.pastes.get_all():
print(paste)
asyncio.run(main())
Docs
You can start reading the documentation here.
Contributing
We welcome contributions to enhance paspybin! Please review our contributing guidelines. before getting started.
Acknowledgements
We would like to thank Pastebin for providing API services and also good documentation for using the API.
Metadata
Release files for paspybin 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| paspybin-1.1.0.tar.gz | 16.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| paspybin-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 37.4 kB
Release files / paspybin-1.1.0.tar.gz
| Download URL | paspybin-1.1.0.tar.gz |
|---|---|
| Size | 16.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
19ab4b6f4d69e9846c0c5ea444a88d9e67e8a3f5dfac9c5969db2606ec489a75
|
|
BLAKE2b-256 checksum How to use checksums |
01de66084c5a4c861935333305147a276346a9153b0f316895aaa60ec4a7ed46
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
poetry/1.8.5 CPython/3.13.1 Linux/6.5.0-1025-azure
|
Release files / paspybin-1.1.0-py3-none-any.whl
| Download URL | paspybin-1.1.0-py3-none-any.whl |
|---|---|
| Size | 20.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e355a35c29f90cabf30336fd803226a1f3bdb0a756e7c9a4cf73347a0b0808d5
|
|
BLAKE2b-256 checksum How to use checksums |
e48cd2514e304893a8e908670d08672ff66c63e2c00ea6885f3adc0f499db0fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
poetry/1.8.5 CPython/3.13.1 Linux/6.5.0-1025-azure
|