diff options
| author | Syndamia <kami02882@gmail.com> | 2019-07-29 11:46:36 +0300 |
|---|---|---|
| committer | Syndamia <kami02882@gmail.com> | 2019-07-29 11:46:36 +0300 |
| commit | bc09da5a7b65b08b5d5dcd1e90173ad3b6081c23 (patch) | |
| tree | c66cebc02aac30ff859c06ca462f3dd58b6809b0 /Python/venv1/Lib/site-packages/keyboard-0.13.3.dist-info | |
| parent | 65edf7296baf48aad1b4e0c09b57f1a7f48791a8 (diff) | |
| download | Self-learning-bc09da5a7b65b08b5d5dcd1e90173ad3b6081c23.tar Self-learning-bc09da5a7b65b08b5d5dcd1e90173ad3b6081c23.tar.gz Self-learning-bc09da5a7b65b08b5d5dcd1e90173ad3b6081c23.zip | |
Did some more work in Python and started officially learning Java
Diffstat (limited to 'Python/venv1/Lib/site-packages/keyboard-0.13.3.dist-info')
5 files changed, 173 insertions, 0 deletions
diff --git a/Python/venv1/Lib/site-packages/keyboard-0.13.3.dist-info/INSTALLER b/Python/venv1/Lib/site-packages/keyboard-0.13.3.dist-info/INSTALLER new file mode 100644 index 0000000..a1b589e --- /dev/null +++ b/Python/venv1/Lib/site-packages/keyboard-0.13.3.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/Python/venv1/Lib/site-packages/keyboard-0.13.3.dist-info/METADATA b/Python/venv1/Lib/site-packages/keyboard-0.13.3.dist-info/METADATA new file mode 100644 index 0000000..f7fc008 --- /dev/null +++ b/Python/venv1/Lib/site-packages/keyboard-0.13.3.dist-info/METADATA @@ -0,0 +1,126 @@ +Metadata-Version: 2.1 +Name: keyboard +Version: 0.13.3 +Summary: Hook and simulate keyboard events on Windows and Linux +Home-page: https://github.com/boppreh/keyboard +Author: BoppreH +Author-email: boppreh@gmail.com +License: MIT +Keywords: keyboard hook simulate hotkey +Platform: UNKNOWN +Classifier: Development Status :: 4 - Beta +Classifier: License :: OSI Approved :: MIT License +Classifier: Operating System :: Microsoft :: Windows +Classifier: Operating System :: Unix +Classifier: Operating System :: MacOS :: MacOS X +Classifier: Programming Language :: Python :: 2 +Classifier: Programming Language :: Python :: 3 +Classifier: Topic :: Software Development :: Libraries :: Python Modules +Classifier: Topic :: Utilities +Requires-Dist: pyobjc; sys_platform == "darwin" + +keyboard +======== + +Take full control of your keyboard with this small Python library. Hook +global events, register hotkeys, simulate key presses and much more. + +Features +-------- + +- **Global event hook** on all keyboards (captures keys regardless of + focus). +- **Listen** and **send** keyboard events. +- Works with **Windows** and **Linux** (requires sudo), with + experimental **OS X** support (thanks @glitchassassin!). +- **Pure Python**, no C modules to be compiled. +- **Zero dependencies**. Trivial to install and deploy, just copy the + files. +- **Python 2 and 3**. +- Complex hotkey support (e.g. ``ctrl+shift+m, ctrl+space``) with + controllable timeout. +- Includes **high level API** (e.g. `record <#keyboard.record>`__ and + `play <#keyboard.play>`__, + `add_abbreviation <#keyboard.add_abbreviation>`__). +- Maps keys as they actually are in your layout, with **full + internationalization support** (e.g. ``Ctrl+ç``). +- Events automatically captured in separate thread, doesn’t block main + program. +- Tested and documented. +- Doesn’t break accented dead keys (I’m looking at you, pyHook). +- Mouse support available via project + `mouse <https://github.com/boppreh/mouse>`__ (``pip install mouse``). + +Usage +----- + +Install the `PyPI package <https://pypi.python.org/pypi/keyboard/>`__: + +:: + + pip install keyboard + +or clone the repository (no installation required, source files are +sufficient): + +:: + + git clone https://github.com/boppreh/keyboard + +or `download and extract the +zip <https://github.com/boppreh/keyboard/archive/master.zip>`__ into +your project folder. + +Then check the `API docs +below <https://github.com/boppreh/keyboard#api>`__ to see what features +are available. + +Example +------- + +.. code:: py + + import keyboard + + keyboard.press_and_release('shift+s, space') + + keyboard.write('The quick brown fox jumps over the lazy dog.') + + keyboard.add_hotkey('ctrl+shift+a', print, args=('triggered', 'hotkey')) + + # Press PAGE UP then PAGE DOWN to type "foobar". + keyboard.add_hotkey('page up, page down', lambda: keyboard.write('foobar')) + + # Blocks until you press esc. + keyboard.wait('esc') + + # Record events until 'esc' is pressed. + recorded = keyboard.record(until='esc') + # Then replay back at three times the speed. + keyboard.play(recorded, speed_factor=3) + + # Type @@ then press space to replace with abbreviation. + keyboard.add_abbreviation('@@', 'my.long.email@example.com') + + # Block forever, like `while True`. + keyboard.wait() + +Known limitations: +------------------ + +- Events generated under Windows don’t report device id + (``event.device == None``). + `#21 <https://github.com/boppreh/keyboard/issues/21>`__ +- Media keys on Linux may appear nameless (scan-code only) or not at + all. `#20 <https://github.com/boppreh/keyboard/issues/20>`__ +- Key suppression/blocking only available on Windows. + `#22 <https://github.com/boppreh/keyboard/issues/22>`__ +- To avoid depending on X, the Linux parts reads raw device files + (``/dev/input/input*``) but this requries root. +- Other applications, such as some games, may register hooks that + swallow all key events. In this case ``keyboard`` will be unable to + report events. +- This program makes no attempt to hide itself, so don’t use it for + keyloggers or online gaming bots. Be responsible. + + diff --git a/Python/venv1/Lib/site-packages/keyboard-0.13.3.dist-info/RECORD b/Python/venv1/Lib/site-packages/keyboard-0.13.3.dist-info/RECORD new file mode 100644 index 0000000..79fe39e --- /dev/null +++ b/Python/venv1/Lib/site-packages/keyboard-0.13.3.dist-info/RECORD @@ -0,0 +1,39 @@ +keyboard-0.13.3.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +keyboard-0.13.3.dist-info/METADATA,sha256=EKtsFJrqlMzkHtc2wfjLNwRb55SwBUpMRApc7JSOGqI,4138 +keyboard-0.13.3.dist-info/RECORD,, +keyboard-0.13.3.dist-info/WHEEL,sha256=CG516Me1TEyQqkQMqQpnDadrWi7ujPk88poSAu3OliQ,116 +keyboard-0.13.3.dist-info/top_level.txt,sha256=c5wzGrDqCQG1WTTAnxmIHqUWNvjPR9E1TLvrIfpzE-E,9 +keyboard/__init__.py,sha256=Lkeg0f2xsfd7T3RfeLL2WTan_8j9opLVu17OQCLt8do,43556 +keyboard/__main__.py,sha256=hT5QQiFEKZ7U9009Ox0JMONeON4vzhHwS7X-J5KU38M,378 +keyboard/__pycache__/__init__.cpython-37.pyc,, +keyboard/__pycache__/__main__.cpython-37.pyc,, +keyboard/__pycache__/_canonical_names.cpython-37.pyc,, +keyboard/__pycache__/_darwinkeyboard.cpython-37.pyc,, +keyboard/__pycache__/_darwinmouse.cpython-37.pyc,, +keyboard/__pycache__/_generic.cpython-37.pyc,, +keyboard/__pycache__/_keyboard_event.cpython-37.pyc,, +keyboard/__pycache__/_keyboard_tests.cpython-37.pyc,, +keyboard/__pycache__/_mouse_event.cpython-37.pyc,, +keyboard/__pycache__/_mouse_tests.cpython-37.pyc,, +keyboard/__pycache__/_nixcommon.cpython-37.pyc,, +keyboard/__pycache__/_nixkeyboard.cpython-37.pyc,, +keyboard/__pycache__/_nixmouse.cpython-37.pyc,, +keyboard/__pycache__/_winkeyboard.cpython-37.pyc,, +keyboard/__pycache__/_winmouse.cpython-37.pyc,, +keyboard/__pycache__/_xlibkeyboard.cpython-37.pyc,, +keyboard/__pycache__/mouse.cpython-37.pyc,, +keyboard/_canonical_names.py,sha256=_V7K9lmF5z0eMbdMHr85KWoE_SC79zoeYfYB3n914pE,29474 +keyboard/_darwinkeyboard.py,sha256=nmDPlMPM2iE5ioZJpZf40GJgdFWta_xKnbwIv3efzAM,18124 +keyboard/_darwinmouse.py,sha256=YoD2RmGEnCoptlKn9Tbzg3k9pBVsosetxxQ5Fo3fb8E,6515 +keyboard/_generic.py,sha256=94SXyZp6IHAJ0gZJSpBB7hy5kVlYJbtYrsHw71CbOu0,2176 +keyboard/_keyboard_event.py,sha256=Spsn28-Tbv50fGB8YBVVvzdaYP3Qd8DDJ_OHrMltskM,1630 +keyboard/_keyboard_tests.py,sha256=TKsNk_ZEGGe7RBb48SZp9QG6l9a0M_FeQ_vyrTQ4x9c,36830 +keyboard/_mouse_event.py,sha256=zRQGO6M6nbA-jvhI0yz4HzvQNcScF48PZ9iRegcTVjQ,422 +keyboard/_mouse_tests.py,sha256=jeXMAm8NCnM1xfoMacfj0Rqves8Zs7mehZHT8c0weaw,10014 +keyboard/_nixcommon.py,sha256=WLzMzpb7SB03Wpohzoh4BbLBZZMre_NHKfRrRdjhb_k,6053 +keyboard/_nixkeyboard.py,sha256=jBnwq-yVNb9j67P9OpeR7WBt1J6499VW_Uia3FDFRQo,5882 +keyboard/_nixmouse.py,sha256=rgcxW1Y0xljbk_Ljtqc08PLe9F9_jCki-oQUz-LvHcI,3518 +keyboard/_winkeyboard.py,sha256=vUjNUBuucbHfZtGbxprFv_kC-ekhPk9bwiIGGhfbu74,20607 +keyboard/_winmouse.py,sha256=_8t4jDlnVRqeKr0HvtTbvnD8xwElmpGFtqOlZbIAbwM,5817 +keyboard/_xlibkeyboard.py,sha256=7-Lbwvx5U2GsOFoDHmeGHrrpAqpVzx51Xnetl9OG3XE,3652 +keyboard/mouse.py,sha256=Eq50w6QnyYAGiJ_Y7ERmU-jQlYO7NT0aSFMkR-Fnwnc,7639 diff --git a/Python/venv1/Lib/site-packages/keyboard-0.13.3.dist-info/WHEEL b/Python/venv1/Lib/site-packages/keyboard-0.13.3.dist-info/WHEEL new file mode 100644 index 0000000..1316c41 --- /dev/null +++ b/Python/venv1/Lib/site-packages/keyboard-0.13.3.dist-info/WHEEL @@ -0,0 +1,6 @@ +Wheel-Version: 1.0 +Generator: bdist_wheel (0.31.1) +Root-Is-Purelib: true +Tag: py2-none-any +Tag: py3-none-any + diff --git a/Python/venv1/Lib/site-packages/keyboard-0.13.3.dist-info/top_level.txt b/Python/venv1/Lib/site-packages/keyboard-0.13.3.dist-info/top_level.txt new file mode 100644 index 0000000..c253983 --- /dev/null +++ b/Python/venv1/Lib/site-packages/keyboard-0.13.3.dist-info/top_level.txt @@ -0,0 +1 @@ +keyboard |
