Simple wakelock / keep-awake / stay-awake
Project description
⏰😴 wakepy
Simple cross-platform wakelock written in Python. Comes with python API and a single executable for CLI usage.
Supports
- Python: 3.7 to 3.12
- OS: Windows, Linux and macOS
What it can do?
- Prevent your system from going to sleep in the middle of a long running task (e.g. training machine learning models, video encoding, web scraping, ...)
- Prevent starting a screensaver or screenlock automatically (showing a video, updating dashboard, monitoring apps, ...)
Used by
- viskillz-blender — Generating assets of Mental Cutting Test exercises
- mpc-autofill — Automating MakePlayingCards' online ordering system
- lakeshorecryotronics/python-driver — Lake Shore instruments python Driver
- UCSD-E4E/baboon-tracking — In pipelines of a Computer Vision project tracking baboons
- davlee1972/upscale_video — Upscaling video using AI
- minarca — Cross-platform data backup software
Documentation
👉 wakepy.readthedocs.io
⚖️👑 Key selling points
- Wakepy supports multiple operating systems and desktop environments
- Wakepy has permissive MIT licence
- It has a simple command line interface and a python API
- Wakepy has very little python dependencies:
- Zero if using Windows or macOS or Linux + systemd
- One if using linux + jeepney or linux + dbus-python.
Deprecation timeline (wakepy 0.7.0+)
Since deprecations may affect many users, they are communicated well before and time is given for project maintainers for migration. Timeline:
- June 11th 2023: Release wakepy 0.7.0 with DeprecationWarnings for keepawake, set_keepawake and unset_keepawake, and the CLI option -s. Migration Guide published.
- September 1st 2023 (or few days later): Release wakepy without the deprecated keepawake, set_keepawake and unset_keepawake; Only new API supported.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
wakepy-0.7.1-py3-none-any.whl
(15.7 kB
view details)
File details
Details for the file wakepy-0.7.1-py3-none-any.whl
.
File metadata
- Download URL: wakepy-0.7.1-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 colorama/0.4.4 importlib-metadata/4.6.4 keyring/23.5.0 pkginfo/1.8.2 readme-renderer/34.0 requests-toolbelt/0.9.1 requests/2.25.1 rfc3986/1.5.0 tqdm/4.57.0 urllib3/1.26.5 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 96f5a4c7b8534ccef6032f55ca600145342b070c8dafdbce0f242f5b486c5d49 |
|
MD5 | 95c0b1547887fd061e2c3b953241dd64 |
|
BLAKE2b-256 | b27304262f12c247d0c4ed69a15f842371f3aff287ea2290d6e9581e36b2e3cb |