Socket
Socket
Sign inDemoInstall

pyclip-copycat

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Protect your apps from supply chain attacks

Install

pyclip-copycat

easily interact with clipboard from Python fork from pyclip

    1.0

Maintainers
1

Readme

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

FAQs


Did you know?

Socket installs a GitHub app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc