pointer-brakes
Pointer Brakes is a library for simulating mouse pointer motion. The pointer will behave like it is a little car with brakes. If you push it, it moves. If you let go, it keeps moving but slowly comes to a stop as it applies the brakes.
Table of Contents
Installation
pip install pointer-brakes
Usage
NOTE Windows users should prefer time.time_ns() as the resolution is very poor on time.monotonic_ns()
a_brakes = 1
sim_instance = PointerMotionSim(a_brakes)
sim_instance.tick(time.monotonic_ns(), (-52, -5))
sim_instance.tick(time.monotonic_ns(), (21, -92))
change_in_position = sim_instance.delta_position
For more information check out the documentation.
License
pointer-brakes is distributed under the terms of the MIT license.
Metadata
Release files for pointer-brakes 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pointer_brakes-0.2.1.tar.gz | 312.9 kB | Without provenance | Details for pointer_brakes-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pointer_brakes-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for pointer_brakes-0.2.1-py3-none-any.whl |
Total release size: 319.1 kB
Release files / pointer_brakes-0.2.1.tar.gz
| Download URL | pointer_brakes-0.2.1.tar.gz |
|---|---|
| Size | 312.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
823ac83acb7dae405ad730739dd41a6489427543112e295fff689a4380987c16
|
|
BLAKE2b-256 checksum How to use checksums |
b78e8a3d5be43ec5bc43e61d4cd235a1b594532c6d3b3bd4ad88d63f93ffdb20
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Release files / pointer_brakes-0.2.1-py3-none-any.whl
| Download URL | pointer_brakes-0.2.1-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e6d244844f55fc6efda1b31bb2044218f2f944ca145d18732ba266ba69d49aa8
|
|
BLAKE2b-256 checksum How to use checksums |
1d13f23df4a48cb8dc8842e6762d7926502f2ffb2a5da1f35c27a757de35483a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.0.0 CPython/3.12.3
|
Security for pointer-brakes 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.