Skip to main content

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 description

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

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()}"

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

wasaclip-0.2.1.tar.gz (149.7 kB view details)

Uploaded Source

Built Distribution

wasaclip-0.2.1-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file wasaclip-0.2.1.tar.gz.

File metadata

  • Download URL: wasaclip-0.2.1.tar.gz
  • Upload date:
  • Size: 149.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for wasaclip-0.2.1.tar.gz
Algorithm Hash digest
SHA256 71e9450f94a4b0ee8d685832d7060230f69f2ab6762183a7a0646a6af5c77712
MD5 ceb4eedcff21e7e5248f14a5efebb752
BLAKE2b-256 17d81c0bc0581930490e6bf3752fe4c7722b43eca1af729cc87a57fd5dd74709

See more details on using hashes here.

File details

Details for the file wasaclip-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: wasaclip-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for wasaclip-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 398268abac0685f4de68c5ffe67d13d9b50735abee4eaba4c15a448ce9de1b53
MD5 47603f2f4e976edf6072005babee9e39
BLAKE2b-256 6db71a67631df0382623a2f2127b9cbdc50041dd8ca1754cdf860b48cbd02095

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page