It is used to do some control with keyboard/mouse on windows (especially on win10).
Project description
Project Name
windows_control_python is a project to generate a Python module named windows_control, which provides some simple and efficient ways to do manipulations on Windows systems(Especially on Win10). It is written in Rust using PyO3.
Installation
pip install windows_control
Requirements
- Setting for final usage: Python (version 3.9.11 or later)
- Extra setting for development: Rust (version 1.68 or later)
Examples
(TODO)
Contributing
Prerequisites
Before contributing to the project, you need to know about PyO3. You can follow the instructions in the PyO3 getting start, PyO3 guide and How to use maturin to publish a python package.
Manual Development
First, install python package maturin by running pip install maturin in terminal.
Second, make sure there is an virtual env at your project root directory. You can do it by running python -m venv .venv in terminal---the name .venv is specified for maturin.
Then, to add new features(like new funcs or new modules), modify the src/lib.rs file. After making changes, generate the Python module by running maturin develop. This command generates a library in target/debug. On Windows, rename the generated library file [your_module].dll to [your_module].pyd.
Finally, to test the generated library, run python test.py in the root directory to verify that the newly added features work correctly in Python.
Automatic Development
If you have just installed, run just to automatically generate and test the project. The justfile contains specific commands for this purpose.
License
This project is licensed under the MIT License.
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
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 windows_control-0.0.2.tar.gz.
File metadata
- Download URL: windows_control-0.0.2.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2717be73f4a5cc6b58882373f8088aa139e5678c014cdf8b57b0407c8a9140ef
|
|
| MD5 |
aabdf5519d9b6555355f2b52ab6c8bdc
|
|
| BLAKE2b-256 |
da789634c1209f0e71b131ca70c896abe677d86f57d9157a842a53bfe9ce5cd7
|
File details
Details for the file windows_control-0.0.2-cp38-abi3-win_amd64.whl.
File metadata
- Download URL: windows_control-0.0.2-cp38-abi3-win_amd64.whl
- Upload date:
- Size: 107.2 kB
- Tags: CPython 3.8+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.1.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2afc9f8b27679bdb0eb8a9f9561df77dd6bea5893d135cedc6d952f8d10d2cc9
|
|
| MD5 |
dffb330bfb8fba3762909ea801887caa
|
|
| BLAKE2b-256 |
bde670bcdeb669457e7c0e3fc74b00ebcd3ef6ce02c5f042f32fa3b50c0b2b3d
|