Skip to main content

A library for asynchronous and synchronous watermark removal from images

Project description

Unwatermark

Unwatermark is a Python library for removing watermarks from images, supporting both asynchronous and synchronous operations via the Unwatermark API.

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_url = await async_unwater.remove_watermark("path/to/image.jpg")
    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_url = unwater.remove_watermark("path/to/image.jpg")
print(f"Watermark removed image URL: {result_url}")

Project Details

Dependencies

This package depends on:

  • httpx
  • aiofiles

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

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

unwatermark-1.0.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

unwatermark-1.0.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file unwatermark-1.0.0.tar.gz.

File metadata

  • Download URL: unwatermark-1.0.0.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for unwatermark-1.0.0.tar.gz
Algorithm Hash digest
SHA256 89890610a96449d37d3cce46afa019c362a3d368212a58d8d1b4441e35baad02
MD5 2b5d7605c7113e43870862a28f00eb10
BLAKE2b-256 d6e6048c6d17ebef5c1e6c78af6d06f2dba844246e6013a048beeab678b75605

See more details on using hashes here.

File details

Details for the file unwatermark-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: unwatermark-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for unwatermark-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9854ad598aab6293e185e72929cbf4a8f0129601e56cd58f83a471c84fba7c19
MD5 271035054f18e6d2489c72dd596635e0
BLAKE2b-256 039726c7e4b11dd8d133334412788ec365308664a08efe002511d7386b69ccee

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