Skip to main content

A cross-platform clipboard module for Python without PyQt. (Only handles plain text for now.)

Project description

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

Install on Windows: pip install pyperclip_pyside

Install on Linux/macOS: pip3 install pyperclip_pyside

Jiri Otoupal jiri.otoupal@uptim.ai

BSD License

Example Usage

>>> import pyperclip_pyside as pyperclip
>>> pyperclip.copy('The text to be copied to the clipboard.')
>>> pyperclip.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 PySide2 modules installed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyperclip_pyside-1.8.2.tar.gz (20.9 kB view details)

Uploaded Source

Built Distributions

pyperclip_pyside-1.8.2-py3.9.egg (18.8 kB view details)

Uploaded Source

pyperclip_pyside-1.8.2-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

pyperclip_pyside-1.8.2-py2.py3-none-any.whl (11.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pyperclip_pyside-1.8.2.tar.gz.

File metadata

  • Download URL: pyperclip_pyside-1.8.2.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for pyperclip_pyside-1.8.2.tar.gz
Algorithm Hash digest
SHA256 d5398b0646bb164aa2eea0c680eb4e9aba99933c59906362eeae48924211747b
MD5 7face3b31bb8f6b76221d743a4354edd
BLAKE2b-256 5989a4f023aab3a3cd39949149e9c3adb654c49ed03bc7f816f40c23b1d5a27a

See more details on using hashes here.

File details

Details for the file pyperclip_pyside-1.8.2-py3.9.egg.

File metadata

  • Download URL: pyperclip_pyside-1.8.2-py3.9.egg
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for pyperclip_pyside-1.8.2-py3.9.egg
Algorithm Hash digest
SHA256 353a59f5479ebe98a73a981ec64a3c3760519ede3890f125c3fb777124926611
MD5 76b802ac30080b77da19cdca613e6be8
BLAKE2b-256 10f69f70e0aacffdb4eb30af4cdd480714068fb3b67bddce1ac7ead969dd29be

See more details on using hashes here.

File details

Details for the file pyperclip_pyside-1.8.2-py3-none-any.whl.

File metadata

  • Download URL: pyperclip_pyside-1.8.2-py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for pyperclip_pyside-1.8.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d914cdecd43615f9b7b1d3056e5aff8fefa10c6ce6310ca5ff2b76c266fe0ee1
MD5 42847d1342c703527f3ea7540fe5d764
BLAKE2b-256 adcb8dfb7c55760bc6ba2a45d10fedca7cc01189afba4956104727b91ce51d08

See more details on using hashes here.

File details

Details for the file pyperclip_pyside-1.8.2-py2.py3-none-any.whl.

File metadata

  • Download URL: pyperclip_pyside-1.8.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.2

File hashes

Hashes for pyperclip_pyside-1.8.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6538753b92d66ebe47da965ee461d91ff056d22980616180ab873a723b7d1b94
MD5 ca72e5717121ddb79aa279a3a74a2cef
BLAKE2b-256 6e523108603306e9aed588ca1602c58a5eade955479ce4279cd00014944b7087

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page