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:

python 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.0.tar.gz (149.7 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: wasaclip-0.2.0.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.0.tar.gz
Algorithm Hash digest
SHA256 6054c881ff708cb748e5ba334f1f7fbfc8aeed2d1cc3829cfe3ba3ef94786f25
MD5 ad6492514e9feac5025db4946913ddb0
BLAKE2b-256 1ec8b75b6a7ca57e09b586f62ff0f1dabe22fd825114417012f794180fa5f9f4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wasaclip-0.2.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 300dfa42d4d4fe6b1036c9f9486262606c2996cb044751d272edc6077ec2c57d
MD5 0b19f3753e31eef4af7dd0ebca70c8fc
BLAKE2b-256 c3acdb7dda8e933a052c7cc976dae15d3156badc3188fdef6bd3596b4722b78c

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