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.6.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for xontrib_clp-0.1.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60e19079956a71cbc8ed737d3ca23ee5b1d22d1cfd93cfa4cff4a8312d3b44c3 |
|
MD5 | 09028b240dfc6b0f891622610344bbf3 |
|
BLAKE2b-256 | b73d500f12f13d9771f4045e73d071eef0cecadf72e2dccde86672f343b7cc0a |