asyncgur
An Asynchronous Imgur Wrapper to upload or get an image for Python
Example Usage:
from asyncgur import Imgur
client_id = 'YOUR_IMGUR_CLIENT_ID'
imgur_app = Imgur(client_id)
async def main():
image, response = await imgur_app.upload_image(image='some_image_url_or_bytes')
assert response.success == True and response.status == 200
print(image)
loop = asyncio.get_event_loop()
loop.run_until_complete(main())
Metadata
Release files for asyncgur 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| asyncgur-0.2.tar.gz | 2.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| asyncgur-0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.2 kB
Release files / asyncgur-0.2.tar.gz
| Download URL | asyncgur-0.2.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9585de60b87af3fa0dfab942fcf6e3754ec5fd766c9cfec78c5515a546c8a7b8
|
|
BLAKE2b-256 checksum How to use checksums |
52cdf513b9b67b2837cf1d14c064da2fe550bb5f0833f088d06199401029e7d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.4
|
Release files / asyncgur-0.2-py3-none-any.whl
| Download URL | asyncgur-0.2-py3-none-any.whl |
|---|---|
| Size | 14.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
09655598053e547e72ea8b2350c800803494d33b9a0fde48b28e2ac0eef02340
|
|
BLAKE2b-256 checksum How to use checksums |
00d3b626c07493cf85f3ee06cabcc1630bb557e9e42782ba7a2198659cdad291
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.54.1 CPython/3.8.4
|