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 details)
Built Distribution
File details
Details for the file pyquickcopy-0.0.2.tar.gz
.
File metadata
- Download URL: pyquickcopy-0.0.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fa8e3f1cbbda054d07bf49e9478268311fcc1b64fa1ad5cb3c23b779e9a9cff0 |
|
MD5 | 1d08fcb81a42f7281140c3153f236c31 |
|
BLAKE2b-256 | 08d9200dc3e700c6352fc36610fd0599820c62dcb98863717b6b2a4529aeb4c0 |
File details
Details for the file pyquickcopy-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: pyquickcopy-0.0.2-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba6f753ab575d6e5fdaf26327e807b61e6ba0b84fdd0b87fc73f0e08a1b9d0c3 |
|
MD5 | b4dc72df2c86f07ecc4c29bf4a0f5e38 |
|
BLAKE2b-256 | 891869c7c70c786dc5bbe5b53fe258a8ce659c256fe4521118582325059cc2c5 |