Skip to main content

Python module to control ch9329

Project description

ch9329

Python module to control ch9329

Installation

You can install the package via pip:

pip install ch9329

Usage

from serial import Serial

from ch9329 import keyboard
from ch9329 import mouse

ser = Serial("COM3", 9600, timeout=1)

keyboard.press_and_release(ser, "a", modifier="ctrl")
keyboard.write(ser, "Hello World\n")
keyboard.write(ser, "abcdefghijklmnopqrstuvwxyz\n")
keyboard.write(ser, "ABCDEFGHIJKLMNOPQRSTUVWXYZ\n")
keyboard.write(ser, "0123456789\n")
keyboard.write(ser, "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~\n")

mouse.move(ser, x=500, y=500)
mouse.move(ser, x=50, y=50, relative=True)
mouse.click(ser, button="left")

ser.close()

License

This project is licensed under the terms of the MIT license.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Contact

If you want to contact me you can reach me at pradish@sandbox.com.np.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ch9329-1.0.9.tar.gz (9.5 kB view details)

Uploaded Source

Built Distribution

ch9329-1.0.9-py3-none-any.whl (10.0 kB view details)

Uploaded Python 3

File details

Details for the file ch9329-1.0.9.tar.gz.

File metadata

  • Download URL: ch9329-1.0.9.tar.gz
  • Upload date:
  • Size: 9.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for ch9329-1.0.9.tar.gz
Algorithm Hash digest
SHA256 98e0c0ef71a2ac9f08e9b0305b1613e3029b8691fdf0baaae5afca2770f7a6fb
MD5 a89786a5a2097138ecdd0e83ae3ac293
BLAKE2b-256 2495f7c4c74ef7fbef5f4e178e1da73e02ec8a04504aa4c39682d086643ad078

See more details on using hashes here.

File details

Details for the file ch9329-1.0.9-py3-none-any.whl.

File metadata

  • Download URL: ch9329-1.0.9-py3-none-any.whl
  • Upload date:
  • Size: 10.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for ch9329-1.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 9c3091b39276890ad864cc3bd6a8838105ea698d91ccb3b8307464ac89152fb0
MD5 523dbd85def8096ca2735a64305e32e7
BLAKE2b-256 f534d6765398ff5b7fd00111b6a64f8dd8ce8b1a198d62e6f5fb853768634655

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page