Skip to main content

Coffeepy prevents the system from sleeping

Project description

Supported Python versions PyPI Version

Coffeepy

Coffeepy ☕️ is a small program that prevents the system from sleeping. Works on MacOS, Windows and Linux.

coffeepy

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

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


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.2.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

coffeepy-0.1.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file coffeepy-0.1.2.tar.gz.

File metadata

  • Download URL: coffeepy-0.1.2.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for coffeepy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 fcfad9ea79eda7e601f56a208054cfa9af49344f1d82f6eb4ade3db258bce82e
MD5 a5f880d6e86faf61ee77de6b3603c39f
BLAKE2b-256 eb74156c00c7058a709b1620f4ed281ec98ec3a7cd578570b1183c6282afff80

See more details on using hashes here.

File details

Details for the file coffeepy-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: coffeepy-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for coffeepy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b8fda09c5f80c3e84573a79a165d91017eb11c21daabb4e72f68d945a0e7a9a8
MD5 85b25d630eac0b624acd180ef2683cb7
BLAKE2b-256 9b1b11ffdad0ccdba6bfba50ae81aace7c31bdc5093f46dd1416e26f0d1b890e

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page