Skip to content

Sleep Hotkey is like Python's time.sleep() but with the ability to stop in the middle of a sleep on the press of a hotkey.

License

Notifications You must be signed in to change notification settings

HenleyKuang/sleep-hotkey

Repository files navigation

Sleep Hotkey

Installation

pip install sleep-hotkey

How to Use

Call the sleep function and hold onto the ESC key if you want to stop the sleeping at any time.

Examples

from sleep_hotkey.sleep_hotkey import sleep
sleep(10)

About

Sleep Hotkey is like Python's time.sleep() but with the ability to stop in the middle of a sleep on the press of a hotkey.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages