Skip to main content

# 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.

Download files

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

Source Distribution

pyclip-copycat-1.0.tar.gz (1.5 kB view details)

Uploaded Source

File details

Details for the file pyclip-copycat-1.0.tar.gz.

File metadata

  • Download URL: pyclip-copycat-1.0.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyclip-copycat-1.0.tar.gz
Algorithm Hash digest
SHA256 7a8d4afdf1f5108f1d91bd1628b14991ca0a90cf24a8a54e170c5223d836fb26
MD5 a4ca8b7bd6449c403879a5b86077b545
BLAKE2b-256 0ae35ba3161c4e8f99ef00befdd8f79831d7904aff23fb23034ee1e64f82db43

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0 This release

1 file

0.2

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page