Small ArrowVortex clipboard processing library
Project description
Description
Small Arrow Vortex clipboard processing library.
Install
You can install this library from PyPI with pip install av-clipboard-lib
or compile it from source with python setup.py build
.
Usage
import av_clipboard_lib as av
# A copy of [12][23][14] pattern, 16ths.
row_based_copy = """ArrowVortex:notes:!!WE'!<<-/!Xo&G!uM"""
parsed = av.parse_av_clipboard_data(row_based_copy)
assert parsed == [
av.Tap(0, 0), av.Tap(1, 0), # First argument: column, second: row.
av.Tap(1, 12), av.Tap(2, 12), # 12th row --> 16th.
av.Tap(0, 24), av.Tap(3, 24),
]
parsed[-1].column = 2 # Shift last tap to third column
# Overall pattern now: [12][23][13]
new_copy = av.produce_av_clipboard_data(parsed)
assert new_copy == """ArrowVortex:notes:!!WE'!<<-/!Xo&G!Z1"""
# It's up to you to make sure data is correct however
parsed[-1].column = 0
# No error, but AV will report overlapping notes
av.produce_av_clipboard_data(parsed)
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
av-clipboard-lib-1.0.0.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for av_clipboard_lib-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ee3df1f0ffd1f7ed70dc27e21e1fa08c9d1ff4c17af5f37dad8e7acdd29cb1e3 |
|
MD5 | 30b766361daaf6b074b26db90d27b669 |
|
BLAKE2b-256 | e9277adb92e14519a6221a895281b443fe35d872bec7703be4ef25f1cf927e7c |