copypaste
Platform independent copy + paste library for Python This library is easier and more powerful than xerox, I think :).
Supported:
OS X (pbcopy + pbpaste)
Linux (required xclip)
Windows (required pywin32 or IronPython)
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.
Metadata
Release files for copypaste 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| copypaste-0.2.zip | 7.6 kB | Without provenance | Details |
Release files / copypaste-0.2.zip
| Download URL | copypaste-0.2.zip |
|---|---|
| Size | 7.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b145b709eabbc63a7156105a23df287a249327c521e44ec237721e90f21ab886
|
|
BLAKE2b-256 checksum How to use checksums |
1ce8fa2fa07ccc1f8be6f7dd4d70bc908db1b9e78a19501b327693c6c0aba9f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for copypaste 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.