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!

Platform independent copy + paste library for Python

Project Description

Platform independent copy + paste library for Python This library is easier and more powerful than xerox, I think :).

Supported:

Install

pip install copypaste

Usage

>>> from copypaste import copy, paste
>>>
>>> copy('I\'m here to make web a better place!!')
>>> paste()
"I'm here to make web a better place!!"
>>>
>>> # Only for UNIX like systems you can specify your own command for copy and paste
>>> copy('I\'m here to make web a better place!!', cmd=['xsel', '-pi'])
>>> paste(cmd=['xsel', '-o'])
"I'm here to make web a better place!!"
>>>

Command line usage

% copy "I'm here to make web a better place!!"
% paste
I'm here to make web a better place!!
%
% echo I\'m here to make web a better place!! | copy
% paste
I'm here to make web a better place!!
%

License

copypaste is licensed under the MIT license. See the license file for details.

Release History

Release History

This version
History Node

0.2

History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
copypaste-0.2.zip (7.6 kB) Copy SHA256 Checksum SHA256 Source Feb 6, 2014

Supported By

WebFaction WebFaction Technical Writing 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 Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting