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.

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

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.0.tar.gz (1.9 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.0-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: snsr-0.1.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.2

File hashes

Hashes for snsr-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ea39ed2137b190347763559b6e9b19b4d2d0923cd6d7bc15d9cdc00b729d0d9e
MD5 428eef16069c592b52423670597c04a2
BLAKE2b-256 a069985beb4f71f7fdd7b2c4741f35374faeff09d7f5d545c8e9b00b6c5693f1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: snsr-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.2

File hashes

Hashes for snsr-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 26795dca511b13611a08008c245e41a9ede421c85d51f2821a7da87f2ef1df62
MD5 5abcea23926dd7661d6ad6d2bf2ace74
BLAKE2b-256 b27ee91131b8fb86450ccf89de8ed96c9e6087a4bad392c315fe35a22fbb7f44

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