Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

Pyperclipfix is is a cross-platform Python 3 module for copy and paste clipboard functions. It’s just a fork of [pyperclip](https://github.com/asweigart/pyperclip) with several merged pull requests and some minor bugfixes/leftover code removals (including the Python 2 support, which was already broken in the official version).

Install on Windows: pip install pyperclipfix

Install on Linux/macOS: pip3 install pyperclipfix

Al Sweigart al@inventwithpython.com BSD License

Example Usage

>>> import pyperclipfix
>>> pyperclipfix.copy('The text to be copied to the clipboard.')
>>> pyperclipfix.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 pyobjc module (if installed) or on the pbcopy and pbpaste commands, which should come with the os.

On Linux, on X11 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.) On Wayland it makes use of wl-copy and wl-paste (which can be installed with “sudo apt-get install wl-clipboard”), or also gpaste on GNOME (preferred, can be installed with “sudo apt-get install gpaste”). Otherwise on Linux, you will need the qtpy or PyQT5 modules installed.

Support

If you find this project helpful and would like to support its development, [consider donating to the original creator on Patreon](https://www.patreon.com/AlSweigart).

Release files for pyperclipfix 1.9.4

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

Source distribution (sdist)

Source distribution for pyperclipfix 1.9.4
File Size Uploaded
pyperclipfix-1.9.4.tar.gz 21.1 kB Details

Built distribution (wheel)

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

Total release size: 32.3 kB

Release files / pyperclipfix-1.9.4.tar.gz

Download URL pyperclipfix-1.9.4.tar.gz
Size 21.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a6c1bbe582190f0e141d338cd33bebf707aa782cdc5b93df140b142b52747da1
BLAKE2b-256 checksum
How to use checksums
bbcdf4e48c462a8b686cf24c1ff20f8ab9b0a390c4517ef520f01b1f181e79ad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6

Release files / pyperclipfix-1.9.4-py3-none-any.whl

Download URL pyperclipfix-1.9.4-py3-none-any.whl
Size 11.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
345260636d601f291278c91728f52a87cc5eeb9f26a432d858abebac41f56dbf
BLAKE2b-256 checksum
How to use checksums
e8738a8a044b4d5ede957d7edc1f2706f0e566ea7474bf66883f798b97d5f6ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.6
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