
Security News
Open Source CAI Framework Handles Pen Testing Tasks up to 3,600× Faster Than Humans
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
A cross-platform clipboard module for Python. (Only handles plain text for now.)
Pyperclipfix is is a cross-platform Python 3 module for copy and paste clipboard functions. It's just a fork of 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
>>> 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.
If you find this project helpful and would like to support its development, consider donating to the original creator on Patreon.
FAQs
A cross-platform clipboard module for Python. (Only handles plain text for now.)
We found that pyperclipfix demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
CAI is a new open source AI framework that automates penetration testing tasks like scanning and exploitation up to 3,600× faster than humans.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.