Skip to main content

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

        Stop the session daemon and release its callback.

    run(...) method of builtins.PyCapsule instance
        run() -> bool

        Run the session daemon.

    set(...) method of builtins.PyCapsule instance
        set(callback: Callable) -> None

        Set the session shutdown callback.

off() should normally be called before application exit. As a safety net, the callback is owned by per-module state and is also released during module teardown. It is never stored in a process-static C++ object.

Tested Platform

win32session supports CPython 3.6 through 3.14 on Windows.

The following builds are covered by GitHub Actions.

Platform / architecture Python versions
Windows Server 2022 / AMD64 3.6-3.14, including 3.13t and 3.14t
Windows 11 / ARM64 3.11-3.14, including 3.13t and 3.14t

Python 3.6-3.8 use the final compatible pybind11 2.x toolchain. Python 3.9 and newer use the current pybind11 and cibuildwheel toolchain.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

win32session-0.2.0.tar.gz (6.2 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

win32session-0.2.0-cp314-cp314t-win_arm64.whl (445.5 kB view details)

Uploaded CPython 3.14tWindows ARM64

win32session-0.2.0-cp314-cp314t-win_amd64.whl (269.5 kB view details)

Uploaded CPython 3.14tWindows x86-64

win32session-0.2.0-cp314-cp314-win_arm64.whl (441.4 kB view details)

Uploaded CPython 3.14Windows ARM64

win32session-0.2.0-cp314-cp314-win_amd64.whl (263.5 kB view details)

Uploaded CPython 3.14Windows x86-64

win32session-0.2.0-cp313-cp313-win_arm64.whl (425.7 kB view details)

Uploaded CPython 3.13Windows ARM64

win32session-0.2.0-cp313-cp313-win_amd64.whl (254.9 kB view details)

Uploaded CPython 3.13Windows x86-64

win32session-0.2.0-cp312-cp312-win_arm64.whl (425.7 kB view details)

Uploaded CPython 3.12Windows ARM64

win32session-0.2.0-cp312-cp312-win_amd64.whl (254.9 kB view details)

Uploaded CPython 3.12Windows x86-64

win32session-0.2.0-cp311-cp311-win_arm64.whl (425.8 kB view details)

Uploaded CPython 3.11Windows ARM64

win32session-0.2.0-cp311-cp311-win_amd64.whl (254.2 kB view details)

Uploaded CPython 3.11Windows x86-64

win32session-0.2.0-cp310-cp310-win_amd64.whl (253.4 kB view details)

Uploaded CPython 3.10Windows x86-64

win32session-0.2.0-cp39-cp39-win_amd64.whl (253.7 kB view details)

Uploaded CPython 3.9Windows x86-64

win32session-0.2.0-cp38-cp38-win_amd64.whl (66.3 kB view details)

Uploaded CPython 3.8Windows x86-64

win32session-0.2.0-cp37-cp37m-win_amd64.whl (56.1 kB view details)

Uploaded CPython 3.7mWindows x86-64

win32session-0.2.0-cp36-cp36m-win_amd64.whl (57.6 kB view details)

Uploaded CPython 3.6mWindows x86-64

File details

Details for the file win32session-0.2.0.tar.gz.

File metadata

  • Download URL: win32session-0.2.0.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for win32session-0.2.0.tar.gz
Algorithm Hash digest
SHA256 caeeb008a22796034e3997acc8c3f8c82d9b8f3dfe5a81ba88dd634a5e5c159b
MD5 2075a0b885fc0c609f0bdae2f937230a
BLAKE2b-256 a117478797129edf2648fc0f7a50bd4df3d0c22731735038aa4bd0dc249ddabb

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.0.tar.gz:

Publisher: deploy-pypi.yml on LorenEteval/win32session

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file win32session-0.2.0-cp314-cp314t-win_arm64.whl.

File metadata

File hashes

Hashes for win32session-0.2.0-cp314-cp314t-win_arm64.whl
Algorithm Hash digest
SHA256 a92de65e02e5dc3be7e3bc23b1a027658c52677947224394453c23207154177b
MD5 25a9fb241fbb4ed13ab589dad01ea855
BLAKE2b-256 d040a3c8d3d210f70ada14a4690f5f9a7e50ec587eb6f04cdd854f505c341489

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.0-cp314-cp314t-win_arm64.whl:

Publisher: deploy-pypi.yml on LorenEteval/win32session

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file win32session-0.2.0-cp314-cp314t-win_amd64.whl.

File metadata

File hashes

Hashes for win32session-0.2.0-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 4771f66866da0a24af052201f9e50b3a9356d4284ae0c6c707f492428efbce47
MD5 50140d6e11d99774000885d92239a848
BLAKE2b-256 86acb85fa8c4bffacda544bc9239eb9f833f0be48efcadf836e491e1409243b2

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.0-cp314-cp314t-win_amd64.whl:

Publisher: deploy-pypi.yml on LorenEteval/win32session

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file win32session-0.2.0-cp314-cp314-win_arm64.whl.

File metadata

File hashes

Hashes for win32session-0.2.0-cp314-cp314-win_arm64.whl
Algorithm Hash digest
SHA256 c45b21aa5b4b849dab86fc2254640fe260a654d8ffabe23a2bc24385383ded26
MD5 1b2dfe3a823a83ca69f1c0c6a4f39991
BLAKE2b-256 23c0b837159f2f421f6b5ea82d4116d6115687a96a6859117056c89dc424bfd9

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.0-cp314-cp314-win_arm64.whl:

Publisher: deploy-pypi.yml on LorenEteval/win32session

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file win32session-0.2.0-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for win32session-0.2.0-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 f52b8b787f415bdceedd5c89ca80b6e8ec06c11dbcf67a97377a88b43afd200e
MD5 025cf744f6d8d31bff767a994ff5355e
BLAKE2b-256 3b4097591e15f35cefc283d30f348b6b85fd8da07590f82979592f2f1fc09da4

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.0-cp314-cp314-win_amd64.whl:

Publisher: deploy-pypi.yml on LorenEteval/win32session

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file win32session-0.2.0-cp313-cp313-win_arm64.whl.

File metadata

File hashes

Hashes for win32session-0.2.0-cp313-cp313-win_arm64.whl
Algorithm Hash digest
SHA256 06549fed6e431873d8d0dacceddca82622c0a8c5594414353ab30e530adb5b25
MD5 9b74e156444663f31f746b1ce0c7d5a2
BLAKE2b-256 def63707d8942626d8a05bb7f4e08e3a572eec283e20d2cc02ad0d97f052ccbc

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.0-cp313-cp313-win_arm64.whl:

Publisher: deploy-pypi.yml on LorenEteval/win32session

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file win32session-0.2.0-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for win32session-0.2.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 76392197a91295b86f8f94e13afc6cd4b79b58c5d32cc20753c8593df61f9831
MD5 cb90e5b761d1d62f54e689fe618f0902
BLAKE2b-256 0e8cae2617c97cb80149c9a1b02d57e996a690203d5c964934dce4af58ab4e99

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.0-cp313-cp313-win_amd64.whl:

Publisher: deploy-pypi.yml on LorenEteval/win32session

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file win32session-0.2.0-cp312-cp312-win_arm64.whl.

File metadata

File hashes

Hashes for win32session-0.2.0-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 bc7f2fea388626badcb78904c754b93662df0f313cd57dc44c88c444472cd29b
MD5 f988e6e614879f446a86eb5f860f8f07
BLAKE2b-256 c1dbc7b286c1c6282d06f905e5f6d80f854cbb2829df5f1488831a73390c494a

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.0-cp312-cp312-win_arm64.whl:

Publisher: deploy-pypi.yml on LorenEteval/win32session

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file win32session-0.2.0-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for win32session-0.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1e5874332f6dc1bfc2268395f1330f6dd6541bd86f91d63777bf74c2532f4be0
MD5 c34871471aa4a27c379be591b9d2e30a
BLAKE2b-256 1c04dd968797c96cd74230aab1e9de7dc9b5dd73c35d06c58aba3833068aeef3

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.0-cp312-cp312-win_amd64.whl:

Publisher: deploy-pypi.yml on LorenEteval/win32session

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file win32session-0.2.0-cp311-cp311-win_arm64.whl.

File metadata

File hashes

Hashes for win32session-0.2.0-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 f1aeab361d7d2672baf3f786bb1ae57162bf8de1bf13de5ab9caf9e2e1bd7cc8
MD5 2ee3afd646dc32b8b368b426375e70f0
BLAKE2b-256 a9a6fa2e0b7ca38d738cf52733115625509b0fb6fb9dbbf57e0ca969abd3cfe8

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.0-cp311-cp311-win_arm64.whl:

Publisher: deploy-pypi.yml on LorenEteval/win32session

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file win32session-0.2.0-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for win32session-0.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 756c1d572cac43003ab6d5c3e8ad33938fbb2e8415e4f9a37288cc8228e6f373
MD5 87ecfb033a0a697737a968d919b4d984
BLAKE2b-256 ddf7f810fcebbd3285e8a1fd045cdd58c67fa6c35a8f8a240e6b48983460ec6d

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.0-cp311-cp311-win_amd64.whl:

Publisher: deploy-pypi.yml on LorenEteval/win32session

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file win32session-0.2.0-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for win32session-0.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 d35d94127c29183d60ac2ef7b92d729b909a844d12c97ab3fe320729ea21720d
MD5 de4695156730e86d29ad627ac6f594ef
BLAKE2b-256 8eb190d4892371f96b503f7a83ff160c9065f63846d2493eac55688d99d7d044

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.0-cp310-cp310-win_amd64.whl:

Publisher: deploy-pypi.yml on LorenEteval/win32session

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file win32session-0.2.0-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: win32session-0.2.0-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 253.7 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for win32session-0.2.0-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 d340fbf9d33743cfcd21012b7a73ef88cc5619373ff7eb62180835c86eb15f76
MD5 ad74e04bcc1d73625e747b43284aad1c
BLAKE2b-256 9b99d14544239c79d65e53d3244e723f4778ac54aed497be1459e880968f1cd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.0-cp39-cp39-win_amd64.whl:

Publisher: deploy-pypi.yml on LorenEteval/win32session

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file win32session-0.2.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: win32session-0.2.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 66.3 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for win32session-0.2.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 88485c4d3b34e6ab17f1a6fa2057c7b545dc14cd4d2959e2ffa9faa63a2848f8
MD5 ad80e9c1adc164b1dbd6b5847d492348
BLAKE2b-256 cb799a0bc71c7a6ac51a5c70e098e61d19fc725224928d6204385edf5566dce3

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.0-cp38-cp38-win_amd64.whl:

Publisher: deploy-pypi.yml on LorenEteval/win32session

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file win32session-0.2.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: win32session-0.2.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 56.1 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for win32session-0.2.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 7f27374244d47b1cf6ac9ee9aa57c3cb3a0bc93ab3129de95865973cac6f3576
MD5 ff51b753c3010725ff1390652a4088a7
BLAKE2b-256 5d99c5914616fa62685e91469f1261f13b85817bc5174d7e9e827d335032cfc9

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.0-cp37-cp37m-win_amd64.whl:

Publisher: deploy-pypi.yml on LorenEteval/win32session

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file win32session-0.2.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: win32session-0.2.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 57.6 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for win32session-0.2.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 ee1fdc38d55a44f72cd481044d7fb24633e42c1ce6766b574cf90b9982d30816
MD5 cf24c37f971424c42ffe5428eedef989
BLAKE2b-256 84e03563b4ad29f3ae044c24909b0719299029cd108e8d1b2285c1be4532088e

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.0-cp36-cp36m-win_amd64.whl:

Publisher: deploy-pypi.yml on LorenEteval/win32session

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.2.1

18 files

This release

0.2.0 This release

16 files

0.1.0

14 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page