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 details)
Built Distribution
File details
Details for the file coffeepy-0.1.3.tar.gz
.
File metadata
- Download URL: coffeepy-0.1.3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e135dd4f0b760a2e0c79fa182d735313add072c07a70c0f82e58ec98bc6dab6b |
|
MD5 | 7ab94f48ab20404ae9ea4905c093b68c |
|
BLAKE2b-256 | ea02afdf6b656090948cf163b98800521fe658a6c086bc3f09e0d1a31d1e37a6 |
File details
Details for the file coffeepy-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: coffeepy-0.1.3-py3-none-any.whl
- Upload date:
- Size: 4.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bad2d973b0285562ad14701e21f75fa4be7797173990f6381c1c83b7469029c |
|
MD5 | 5aa636888a936ba14902817201620d80 |
|
BLAKE2b-256 | 3bb6ab81b9c16c95e35cb6666cac5ea14f1e9fbb0aaf249e1755a343b408b030 |