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.2.tar.gz
(7.8 kB
view hashes)
Built Distribution
Close
Hashes for clip_util-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48702b94306be822057bc6770c0a1b93343006840d6738997c83afba9a83ea70 |
|
MD5 | a4b8bfc2fb2ddc4235339a7212b67a2c |
|
BLAKE2b-256 | 7d7e717f48591877b9f769cd17c05ec78ee8dde7833a69dc4034736f931bbc5d |