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!
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+
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tvsleep-0.4.tar.gz
(15.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
tvsleep-0.4-py3-none-any.whl
(16.9 kB
view details)
File details
Details for the file tvsleep-0.4.tar.gz.
File metadata
- Download URL: tvsleep-0.4.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51e5b766a806f2280e9e90d31b70c823e4f308927943b47489d1c973718cee5e
|
|
| MD5 |
04398e2cc46604aa7a2e9bae262ee9e7
|
|
| BLAKE2b-256 |
648a449b8295b8d61ae275c305300eac840fdd9bf3060c2c79179a1d780b9ba1
|
File details
Details for the file tvsleep-0.4-py3-none-any.whl.
File metadata
- Download URL: tvsleep-0.4-py3-none-any.whl
- Upload date:
- Size: 16.9 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1819d3bf4de5082de0fdc12055da4a5f17a08d73c9c3f10b99650f54e168795
|
|
| MD5 |
efa81ed263bc69e6b0bde75f3f50d7ae
|
|
| BLAKE2b-256 |
bb7d6afad229e55089b979108334e511deed5e147cf0638129ec3a57d1c561f9
|