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.
Installation
You can install snsr using pip or uv once it’s published to PyPI:
pip install snsr
# or
uv pip install snsr
Usage
Once installed, run the screensaver from any terminal with:
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.
Requirements
- Python 3.7+
pyautogui
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.1.tar.gz.
File metadata
- Download URL: snsr-0.1.1.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6007cc53387e8a047f52a747581e097371ff56abcfab13c061670d527a25dac9
|
|
| MD5 |
b34ee56e209f09e0ed1c469d72f93b22
|
|
| BLAKE2b-256 |
ecf38858bdccbf414b4944234519c52aef3f061d6245f0e232b04f5a28ac9474
|
File details
Details for the file snsr-0.1.1-py3-none-any.whl.
File metadata
- Download URL: snsr-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bb4c7267770cced32abc45eb0c9d47d41606372368212229783e80c9157e3bf4
|
|
| MD5 |
61a678bdc354cca59ac1cbb0382db506
|
|
| BLAKE2b-256 |
75dae7bba0723bf70a69a83cae25c4efbffcfda188bab88161f6a9d66ba58a4f
|