Skip to main content

Multi-format, cross-platform clipboard library

Project description

jaraco.clipboard

https://img.shields.io/pypi/v/jaraco.clipboard.svg https://img.shields.io/pypi/pyversions/jaraco.clipboard.svg https://img.shields.io/pypi/dm/jaraco.clipboard.svg https://img.shields.io/travis/jaraco/jaraco.clipboard/master.svg

A thin wrapper around platform-specific implementations of clipboard functionality.

Similar to pyperclip and clipboard and xerox except attempts to support more formats than just text.

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.

Project details


Download files

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

Source Distribution

jaraco.clipboard-1.2.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distribution

jaraco.clipboard-1.2-py2.py3-none-any.whl (5.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page