PyShallow
PyShallow prevents screen saver, screen lock, idle sleep from kicking in.
Install
python -m pip install --upgrade pyshallow
Standalone executables
Starting with v2026.07.05, pre-built executables (built with PyInstaller) are available on the Releases page.
- Linux: a
.desktoplauncher and (.png) icon are available in theassets/linuxdirectory - macOS: an
.icnsicon is available in theassets/macosdirectory - Windows: an
.icoicon is available in theassets/windowsdirectory
Usage
Entry-point (must be in PATH):
pyshallow
As a module:
python -m pyshallow
Standalone executable:
./PyShallow-<version>-<platform>-<arch>-<pyver>
For available options:
pyshallow --help
Notes
- Supports Linux (X11), Windows and macOS.
- Depends on PyCFUtils
- Use it responsibly (be aware of all implications)
- Parts of code assisted by Claude Code
- Icon/logo generated with ChatGPT
Contributing
Contributions are welcome. Please open an issue or submit a pull request on GitHub.
License
This project is licensed under the MIT License.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
File details
Details for the file pyshallow-2026.7.5.tar.gz.
File metadata
- Download URL: pyshallow-2026.7.5.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
37f5a3680739aaf64fd76b495e9b8372c2ea60f7340a0d03e7c1d5e96f9a6347
|
|
| MD5 |
c16c27a77fba306d2f7e42b3ca07b416
|
|
| BLAKE2b-256 |
1c6d8380210c2c908fca8234c7d79914abb8369202c3104e6cebbd2aa53f5572
|
File details
Details for the file pyshallow-2026.7.5-py3-none-any.whl.
File metadata
- Download URL: pyshallow-2026.7.5-py3-none-any.whl
- Upload date:
- Size: 11.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.10.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce3a959aebcc41aa8e2d11ef1cb94315a2771d135eb37c1ee16d3e9fda96ed76
|
|
| MD5 |
23ee297344dd801ba926754f863cba43
|
|
| BLAKE2b-256 |
9c70b1d329efb8a3b811d7757ef1270bc22574123e3b5dad7837165a82e8eb2d
|