Metadata-Version: 2.1
Name: unwatermark
Version: 1.0.0
Summary: A library for asynchronous and synchronous watermark removal from images
Home-page: https://github.com/FSystem88/unwatermark
Author: FSystem88
Author-email: ivan@fsystem88.ru
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: httpx
Requires-Dist: aiofiles

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
---------------

*   **Version:** 0.1.0
*   **Author:** FSystem88
*   **Author Email:** ivan@fsystem88.ru
*   **Repository URL:** [GitHub](https://github.com/FSystem88/unwatermark)

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
