Skip to main content

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


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)

Uploaded Source

Built Distribution

xontrib_clp-0.1.6-py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page