Keeps your computer awake by moving the mouse or pressing a key when you step away.
Project description
Keep Presence
This program moves the mouse or presses a key when it detects that you are away from your computer.
It does nothing if you are using your computer, making it useful for tricking your machine into thinking you are still using it.
Demo
Install from Pypi
python3 -m pip install keep_presence
https://pypi.org/project/keep-presence/
Run
keep-presence
# or
python3 -m keep_presence
Install with Snap
sudo snap install keep-presence
Run
keep-presence
Manual installation
git clone https://github.com/carrot69/keep-presence.git
cd keep-presence
python3 -m pip install pynput
python3 src/keep-presence.py
Optional arguments
-h, --help show this help message and exit
-s SECONDS, --seconds SECONDS Define in seconds how long to wait after a user is
considered idle. Default 300.
-p PIXELS, --pixels PIXELS Set how many pixels the mouse should move. Default 1.
-c, --circular Move mouse in a circle. Default move diagonally.
-m MODE, --mode MODE Available options: keyboard, mouse, both (mouse & keyboard) and scroll.
Default is mouse.
This is the action that will be executed when the user is idle.
If keyboard is selected, the program will press the shift key.
If mouse is selected, the program will move the mouse.
If both is selected, the program will do both actions.
-r RANDOM RANDOM, --random RANDOM RANDOM
Usage: two numbers (ex. -r 3 10). Execute actions based on a
random interval between start and stop seconds.
Note: Overwrites the seconds argument.
Donations:
If you've found Keep Presence to be helpful, you can buy me a coffee, thanks!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
keep_presence-1.0.7.0.tar.gz
(6.8 kB
view hashes)
Built Distribution
Close
Hashes for keep_presence-1.0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b981380958a8971d674c36736eac7399d0a56fd68c8846de2ad327776d4091a |
|
MD5 | e29425dfeca44319a5e2d6ced524f82d |
|
BLAKE2b-256 | 837092b58d279669a8b8a09e99f271088b54274da24da70908782467018cac2f |