You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

xontrib-clp

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xontrib-clp

Copy output to clipboard.


Maintainers
1

Readme

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc