Skip to main content

A simple client for uploading images to imgbb.com

Project description

Imgbb Python Client Library

Features

  • Easy image uploading to Imgbb's servers.
  • Supports JPG, PNG, GIF, base64, and URL image sources.
  • Automatic retry with configurable retry intervals for robustness.
  • Clear and intuitive API for quick integration.

Installation

its recommended to use a virtual environment to install the package

pip install imgbb-client

Usage

from imgbb_client import ImgbbClient

client = ImgbbClient("your-api-key")

# Upload image from URL
result = client.upload("https://example.com/image.jpg", name="My Image", expiration=3600)

Changelog

For a list of changes and release notes, see the CHANGELOG file.

License

For license information, please see LICENSE

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, feel free to open an issue or submit a pull request.

Built with ❤️ by Adivhaho Mavhungu

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyimgbb-0.3.0a0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

pyimgbb-0.3.0a0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file pyimgbb-0.3.0a0.tar.gz.

File metadata

  • Download URL: pyimgbb-0.3.0a0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for pyimgbb-0.3.0a0.tar.gz
Algorithm Hash digest
SHA256 df4cb179eabf598e8068e7f099202b5d75b5519777f93f022f5f90b025deed05
MD5 816931bd12ad0db8e922401686fdd328
BLAKE2b-256 7b62738dab6c47d67b400067e8796bcd512a24d291d1cf7e4f75911bafc90776

See more details on using hashes here.

File details

Details for the file pyimgbb-0.3.0a0-py3-none-any.whl.

File metadata

  • Download URL: pyimgbb-0.3.0a0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.17

File hashes

Hashes for pyimgbb-0.3.0a0-py3-none-any.whl
Algorithm Hash digest
SHA256 8410831ac731c6e8a6122ab30a9acdaf3cbfc32c7e74f5cd819f47016906f37c
MD5 c244c2523892885243d1d32935d1f48e
BLAKE2b-256 0b3a3880535ecbdb66a4145c6113268761e3ba6e02d17ba7ed284fa4ae3164d1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page