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.
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 folder🌶️
Example:
# lowercase.py
def process(content: str) -> str:
return f"{content.lower()}"
Release files for wasaclip 0.2.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 | |
|---|---|---|---|
| wasaclip-0.2.1.tar.gz | 149.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wasaclip-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 157.7 kB
Release files / wasaclip-0.2.1.tar.gz
| Download URL | wasaclip-0.2.1.tar.gz |
|---|---|
| Size | 149.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
71e9450f94a4b0ee8d685832d7060230f69f2ab6762183a7a0646a6af5c77712
|
|
BLAKE2b-256 checksum How to use checksums |
17d81c0bc0581930490e6bf3752fe4c7722b43eca1af729cc87a57fd5dd74709
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.7
|
Release files / wasaclip-0.2.1-py3-none-any.whl
| Download URL | wasaclip-0.2.1-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
398268abac0685f4de68c5ffe67d13d9b50735abee4eaba4c15a448ce9de1b53
|
|
BLAKE2b-256 checksum How to use checksums |
6db71a67631df0382623a2f2127b9cbdc50041dd8ca1754cdf860b48cbd02095
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.7
|