A lightweight library to simulate keyboard and mouse input
Project description
Introduction
Installation
install the package
pip install py-wininput
Examples
Send text
import wininput.keyboard as kb
kb.send_text("hello world")
kb.send_text("안녕하세요 세계")
The above program produces the following output
hello world
안녕하세요 세계
Send the virtual key
import wininput.keyboard as kb
import wininput.common as common
kb.send_virtual_key(common.VK_A) # Send the 'a' chacter
kb.send_virtual_key(common.VK_RETURN) # Send the return character
The above program produces the following output
a
<ENTER>
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
pywin-input-0.0.2.tar.gz
(5.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pywin-input-0.0.2.tar.gz.
File metadata
- Download URL: pywin-input-0.0.2.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
142f626e3d66ba0489fa75db03f939deacb94d79fd275c2e1cc83a4de2258d2c
|
|
| MD5 |
8b4ac369b20dd07f014c06cd2e82066a
|
|
| BLAKE2b-256 |
d6812790b8912da0b7797e1527fe6d5964537436c001c4f9adab47535c6ab068
|
File details
Details for the file pywin_input-0.0.2-py3-none-any.whl.
File metadata
- Download URL: pywin_input-0.0.2-py3-none-any.whl
- Upload date:
- Size: 6.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2dfb2e0cdd4cc3c796177719875ec33daec1bfe7764b546ae634f06a8088b417
|
|
| MD5 |
f25703e905793c73206546110d802633
|
|
| BLAKE2b-256 |
c64d5ef33ea83e316d33cb6f9fb9bd7c453713c0dfb4ad3f3fdb4cd6a4a83b55
|