You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

wasaclip

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wasaclip

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.

0.2.1
pipPyPI
Maintainers
1

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

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts