qenqote is a Python/Gtk program to operate on snippets of text from the clipboard and put results back on the clipboard. This allows automation of common editing operations.
In its prototypical application, qenqote accepts URL's that have been copied or cut to the clipboard from a browser bar.
qenqote applies a user-selected quoting function, and writes the result back to the clipboard.
Besides its URL transformation applications, qenqote can be given a variable name from which it produces text of "for (...) { }" or "while (...) { }" structures; can produce formatted dates or strings according to clipboard and
other data; can put HTML tags around clipped text; can apply
regular-expression substitutions to text; and can output any simple function one cares to program.