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 = []
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.1.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for pyquickcopy-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d5169edd40700a74c7a510c0e5a4d49724f7ed5356421f658c5166fc2161a98 |
|
MD5 | 32a36b51ce86e221d3c5283018cce4fb |
|
BLAKE2b-256 | 1f3980640b2cfdd34b0ee81dade00fb656d2c4b3fe19883e393875563bdbb65c |