RemoveBgPlus is a lightweight Python wrapper for the remove.bg API, allowing you to remove image backgrounds using local files, URLs, or base64 input.
Installation
pip install RemoveBgPlus
Usage
import removebgplus
client = removebgplus.RemoveBg("your-api-key")
# From file
client.remove_from_file("input.jpg", "output_from_file.png")
# From URL
client.remove_from_url("https://example.com/image.jpg", "output_from_url.png")
# From base64 string
base64_string = "iVBORw0KGgoAAAANSUhEUgAAAAUA..." # must be a valid image base64 string
client.remove_from_base64(base64_string, "output_from_base64.png")
Features
- Supports file, URL, and base64 input
- Customizable output path (overwrites if not provided)
License
MIT
Metadata
Release files for RemoveBgPlus 0.1.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 | Provenance | Actions |
|---|---|---|---|---|
| removebgplus-0.1.2.tar.gz | 2.2 kB | Without provenance | Details for removebgplus-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| removebgplus-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for removebgplus-0.1.2-py3-none-any.whl |
Total release size: 4.9 kB
Release files / removebgplus-0.1.2.tar.gz
| Download URL | removebgplus-0.1.2.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4aef0c27bfeb77158c0ee057c5ea99d85425d345bb87b17f1505b2e3a35dd591
|
|
BLAKE2b-256 checksum How to use checksums |
de53c2c87f3cae1a127f790548b2f98ae08d2a088e41f86d9e667d36b05d4fdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.4
|
Release files / removebgplus-0.1.2-py3-none-any.whl
| Download URL | removebgplus-0.1.2-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
088d7ce23d5bf527b28d32638e6142db06aeee1455e7b3b6890205d7ab119e51
|
|
BLAKE2b-256 checksum How to use checksums |
4ce9d34e9e006a4467d40d1d214a888364b328d2885273d9e6e6fd3e23d0d0fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.4
|
Security for RemoveBgPlus 0.1.2
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.