Skip to main content

It is used to do some control with keyboard/mouse on windows (especially on win10).

Project description

# Just Test

# Project Name

[windows_control_python](https://pypi.org/project/windows-control/) 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](https://crates.io/crates/pyo3). ## Installation

`bash 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](https://pyo3.rs/v0.19.0/getting_started), [PyO3 guide](https://pyo3.rs/v0.19.0/building_and_distribution#manual-builds) and [How to use maturin to publish a python package](https://www.maturin.rs/tutorial.html).

### 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.

### Publish

use maturin publish to publish the package to PyPI.When you see `bash 🚀 Uploading 2 packages ✨ Packages uploaded successfully ` This means it’s published successfully, and you can check it in [PyPi](https://pypi.org/project/windows-control/).

### Automatic Development

If you have [just](https://crates.io/crates/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.

## A little Test Hi, there

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

windows_control-0.0.3.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

windows_control-0.0.3-cp38-abi3-win_amd64.whl (107.4 kB view details)

Uploaded CPython 3.8+Windows x86-64

File details

Details for the file windows_control-0.0.3.tar.gz.

File metadata

  • Download URL: windows_control-0.0.3.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.1.0

File hashes

Hashes for windows_control-0.0.3.tar.gz
Algorithm Hash digest
SHA256 75d63f7c47cc4889f212c5f257e509e4e1a2959d49e7256e66f40709458f9853
MD5 f7a2dc41faef2d30110cb7a0dfd31a87
BLAKE2b-256 beddf562bd726237949111364eb908588493f4d896e877c41df8ec704bc3d644

See more details on using hashes here.

File details

Details for the file windows_control-0.0.3-cp38-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for windows_control-0.0.3-cp38-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 b4b5e66a13f0ad588fe0519c8ba5aba9e7bb77f0a4c9a60faa6a1c83e3da6f7b
MD5 d04853cbfc8d98d1f10412d6ddf1429c
BLAKE2b-256 c11cb488344da78cb5e8c2fbd7ca0463d13020e2eb62bac47ded8273c113c4ce

See more details on using hashes here.

Supported by

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