imgbbpy
An Asynchronous and Synchronous API Wrapper for the Imgbb API.
Installation
Install imgbbpy via pip.
pip install imgbbpy
imgbbpy requires Python 3.7+
Quickstart
Asynchronous usage:
import asyncio
import imgbbpy
async def main():
client = imgbbpy.AsyncClient('API KEY')
image = await client.upload(file='path/to/image.jpeg')
print(image.url)
asyncio.run(main())
Synchronous usage:
import imgbbpy
client = imgbbpy.SyncClient('API KEY')
image = client.upload(file='path/to/image.png')
print(image.url)
You can get an API Key from https://api.imgbb.com.
Documentation
Documentation can be found in the documentation.md file.
License
MIT, see LICENSE for more details.
Metadata
Release files for imgbbpy 0.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 | Actions |
|---|---|---|---|---|
| imgbbpy-0.1.3.tar.gz | 4.5 kB | Without provenance | Details for imgbbpy-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| imgbbpy-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for imgbbpy-0.1.3-py3-none-any.whl |
Total release size: 12.0 kB
Release files / imgbbpy-0.1.3.tar.gz
| Download URL | imgbbpy-0.1.3.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
003bbf9b6a73f6bdf5c94c40c119da44a2e387d7d4583cf0732077368f460513
|
|
BLAKE2b-256 checksum How to use checksums |
d6e56abe3a9078d8dcd33629554ccdf69ed811019fd9b103481c20061ddc0af9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.0 pkginfo/1.7.0 requests/2.25.1 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
|
Release files / imgbbpy-0.1.3-py3-none-any.whl
| Download URL | imgbbpy-0.1.3-py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
15ff80c18408993c72a7303dc1cbddf0278f41eb42273c352950df2af8c7d6ec
|
|
BLAKE2b-256 checksum How to use checksums |
64dde6d7c17015d1655893bb70a34b5f19d6aff07873fed40532202440b06659
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.0 pkginfo/1.7.0 requests/2.25.1 setuptools/56.0.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
|
Security for imgbbpy 0.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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.