Skip to main content

qaffeine

Little tool that prevents your computer from entering inactivity modes. Can run in a terminal or in the notification area. Written in Python 3 and Qt 5.

Compatible with Linux, OS/X and Windows.

Requirements

  • Python 3
  • PySide2
  • pyautogui

Installation

Using PIP

#pip3 install qaffeine

This will pull the dependencies automatically.

Using the setup.py supplied in the source tree

#python3 setup.py install

Usage

Command line

Syntax:

$ qaffeine-cli -h
usage: Prevent computer inactivity by simulating key presses
       [-h] [-n] [-d DELAY] [-k KEY] [-v]

optional arguments:
  -h, --help            show this help message and exit
  -n, --nogui           Don't start a GUI, only a operate in text mode
  -d DELAY, --delay DELAY
                        Delay between key presses in seconds [default: 5] -
                        only valid with --nogui
  -k KEY, --key KEY     Key to press [default: altright]; see keys.txt for a
                        list of valid values - only valid with --nogui
  -v, --version         Show version number and exit

GUI

Running qaffeine without any argument starts the graphical interface. Qaffeine then runs in the notification area.

Screenshot

Screenshot

Metadata

Release files for qaffeine 0.1.post2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qaffeine 0.1.post2
File Size Uploaded
qaffeine-0.1.post2.tar.gz 26.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qaffeine 0.1.post2
File Interpreter ABI Platform
qaffeine-0.1.post2-py3-none-any.whl Python 3 none any Details

Total release size: 57.5 kB

Release files / qaffeine-0.1.post2.tar.gz

Download URL qaffeine-0.1.post2.tar.gz
Size 26.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6c864467ebcfff157e284778500f34e534a7575bcbfd29452070aaa719578812
BLAKE2b-256 checksum
How to use checksums
936bf9aa3bccac79d4e0c14f45cc7ae3ba9c9de482212f68aeafbe08024f246d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release files / qaffeine-0.1.post2-py3-none-any.whl

Download URL qaffeine-0.1.post2-py3-none-any.whl
Size 30.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3cf0d4868027878810d2e42132a0c48219c90c2f6e48d1edde86e57ebcd4dcff
BLAKE2b-256 checksum
How to use checksums
84406ae988c7d433e2acdeffad203d980a74bf8a3bc0a62a2ae3546093814729
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.1.post2 This release

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page