Skip to main content

TV Sleep

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

main

Motivation

To use when falling asleep with Netflix or Twitch streaming.

Caveats

Supports OS X only. PRs welcome!

Installation

Use pip3 to install the Python module globally.

$ pip3 install tvsleep

Usage

$ 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

License

GPLv3+

Release files for tvsleep 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tvsleep 0.4
File Size Uploaded
tvsleep-0.4.tar.gz 15.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tvsleep 0.4
File Interpreter ABI Platform
tvsleep-0.4-py3-none-any.whl Python 3 none any Details

Total release size:32.3 kB

Release files / tvsleep-0.4.tar.gz

Download URL tvsleep-0.4.tar.gz
Size 15.4 kB
Tags Source
SHA-256 checksum
How to use checksums
51e5b766a806f2280e9e90d31b70c823e4f308927943b47489d1c973718cee5e
BLAKE2b-256 checksum
How to use checksums
648a449b8295b8d61ae275c305300eac840fdd9bf3060c2c79179a1d780b9ba1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release files / tvsleep-0.4-py3-none-any.whl

Download URL tvsleep-0.4-py3-none-any.whl
Size 16.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f1819d3bf4de5082de0fdc12055da4a5f17a08d73c9c3f10b99650f54e168795
BLAKE2b-256 checksum
How to use checksums
bb7d6afad229e55089b979108334e511deed5e147cf0638129ec3a57d1c561f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

Release history Release notifications | RSS feed

This release

0.4 This release

2 release files

0.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page