Skip to main content

rembgpy

  • A simple python api wrapper for remove.bg.

Installation

pip install rembgpy

Usage

from rembgpy import RemBg
import base64

api = RemBg("api-key", "logged-error.log")
with open("titty.jpg", "rb") as image_file:
    encoded_string = base64.b64encode(image_file.read())
print(api.remove_b64(encoded_string))

Usage 2

from rembgpy import RemBg

api = RemBg("api-key", "logged-error.log")
print(api.remove_img("https://sample.com/img_url.jpg"))

Metadata

Release files for rembgpy 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rembgpy 1.0.1
File Size Uploaded Provenance Actions
rembgpy-1.0.1.tar.gz 2.9 kB Without provenance Details for rembgpy-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rembgpy 1.0.1
File Interpreter ABI Platform Actions
rembgpy-1.0.1-py3-none-any.whl Python 3 none any Details for rembgpy-1.0.1-py3-none-any.whl

Total release size: 5.9 kB

Release files / rembgpy-1.0.1.tar.gz

Download URL rembgpy-1.0.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2f370f071e5c11d0807046efccb4cfff562303ae4d6955f0ca551881c54844fd
BLAKE2b-256 checksum
How to use checksums
5a8e96eeb03d059f4d3578188fb77644b5413ea31a07847a0ba131327efcbbe0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.12

Release files / rembgpy-1.0.1-py3-none-any.whl

Download URL rembgpy-1.0.1-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
044d7445240a7c31be6d35b50da3a39ff59bb21b961873fe7cf2debe31bd2ee3
BLAKE2b-256 checksum
How to use checksums
d6e0e0bcd4348a53834c0bd2efab7afc6d4df0e842521b423d2ab62b1e9a0918
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.8.12

Security for rembgpy 1.0.1

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.

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page