Unwatermark
Unwatermark is a Python library for removing watermarks from images, supporting both asynchronous and synchronous operations via the Unwatermark API (Unwatermark.ai).
Installation
Install the package using pip:
pip install unwatermark
Usage
This library includes two main classes: AsyncUnwater for asynchronous operations and Unwater for synchronous operations.
Example Usage
Asynchronous
Using the AsyncUnwater class to remove a watermark asynchronously:
import asyncio
from unwatermark import AsyncUnwater
async def main():
async_unwater = AsyncUnwater()
result = await async_unwater.remove_watermark("path, url or bytes")
result_url = result.result.output_image_url[0]
print(f"Watermark removed image URL: {result_url}")
asyncio.run(main())
Synchronous
Using the Unwater class to remove a watermark synchronously:
from unwatermark import Unwater
unwater = Unwater()
result = unwater.remove_watermark("path, url or bytes")
result_url = result.result.output_image_url[0]
print(f"Watermark removed image URL: {result_url}")
Project Details
- Version: 1.0.
- Author: FSystem88
- Author Email: ivan@fsystem88.ru
- Repository URL: GitHub
- Official Site AI: Unwatermark-AI
Dependencies
This package depends on:
httpxaiofilespydantic
Requirements
Python 3.6 or higher
License
Unwatermark is licensed under the MIT License. See the LICENSE file for more details.
Classifiers
- Programming Language :: Python :: 3
- License :: OSI Approved :: MIT License
- Operating System :: OS Independent
Metadata
Release files for unwatermark 1.0.1
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 | |
|---|---|---|---|---|
| unwatermark-1.0.1.tar.gz | 4.1 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| unwatermark-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.5 kB
Release files / unwatermark-1.0.1.tar.gz
| Download URL | unwatermark-1.0.1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c637a67587ed4105617eded1be9e3f7a94ccdc1d200797290d0a7f8992006367
|
|
BLAKE2b-256 checksum How to use checksums |
f1c2225396650482edfc9cf7923c1ec100a9b55526e30a29fc61acfd0ce55e85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Release files / unwatermark-1.0.1-py3-none-any.whl
| Download URL | unwatermark-1.0.1-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
da97fb3f94fea298c511e1e39526034a17cabe4df4cdba1c77c610707851c923
|
|
BLAKE2b-256 checksum How to use checksums |
177c2fccda2e20bee58ecd747658aac4668270ef7d6f2911b498696332014b11
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.12
|
Security for unwatermark 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.