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 or --time flag. For example, to run the program for 1 hour, use
coffeepy -t 60
You can also disable animation with -a or --no-animation flag.
coffeepy -a
You can view the full parameter list with -h or --help.
Python module
You can also import coffeepy as a python module
import coffeepy
coffeepy.run()
Optional settings when run as a python module:
import coffeepy
# you can also specify the time in minutes
# if no time is provided or time = 0, the program will run indefinitely
coffeepy.run(60)
# to disable animation when run as a module, you can set the second argument to True
coffeepy.run(0, True)
License
This project is licensed under the MIT License
Metadata
Release files for coffeepy 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| coffeepy-0.2.1.tar.gz | 5.8 kB | Without provenance | Details for coffeepy-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| coffeepy-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for coffeepy-0.2.1-py3-none-any.whl |
Total release size: 11.2 kB
Release files / coffeepy-0.2.1.tar.gz
| Download URL | coffeepy-0.2.1.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
663050aad41b1fb9311107bab10c7d06c192f241a28eb23717975fc100db3667
|
|
BLAKE2b-256 checksum How to use checksums |
99605d325f13f2e0c4d7d4f841b0c1585e4f53e4dc6bf2e65bcc335963e9c9d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / coffeepy-0.2.1-py3-none-any.whl
| Download URL | coffeepy-0.2.1-py3-none-any.whl |
|---|---|
| Size | 5.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
82d93eb7c84c2af830fdfe1653d05b2f37231de4f52d5e02a386507282fa0e74
|
|
BLAKE2b-256 checksum How to use checksums |
fa540b605196d48230e0c42289836eb619ee4cb399a6c52d92b4a21d1aadec53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for coffeepy 0.2.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.