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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for snsr-0.1.2.tar.gz
Algorithm Hash digest
SHA256 32292631f4c0da35ffb4e916a8d3f1bba0802955784b6de57c0b6a1c91ab970c
MD5 185f1f2a82a2130b8133a4923c17ce5e
BLAKE2b-256 0e3e9bf4161f966e9b94395382ef432ac55f7ac6e33fecb8fdf5c24831a44ada

See more details on using hashes here.

File details

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

File metadata

  • Download URL: snsr-0.1.2-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

Hashes for snsr-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 925d3537e226bd9f50efb9a8811716b88b3ec23570404f16ff3a8a20965733a0
MD5 c0766a453c190c4eaf53e58241b8270a
BLAKE2b-256 40b49c82b1d1f3974a41adb7415a243327561f832bd30ddbf99c1612e707f835

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