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.3.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.3-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: snsr-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 9aa3e3bff0bc348a7d391aff5b2a29a8d906fdc42a062eb89467f5557ea394dd
MD5 6bfd7ebe71aa511e26030d1cd0834855
BLAKE2b-256 5f1af1ec3307001bcd75159904409690db307be4ae71d8f7d4e4b9fd2ac98403

See more details on using hashes here.

File details

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

File metadata

  • Download URL: snsr-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a6cc8bd98854b5d7e5b8ecd90282657b9c0f007d6304f1aaaf76c1dc721511ee
MD5 2ee1408e9d23aaae6d86506cff795667
BLAKE2b-256 8896fb8fae8cb0f4ab23bcb107b80c9182642f03d0ebb31a7374e2e45be6965e

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