win32session

Python bindings for win32 session cleanup management. This is a Windows-only package.
It works exactly the same
as sysproxy daemon.
Install
pip install win32session
API
>>> import win32session
>>> help(win32session)
Help on module win32session:
NAME
win32session
FUNCTIONS
off(...) method of builtins.PyCapsule instance
off() -> bool
Set session daemon off
run(...) method of builtins.PyCapsule instance
run() -> bool
Run session daemon
set(...) method of builtins.PyCapsule instance
set(callback: Callable) -> None
Set session callback
Tested Platform
win32session works on all reasonable Windows platform with all Python version(Python 3).
Below are tested build in github actions.
windows-2019 | :heavy_check_mark: |
windows-2022 | :heavy_check_mark: |