Skip to main content

jaraco.clipboard

Project description

jaraco.clipboard

Documentation

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.

Supported by

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