Metadata-Version: 2.4
Name: wasaclip
Version: 0.2.1
Summary: Sharp like wasabi, fast like a ninja — your clipboard’s secret weapon! WasaClip takes your clipboard entries and gives them a spicy refresh! Trim, replace, reformat, or clean up text with lightning speed.
Project-URL: Homepage, https://github.com/rotten77/wasaclip
Project-URL: Bug Tracker, https://github.com/rotten77/wasaclip/issues
Project-URL: Documentation, https://github.com/rotten77/wasaclip
Project-URL: Examples, https://github.com/rotten77/wasaclip/tree/main/examples
Author-email: Jan Zatloukal <zatloukal.jan@gmail.com>
License-File: LICENSE
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.11
Requires-Dist: colorama>=0.4.6
Requires-Dist: pyperclip>=1.9.0
Description-Content-Type: text/markdown

# WasaClip 🌶️✂️

WasaClip takes your clipboard entries and gives them a spicy refresh! Trim, replace, reformat, or clean up text with lightning speed. Just copy, let WasaClip process it, and paste the perfect result—sharp, clean, and ready to go. Whether you're editing code, removing extra spaces, or transforming text, WasaClip makes it effortless.

![WasaClip](https://raw.githubusercontent.com/rotten77/wasaclip/main/wasaclip.png)

## Install

    pip install wasaclip

## How to Use WasaClip

Create a processor file (e.g., `my_processor.py`) with a process function.

Run WasaClip and pass the processor file as an argument:

    wasaclip my_processor.py

## Processors

The processor file should contain a process function that:

* Takes a string argument (the clipboard content).
* Returns either a string (the processed content) or None (to skip processing).
* Can import and use any Python libraries.
* May include additional helper functions if needed.

**Check the [examples](https://github.com/rotten77/wasaclip/tree/main/examples) folder🌶️**

*Example:*

    # lowercase.py
    def process(content: str) -> str:
        return f"{content.lower()}"