Skip to main content

put your computer to sleep after a delay

Project description

TV Sleep

Restores that glorious missing feature of televisions to the computer: a sleep timer!



To use when falling asleep with Netflix or Twitch streaming.


Supports OS X only. PRs welcome!


Use pip3 to install the Python module globally.

$ pip3 install tvsleep


$ tvsleep -h
usage: tvsleep [-h] [-v] [--gui] minutes

positional arguments:
  minutes        length of time to wait before putting computer to sleep

optional arguments:
  -h, --help     show this help message and exit
  -v, --verbose  display extra info during run
  --gui          open the gui

$ tvsleep --gui 42 # opens the GUI with preset 42 minutes

$ tvsleep -v 42  # put the computer to sleep in 42 minutes, with countdown



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tvsleep, version 0.4
Filename, size File type Python version Upload date Hashes
Filename, size tvsleep-0.4-py3-none-any.whl (16.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size tvsleep-0.4.tar.gz (15.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page