overlays
A Windows overlay server with a Python client library. The published overlays wheel bundles the
Rust overlays-server.exe, so users can start the server directly from the installed package.
Install And Run
- Windows 10 or later
- Python 3.10+ for the packaged launcher and client library
Run the packaged server without installing anything permanently:
uvx overlays
After installing the package, either entry point starts the bundled server in the foreground:
overlays
overlays-server
Set OVERLAY_PIPE_NAME if you want a different named pipe:
$env:OVERLAY_PIPE_NAME="overlay_manager_env"
uvx overlays
The server listens on \\.\pipe\{OVERLAY_PIPE_NAME} and defaults to
\\.\pipe\overlay_manager.
Standalone Binary
GitHub Releases also publish a portable Windows zip named
overlays-server-v<version>-windows-x64.zip. It contains:
overlays-server.exeREADME.txtSHA256SUMS.txt
Use The Python Client
from overlays.client import OverlayClient
overlay = OverlayClient()
overlay.create_highlight_window(rect=(100, 100, 400, 300), timeout_seconds=5)
overlay.create_countdown_window(message_text="Get ready!", countdown_seconds=10)
overlay.create_elapsed_time_window(message_text="Session Length")
overlay.create_qrcode_window(
data={"url": "https://example.com"},
duration=15,
caption="Scan me",
)
overlay.update_window_message(window_id=2, new_message="Halfway there...")
overlay.close_window(window_id=1)
overlay.take_break(duration_seconds=60)
overlay.cancel_break()
The client is fire-and-forget from the caller's point of view: every call returns within
timeout milliseconds (default 5000), whether the server is missing, busy or silent, and
reports failures through its return value instead of raising. One OverlayClient may be
shared between threads; calls are serialized per instance so answers are never mixed up.
A server that stops answering is dropped and re-contacted lazily with a backoff, so a
broken status display never stalls the application that drives it.
Development
Development requires Rust stable in addition to Python.
Install Python dependencies:
uv sync --dev
Run the Rust server from source:
cargo run --manifest-path rust/overlays-server/Cargo.toml
Build and test the Rust server:
cargo build --manifest-path rust/overlays-server/Cargo.toml
cargo test --manifest-path rust/overlays-server/Cargo.toml
Run the Python tests, including client compatibility checks against the built Rust binary:
uv run pytest -v
If the compatibility tests need an explicit server executable path, set OVERLAYS_SERVER_BIN.
IPC Commands
| Command | Args | Description |
|---|---|---|
create_highlight_window |
rect: (l, t, r, b), timeout_seconds: int |
Shows a colored rectangle for a duration. |
create_countdown_window |
message_text: str, countdown_seconds: int |
Starts a countdown timer. |
create_elapsed_time_window |
message_text: str |
Displays elapsed time since creation. |
create_qrcode_window |
data: str | dict, duration: int, caption: str |
Renders a QR code overlay. |
update_window_message |
window_id: int, new_message: str |
Changes the text of a countdown or elapsed-time window. |
close_window |
window_id: int |
Closes any overlay window. |
take_break |
duration_seconds: int |
Discards incoming non-break commands for a break period. |
cancel_break |
(none) | Cancels any active break. |
Metadata
Release files for overlays 2.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| overlays-2.1.4-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for overlays-2.1.4-py3-none-win_amd64.whl |
| overlays-2.1.4-py3-none-any.whl | Python 3 | none | any | Details for overlays-2.1.4-py3-none-any.whl |
Total release size: 270.5 kB
Release files / overlays-2.1.4-py3-none-win_amd64.whl
| Download URL | overlays-2.1.4-py3-none-win_amd64.whl |
|---|---|
| Size | 255.5 kB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b24990d279ff171b59bb029b8b7278cf7339a1e7aa6d0ac30b1da3064af8043f
|
|
BLAKE2b-256 checksum How to use checksums |
b49b65e1b77440e9d01b38d8ca08b892d2e94d96d1693362cc8b6e81346b83f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / overlays-2.1.4-py3-none-any.whl
| Download URL | overlays-2.1.4-py3-none-any.whl |
|---|---|
| Size | 15.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4448c1a191a1f0338aa2c3f9253b0f5569449786c43465bb9415ef4b8c6a6a33
|
|
BLAKE2b-256 checksum How to use checksums |
b5b3506ff0d425423f6b068d933abe63d65d1148cf59d4baf418d7ea46209a81
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.10 {"installer":{"name":"uv","version":"0.12.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for overlays 2.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.