Coffeepy prevents the system from sleeping
Project description
Coffeepy
Coffeepy ☕️ is a small program that prevents the system from sleeping. Works on MacOS, Windows and Linux.
Installation
pip install -U coffeepy
Usage
Simply run the program from command line
coffeepy
By default the program runs indefinitely. Press Ctrl-C
to quit
Optional: You can set the time in minutes with -t
flag. To run the program for 1 hour, use
coffeepy -t 60
You can also disable animation with -a
or --no-animation
flag.
Python module
You can also import coffeepy as a python module
import coffeepy
coffeepy.run()
# you can also specify the time in minutes
coffeepy.run(60)
License
This project is licensed under the MIT License
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
coffeepy-0.1.3.tar.gz
(3.8 kB
view hashes)