Python implementation of [QuickCopy](https://github.com/foxe6/QuickCopy/).
Project description
pyQuickCopy
Python implementation of QuickCopy.
Hierarchy
pyquickcopy
'---- QuickCopy()
|---- copy()
|---- paste()
|---- clear()
'---- loop()
Example
python
import pyquickcopy
accumulate_list = []
# currently not working with clipboard with '\n' character
def listener(clipboard):
# tbd
# copy a special text to trigger clear accumulate_list
if "::clear" == clipboard:
accumulate_list.clear()
qc.clear()
qc.copy(clipboard)
return
# prevent loop after joining accumulate_list
if "\n" in clipboard:
return
accumulate_list.append(clipboard)
qc.copy("\n".join(accumulate_list))
print(accumulate_list)
print()
qc = pyquickcopy.QuickCopy(
listener=listener,
# how frequent the listener is called
listen_rate=1/10,
debug=False
)
qc.loop()
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
pyquickcopy-0.0.2.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for pyquickcopy-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba6f753ab575d6e5fdaf26327e807b61e6ba0b84fdd0b87fc73f0e08a1b9d0c3 |
|
MD5 | b4dc72df2c86f07ecc4c29bf4a0f5e38 |
|
BLAKE2b-256 | 891869c7c70c786dc5bbe5b53fe258a8ce659c256fe4521118582325059cc2c5 |