Skip to main content

AwakeGuardia is a program that helps you keep awake and not to fall asleep in front of a computer. The program frequently alerts you when detects your inactivity by reminding or later by nagging you using sound.

Project description

AwakeGuardian

English, Polski

About

AwakeGuardian is a program that helps you keep awake and not to fall asleep in front of a computer. The program frequently alerts you when detects your inactivity by reminding or later by nagging you using sound. It was design to use as low memory as it is possible, so a few trade-offs has been taken.

Installation

pip install awake-guardian

Requirements

AwakeGuardian requires Python 3.6 or above. It relies on different packages according to the system that you use. All requirements should be installed automatically.

Platforms

AwakeGuardian is working on Linux and Windows, and tries to work the same on any system. Due to some technical differences between systems there are only few different approaches to some aspects, like how to run the program.

Linux

On Linux it's just a script without a file extension that can be run simply as a command. Just type a command: AwakeGuardian

Windows

On Windows, files (Python scripts) without an extension are very sophisticated to run, so to avoid all of this there is a simple batch script that runs the program without a console window. Also just after installation on Windows the same batch file is put into your Desktop folder to make it easier to run it for the first time or make it run along with Windows start. However you can run the program at any time without using the batch script by typing AwakeGuardian.py using cmd or PowerShell, but in that case you'll get also Python's console window that holds the running program, so closing this window closes the whole program.

Using

System tray icon

AwakeGuardian is working in the background and hasn't got any main window, only an icon is visible in the system notification area or system tray.

systray

AwakeGuardian is displaying icons according to the current state of the program.

  • clock waiting for specified time window in which the program can work

  • eyes activity is being detected, neither of timers are exceeded, click this icon to pause

  • beep short inactivity detected, remind timer is exceeded, remind sound is played in the loop until any detected activity

  • shout long inactivity detected, nag timer is exceeded, nag sound is played in the loop, and by default the system volume is getting louder until any detected activity, later volume level is restored to the previous state

  • inactive the program is paused, click this icon to resume

Pause/Resume

When you left click on the AwakeGuardian icon, you'll see the pause dialog.

pause_dialog_en

After closing this dialog, the systray menu will change to e.g.:

systray_menu_en

Settings

AwakeGuardian can be configured in the settings dialog. You can adjust reminder or nag timers, toggle volume incrementing when nagging and toggle running the program on system startup. Also you can adjust the time window in which the program can work.

settings_dialog_en

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

awake_guardian-1.0.1-py3-none-any.whl (162.3 kB view details)

Uploaded Python 3

File details

Details for the file awake_guardian-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: awake_guardian-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 162.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/58.2.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.1

File hashes

Hashes for awake_guardian-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 565885ac19a670cfadb345e019a622b35a454bc6d168259bf065d902d2e1671c
MD5 8dc1ebf77965bc8bf3894901a463a09d
BLAKE2b-256 71bb89d094e8ef4b9ba275011a87a1397afa34b39cec1baa76dc8f855c405034

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