Skip to content

keremkoseoglu/incubus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1b667b3 · Nov 22, 2022

History

9 Commits
Sep 3, 2020
Nov 22, 2022
Nov 22, 2022
Sep 3, 2020
Nov 22, 2022
Apr 7, 2022
Dec 26, 2021
Sep 3, 2020

Repository files navigation

Incubus

This is a simple idle app killer.

If you want to quit your app after a certain period of inactivity, you may use this library.

Installation

To install from PYPI:

pip install incubus-keremkoseoglu

To install from GitHub:

pip install git+https://github.com/keremkoseoglu/incubus.git

Usage

In the example below, your Python app will close after 60 minutes of inactivity.

from incubus import IncubusFactory
inc = IncubusFactory.get_instance()
inc.start(60)

To let Incubus know that the user has performed some activity and reset the timer:

inc.user_event()

About

Python idle app killer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published