Metadata-Version: 2.4
Name: rpi-hid
Version: 1.0.1
Summary: Raspberry Pi USB HID Keyboard + RubberDucky Interpreter
Home-page: https://github.com/AbhirupRudra/RPI-HID/tree/main/rpi_hid
Author: Abhirup Rudra
Author-email: abhiruprudra@gmail.com
License: MIT
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: POSIX :: Linux
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: System :: Hardware
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: license
Dynamic: license-file
Dynamic: requires-python
Dynamic: summary

# rpi-hid

Python USB HID Keyboard library for Raspberry Pi Zero / Zero 2 W.

## Install
sudo pip3 install .

## Example
from rpi_hid import Keyboard

kbd = Keyboard()
kbd.winRun("notepad")
kbd.type("Hello World")
kbd.close()

## DuckyScript Support
from rpi_hid import DuckyInterpreter

duck = DuckyInterpreter()
duck.run_script("""
GUI r
DELAY 300
STRING notepad
ENTER
""")
duck.close()
