Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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

Project Description

>>> import 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 PyQt4 modules installed.

Release History

History Node

1.6.0

History Node

1.5.32

History Node

1.5.31

History Node

1.5.30

History Node

1.5.29

History Node

1.5.28

History Node

1.5.27

History Node

1.5.26

History Node

1.5.25

History Node

1.5.24

History Node

1.5.23

History Node

1.5.22

History Node

1.5.21

History Node

1.5.20

History Node

1.5.19

History Node

1.5.18

History Node

1.5.17

History Node

1.5.16

History Node

1.5.15

History Node

1.5.14

History Node

1.5.13

History Node

1.5.12

History Node

1.5.11

History Node

1.5.10

History Node

1.5.9

History Node

1.5.8

History Node

1.5.7

History Node

1.5.6

History Node

1.5.5

This version
History Node

1.5.4

History Node

1.5.3

History Node

1.5.2

History Node

1.5.1

History Node

1.5.0

History Node

1.3

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
pyperclip-1.5.4.zip
(13.0 kB) Copy SHA256 Hash SHA256
Source None Sep 10, 2014

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting