Unlike WingRing0 that doesn't support USB keyboard, DD even works without a physical keyboard.
DD.str("abc") ; Send string abc
DD._key_press("F11") ; Send hotkey F11
DD._key_press("LWin", "R") ; Send Win+R
DD._key_press("Ctrl", "Alt", "S") ; Send Ctrl+Alt+S
There are some other methods such as sending mouse button or moving mouse, see the Source page for details.
A network connection is required when loading the DD library (dll file), but once loaded the computer can go offline.