The only clipboard library for Python that supports text on all three major platforms plus HTML on MacOS and HTML and images on Windows.
Similar to pyperclip and clipboard and xerox except attempts to support more formats than just text.
This library is just a thin wrapper around the best platform implementations:
pyperclip for Linux
richxerox for MacOS
jaraco.windows for Windows
Usage
jaraco.clipboard supplies several functions in the clipboard module. The most common are the copy and paste functions:
from jaraco import clipboard
clipboard.copy('some text')
clipboard.paste() == 'some text'
Other functions include copy/paste html and image.
If not implemented on your platform, the functions will raise NotImplementedError.
Metadata
Release files for jaraco.clipboard 3.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jaraco.clipboard-3.1.0.tar.gz | 12.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jaraco.clipboard-3.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.7 kB
Release files / jaraco.clipboard-3.1.0.tar.gz
| Download URL | jaraco.clipboard-3.1.0.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cf95d054aa1285b1c568dbc4209c9625d0b18d851a2b7cbf739ca9a7ed1d0f22
|
|
BLAKE2b-256 checksum How to use checksums |
15b53f9bf4bf1323b3b1e69585f2bae2d5de4a41fd997f53af846a9b0f70efc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|
Release files / jaraco.clipboard-3.1.0-py3-none-any.whl
| Download URL | jaraco.clipboard-3.1.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b1aa9196457714f98d1a83471223001b002d3ad75195e6f8b3cc441ca9a4ff6
|
|
BLAKE2b-256 checksum How to use checksums |
bf57653669bf031257be2e9cdc10271bb8c4ab7c54d9e49302c5a899905c0864
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.3.3 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
|