Skip to main content

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'
xontrib load clp
echo hello | clp   # Copy "hello\n" to clipboard using platform-depending tool: 
                   # pbcopy (Mac), xclip (Linux), clip.exe (Windows), etc

pst

If you need to paste the text and write to the file:

pst > /tmp/file
# Paste:
# <text>

cat /tmp/file
# <text>

Credits

This package was created with xontrib template.

Metadata

Release files for xontrib-clp 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xontrib-clp 0.1.7
File Size Uploaded Provenance Actions
xontrib_clp-0.1.7.tar.gz 3.7 kB Without provenance Details for xontrib_clp-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xontrib-clp 0.1.7
File Interpreter ABI Platform Actions
xontrib_clp-0.1.7-py3-none-any.whl Python 3 none any Details for xontrib_clp-0.1.7-py3-none-any.whl

Total release size: 7.8 kB

Release files / xontrib_clp-0.1.7.tar.gz

Download URL xontrib_clp-0.1.7.tar.gz
Size 3.7 kB
Tags Source
SHA-256 checksum
How to use checksums
059bb48cc510986f7ff7d3bb229cb3f8b4e30e0c6e719d536deddb93f58758bb
BLAKE2b-256 checksum
How to use checksums
c69f2fa54574470141368adb7181c4b3cbb104551cf8b5213f776c9a6d634d5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / xontrib_clp-0.1.7-py3-none-any.whl

Download URL xontrib_clp-0.1.7-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7abc865699d3bd94afd25a6f077cb1d29b616061736c3890b2a16d97da868cd2
BLAKE2b-256 checksum
How to use checksums
d2b0cb611ea4188a1656f450e57cb97394e900bd82c86baed889bdb6392fe645
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Security for xontrib-clp 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page