async_pycatbox
A simple Python library for uploading files to catbox.moe, and based off of cazqew's pycatbox, with the only significant change being that it's now supports asynchronous uploading.
API documentation https://catbox.moe/tools.php
Install the current version with PyPI:
pip install async_pycatbox
Or from Github:
https://github.com/challos/async_pycatbox
Example
from async_pycatbox import Uploader
import asyncio
uploader = Uploader()
async def main():
upload = await uploader.upload('py', open('test.py', 'rb').read())
print(upload)
asyncio.run(main())
# https://files.catbox.moe/bav6l3.py
Contributing
Bug reports and/or pull requests are welcome. I also copied most of this with minor changes/additions from cazqew's pycatbox (I was unable to make a pull/fork request due to being unable to find his Github page).
License
The module is available as open source under the terms of the Apache License, Version 2.0
Metadata
Release files for async-pycatbox 1.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| async_pycatbox-1.1.3.tar.gz | 6.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| async_pycatbox-1.1.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.5 kB
Release files / async_pycatbox-1.1.3.tar.gz
| Download URL | async_pycatbox-1.1.3.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0f0926d7e821cf19a0bdf0f2d828bd105193f7027d1f60da7b7df43f2da024b
|
|
BLAKE2b-256 checksum How to use checksums |
79520e3e838e14a0049a33cfac3e04620adf4fd8ffb76d524b2729b130a9f381
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Release files / async_pycatbox-1.1.3-py3-none-any.whl
| Download URL | async_pycatbox-1.1.3-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
92c0661655d96d1393a562fcb7a01338db856d43bfa340efb6ddd02a9f6f32a3
|
|
BLAKE2b-256 checksum How to use checksums |
13bc010ac745c679c4912071626b1e700af21e541619b232b1681e6659af8aa3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.5
|
Security for async-pycatbox 1.1.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.