Skip to main content
https://img.shields.io/pypi/v/jaraco.clipboard.svg https://img.shields.io/pypi/pyversions/jaraco.clipboard.svg tests Code style: Black https://readthedocs.org/projects/jaracoclipboard/badge/?version=latest

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)

Source distribution for jaraco.clipboard 3.1.0
File Size Uploaded
jaraco.clipboard-3.1.0.tar.gz 12.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for jaraco.clipboard 3.1.0
File Interpreter ABI Platform
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

Release history Release notifications | RSS feed

This release

3.1.0 This release

2 release files

3.0.0

2 release files

2.0.1

2 release files

2.0

2 release files

1.3.4

2 release files

1.3.3

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3

2 release files

1.2

2 release files

1.1.2

2 release files

1.1

1 release file

1.0.3

1 release file

1.0.2

1 release file

1.0

1 release file

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