Pyperclip is a cross-platform Python module for copy and paste clipboard functions. It works with Python 2 and 3. It currently only handles plain text. For example usage see /usr/doc/pyperclip-$VERSION/README.md Optional Dependencies: - xclip - xsel