A simple random movement screensaver.
Project description
snsr
A playful Python-based "screensaver" that randomly moves your mouse and simulates key presses to keep your screen active.
Features
- Moves the mouse to random screen positions.
- Simulates random key presses.
- Keeps your system from going idle.
- Lightweight and easy to use.
Usage
Using uv
If you're using uv, you can run the snsr command directly without needing to activate a virtual environment first. Just use uvx:
uvx snsr
Using pip
You can install snsr using pip:
pip install snsr
snsr
It will:
- Move your mouse to random points on the screen
- Press a random key (
a,s,d,f,j,k,l) - Repeat this process every few seconds
To Stop
Press Ctrl+C in the terminal to exit.
Notes
- Ensure your OS allows simulated input events from Python scripts.
- Useful for keeping your machine awake during long tasks (e.g., rendering, builds, meetings).
Disclaimer
This project is intended for educational or personal use only. Use responsibly and respect your organization's policies regarding input automation.
MIT License © 2025
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
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 snsr-0.1.6.tar.gz.
File metadata
- Download URL: snsr-0.1.6.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
550d5ef54ad9b49c1ac03b7dc9971c8add2c2f329bf0e5cce620ddd43d65f509
|
|
| MD5 |
3b3eb508f7e5ad8629f0ba0924702173
|
|
| BLAKE2b-256 |
31b602a6339bfbfa949e680f0af2cbc71e8bfdcc9c8f6e3154405aa1e945dd00
|
File details
Details for the file snsr-0.1.6-py3-none-any.whl.
File metadata
- Download URL: snsr-0.1.6-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f492ccd2afb78ad135736b6efc689824406d4cd44f978a64464fa145a6a00c7
|
|
| MD5 |
a76fd7761223471a24d842b80396cbe5
|
|
| BLAKE2b-256 |
2425216a43285db54c181d311f909872e251627a1c3b75c1c2ff0764ffd13f11
|