Utilities for use with Python.
Project description
Description
Package for accessing the clipboard with Python.
Installation
pip install clip-util
Features
Windows Only
Allows for text and HTML on Windows.
Supported Clipboard Formats
- Text
- HTML
Usage
Set Clipboard
from clipboard import Clipboard
clipboard = Clipboard()
clipboard['txt'] = 'Hello There.'
clipboard['html'] = '<h1>Hello World</h1>'
See Clipboard Formats
ClipboardFormats
: Enum for clipboard formats.
ClipboardFormats.CF_HTML
: Represents HTML format.
from clipboard import Clipboard
from clipboard import ClipboardFormats
from clipboard import HTMLClipboard
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
clip-util-0.0.1.tar.gz
(7.7 kB
view hashes)
Built Distribution
Close
Hashes for clip_util-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b85bf5265853e685dde6a3529ddeda9b29946e8568653d8d7cac319ef832811a |
|
MD5 | c102222d42911af141d23c2f35ebb391 |
|
BLAKE2b-256 | 84be454ebcee22283dc50ea1a66aa085a80b88c4080c43e15dfbeee3be3e96d3 |