Skip to main content

This is a slightly modified version of pyperclip 1.8.3 fixing an attribution error, renamed to pyp3rclip as this may break python 2 compatibility.

The description below is from the original pyperclip repository: https://github.com/asweigart/pyperclip

Pyp3rclip is a cross-platform Python module for copy and paste clipboard functions. It works with Python 2 and 3.

Install on Windows: pip install pyp3rclip

Install on Linux/macOS: pip3 install pyp3rclip

Al Sweigart al@inventwithpython.com BSD License

Example Usage

>>> import pyp3rclip
>>> pyp3rclip.copy('The text to be copied to the clipboard.')
>>> pyp3rclip.paste()
'The text to be copied to the clipboard.'

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.

Release files for pyp3rclip 1.8.0

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

Source distribution (sdist)

Source distribution for pyp3rclip 1.8.0
File Size Uploaded
pyp3rclip-1.8.0.tar.gz 21.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyp3rclip 1.8.0
File Interpreter ABI Platform
pyp3rclip-1.8.0-py3-none-any.whl Python 3 none any Details

Total release size:32.3 kB

Release files / pyp3rclip-1.8.0.tar.gz

Download URL pyp3rclip-1.8.0.tar.gz
Size 21.1 kB
Tags Source
SHA-256 checksum
How to use checksums
593bcc6c401376551813292b4fb1a145ed33704dc1f29714cc7ea1e0cdf667d7
BLAKE2b-256 checksum
How to use checksums
ad242827233e9f51b9713ab267c9d0907268e9cce8b8256d014655a71feefc09
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.5

Release files / pyp3rclip-1.8.0-py3-none-any.whl

Download URL pyp3rclip-1.8.0-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33fadf8c19c586f046a9a5d1635822ca6caa49dfdbaed3542e5d5c8121f97a79
BLAKE2b-256 checksum
How to use checksums
e2baf4dbbf264ea48011fce1f83e22600bd62b60f482ca2445829235cb21c827
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

1.8.0 This release

2 release files

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