Skip to main content

A cross-platform tool to keep your screen awake using a relative datetime

Project description

Summary

A cross-platform command line tool that keeps your screen awake using a forward looking relative datetime interface.

On macOS, it uses caffeinate. On Linux, it uses systemd-inhibit.

Install

$ pip install keep-screen-alive

Examples

$ date
Wed Jun  1 08:00:00 CDT 2023

$ keep-alive 2h
Keeping alive until 10:00AM CDT, Jun 01, 2023

$ keep-alive 12pm
Keeping alive until 12:00PM CDT, Jun 01, 2023

$ keep-alive 7am
Keeping alive until 07:00AM CDT, Jun 02, 2023

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

keep_screen_alive-0.1.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

keep_screen_alive-0.1.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file keep_screen_alive-0.1.0.tar.gz.

File metadata

  • Download URL: keep_screen_alive-0.1.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.0 CPython/3.14.4 Darwin/25.3.0

File hashes

Hashes for keep_screen_alive-0.1.0.tar.gz
Algorithm Hash digest
SHA256 5ff4198ff11c6ba5e14d171cdac0a6988eb38c9682da50bc09fd0694cec08a06
MD5 488c5e24fa8a2382ecf237e6ea6201ca
BLAKE2b-256 431ac6c9e62b1cd45c9102a7a1a7bdadd58ee87dcde16b51d0d2e15c904de72e

See more details on using hashes here.

File details

Details for the file keep_screen_alive-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: keep_screen_alive-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.4.0 CPython/3.14.4 Darwin/25.3.0

File hashes

Hashes for keep_screen_alive-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 495c8226e22ce0fbd8bfcb21bdd15696c3dd485ea9468e53aff880484c3b0746
MD5 de658755f53b6da7a8b64982dd7c7da7
BLAKE2b-256 0ab1aa7055c0aef401fcfd343321a2369600c81d964fbb3b1c277a6a9cc03245

See more details on using hashes here.

Supported by

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