CLI & Terminal

PyKeyboard

Third-party Python package module — keyboard. Auto-indexed from CDN. Method-level security roles have not been annotated; rule writers should inspect the source before use.

Other Methods

.add_abbreviation()Neutral
#
Signature
add_abbreviation(source_text, replacement_text, match_suffix, timeout)

add_abbreviation function.

.add_hotkey()Neutral
#
Signature
add_hotkey(hotkey, callback, args, suppress, timeout, trigger_on_release)

add_hotkey function.

.add_word_listener()Neutral
#
Signature
add_word_listener(word, callback, triggers, match_suffix, timeout)

add_word_listener function.

.block_key()Neutral
#
Signature
block_key(key)

block_key function.

.call_later()Neutral
#
Signature
call_later(fn, args, delay)

call_later function.

.get_hotkey_name()Neutral
#
Signature
get_hotkey_name(names)

get_hotkey_name function.

.get_typed_strings()Neutral
#
Signature
get_typed_strings(events, allow_backspace)

get_typed_strings function.

.hook()Neutral
#
Signature
hook(callback, suppress, on_remove)

hook function.

.hook_key()Neutral
#
Signature
hook_key(key, callback, suppress)

hook_key function.

.is_modifier()Neutral
#
Signature
is_modifier(key)

is_modifier function.

Fully-Qualified Names

FQNField
keyboardfqns[0]

Wrong FQN → 0 findings. Verify with: change fqns to garbage → must produce 0 results.

Import

rule.py
import keyboard