Skip to main content

git pp

Pyperclip CLI - cross-platform clipboard utility

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

Metadata

Release files for pyperclip-cli 0.1.2

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

Source distribution (sdist)

Source distribution for pyperclip-cli 0.1.2
File Size Uploaded Provenance Actions
pyperclip-cli-0.1.2.tar.gz 3.0 kB Without provenance Details for pyperclip-cli-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyperclip-cli 0.1.2
File Interpreter ABI Platform Actions
pyperclip_cli-0.1.2-py3-none-any.whl Python 3 none any Details for pyperclip_cli-0.1.2-py3-none-any.whl

Total release size: 6.1 kB

Release files / pyperclip-cli-0.1.2.tar.gz

Download URL pyperclip-cli-0.1.2.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
70f01ce7966a37811b4e69c8c1d6e53c173d9289d42c74f6ff6268b36875ddf0
BLAKE2b-256 checksum
How to use checksums
4114e41ab1ca926dcbf78faf8a53cf940827d36ccee462b2ce1a9d2292426a7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.4 Darwin/21.4.0

Release files / pyperclip_cli-0.1.2-py3-none-any.whl

Download URL pyperclip_cli-0.1.2-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
37b772a432226e9aa7d86281445014003b1057139f6093ec042ccd8f59bedbfd
BLAKE2b-256 checksum
How to use checksums
2de22e8288201da4b24ba32e372b49b6cde280525e5920b62eb9d342e1b3e8dd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.13 CPython/3.10.4 Darwin/21.4.0

Security for pyperclip-cli 0.1.2

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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files No provenance

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