Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pyperclip-cli

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pyperclip-cli

Pyperclip CLI - cross-platform clipboard utility

  • 0.1.2
  • PyPI
  • Socket score

Maintainers
1

git pp

Pyperclip CLI - cross-platform clipboard utility

  • git pp

Features

  • Copy and paste from stdin / stdout or files
  • Cross-platform

Installation

Currently only handles plaintext.

On Windows, no additional modules are needed.

On Mac, this module makes use of the pbcopy and pbpaste commands, which should come with the os.

On Linux, this module makes use of the xclip or xsel commands, which should come with the os. Otherwise run "sudo apt-get install xclip" or "sudo apt-get install xsel" (Note: xsel does not always seem to work.)

Otherwise on Linux, you will need the gtk or PyQt4 modules installed.

pipx

This is the recommended installation method.

$ pipx install pyperclip-cli

pip

$ pip install pyperclip-cli

Usage

$ pyperclip --help

usage: pyperclip [-h] [-f FILE] [-o OUT] [ACTION]

Pyperclip CLI

positional arguments:
  ACTION                copy or paste (default: copy)

options:
  -h, --help            show this help message and exit
  -f FILE, --file FILE  Copy the content of the file (default: <_io.TextIOWrapper name='<stdin>' mode='r' encoding='utf-8'>)
  -o OUT, --out OUT     Paste to file (default: <_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)

Develop

$ git clone https://github.com/tddschn/pyperclip-cli.git
$ cd pyperclip-cli
$ poetry install

Keywords

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc