You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

win32session

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

win32session

Python bindings for win32 session cleanup management.

0.1.0
pipPyPI
Maintainers
1

win32session

Deploy PyPI

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.

PlatformPython 3.6-Python 3.13
windows-2019:heavy_check_mark:
windows-2022:heavy_check_mark:

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts