Skip to main content

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

snsr-0.1.4.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

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

snsr-0.1.4-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file snsr-0.1.4.tar.gz.

File metadata

  • Download URL: snsr-0.1.4.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for snsr-0.1.4.tar.gz
Algorithm Hash digest
SHA256 edaa1005b2ef379b0e9d5bc95286f107353c5b0a1077662e311e3cceac40468f
MD5 5d0c8bfcca512579f28116dc396ff646
BLAKE2b-256 4f74e2bc6908d93a988728eea3935c4e29aaf565c56cd61dec6294f330320bd2

See more details on using hashes here.

File details

Details for the file snsr-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: snsr-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 2.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for snsr-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 4c65ce02729a6d30e49017936fa5045e84ce92b03d43362ddfe2ac783465cae9
MD5 32ecf83e4c3581b7f7a79d321d5a5616
BLAKE2b-256 5691cd9f51c976909a37f57e0d6ac0aba093c02718ab35202888cf8766f388ef

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