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.5.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

xontrib_clp-0.1.5-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file xontrib-clp-0.1.5.tar.gz.

File metadata

  • Download URL: xontrib-clp-0.1.5.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for xontrib-clp-0.1.5.tar.gz
Algorithm Hash digest
SHA256 c4bfb0a31b8022b01760cc5dbc6df24c7ca67cb8e68143ec2dd9f8ec1cd7072b
MD5 55ef9168963315d93123ef6cb066e2df
BLAKE2b-256 2699f393d3dd0deed93bc9ea6939b6d1f4690209de7cd1dd2e5a1608fa06a076

See more details on using hashes here.

File details

Details for the file xontrib_clp-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: xontrib_clp-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for xontrib_clp-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 5bb0a48b1e57c9b608d2246a3cb105b95a9e8722f2f00603c08018bffa9df056
MD5 d12bbd7f084e9de90c6c5501d1df7041
BLAKE2b-256 625d6e8fd28caf11d4d407559cc652a3fc34f545c08c82e80e2f2c4e9214ab62

See more details on using hashes here.

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