Skip to main content
Help us improve Python packaging – donate today!

easily interact with clipboard from Python fork from pyclip

Project Description

# PyClip-copycat fork from https://github.com/zhemao/pyclip

PyClip wraps the xclip command-line program on Linux and the pbcopy and pbpaste programs on Mac OS X and the clip and paste on Windows to provide an easy python interface to the system clipboard. To install the library, download the code and run sudo python setup.py install. You can then use the library like so

import clipboard

# copy some text to the clipboard clipboard.copy(‘blah blah blah’)

# get the text currently held in the clipboard text = clipboard.paste()

# helpful wrapper that passes pasted text through the csv module # useful for dealing with data copied from spreadsheets data = clipboard.paste_table()

Note: If you are using this on Linux, make sure you have the xclip program installed.

PyClip is release under an MIT license, reproduced in LICENSE.

Release history Release notifications

This version
History Node

1.0

History Node

0.2

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
pyclip-copycat-1.0.tar.gz (1.5 kB) Copy SHA256 hash SHA256 Source None Oct 6, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page