Copy output to clipboard.
Project description
Copy output to clipboard. Cross-platform.
If you like the idea click ⭐ on the repo and tweet.
Installation
To install use pip:
xpip install xontrib-clp
# OR: xpip install -U git+https://github.com/anki-code/xontrib-clp
Usage
xontrib load clp
echo hello | clp # Copy "hello\n" to clipboard
Use cases
pyperclip
$XONTRIB_CLP_ALIAS = 'pyperclip' # default
xontrib load clp
echo hello | clp # Copy "hello\n" to clipboard using pyperclip
shutil
$XONTRIB_CLP_ALIAS = 'shutil' # default
xontrib load clp
echo hello | clp # Copy "hello\n" to clipboard using platform-depending tool: pbcopy, xclip, etc
Credits
This package was created with xontrib template.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
xontrib-clp-0.1.5.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for xontrib_clp-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bb0a48b1e57c9b608d2246a3cb105b95a9e8722f2f00603c08018bffa9df056 |
|
MD5 | d12bbd7f084e9de90c6c5501d1df7041 |
|
BLAKE2b-256 | 625d6e8fd28caf11d4d407559cc652a3fc34f545c08c82e80e2f2c4e9214ab62 |