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.1.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.1-cp314-cp314t-win_arm64.whl (445.5 kB view details)

Uploaded CPython 3.14tWindows ARM64

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

Uploaded CPython 3.14tWindows x86-64

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

Uploaded CPython 3.14Windows ARM64

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

Uploaded CPython 3.14Windows x86-64

win32session-0.2.1-cp313-cp313t-win_arm64.whl (68.2 kB view details)

Uploaded CPython 3.13tWindows ARM64

win32session-0.2.1-cp313-cp313t-win_amd64.whl (73.6 kB view details)

Uploaded CPython 3.13tWindows x86-64

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

Uploaded CPython 3.13Windows ARM64

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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.12Windows ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.11Windows ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.9Windows x86-64

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

Uploaded CPython 3.8Windows x86-64

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

Uploaded CPython 3.7mWindows x86-64

win32session-0.2.1-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.1.tar.gz.

File metadata

  • Download URL: win32session-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 51d6d5f0ea2dc8937981b83f94521f0595492795e6d5f87de55292bb77ac0dc2
MD5 52ae086cea5740695b304f3d26b1aea2
BLAKE2b-256 dab81f144dffec5d16100efa3687eb1c3d82ce853bbde09b5aac72c7bf94885c

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.1.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.1-cp314-cp314t-win_arm64.whl.

File metadata

File hashes

Hashes for win32session-0.2.1-cp314-cp314t-win_arm64.whl
Algorithm Hash digest
SHA256 21870eb4d0ee770ee11841c04085a8bfccb7a428e13dee1bea9f55ee3d501eae
MD5 37450df6f89c2968a12ca642e7733847
BLAKE2b-256 30d3eb25c0f6c5694683508706951f0a457cefe9005b391743078e86a8116330

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.1-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.1-cp314-cp314t-win_amd64.whl.

File metadata

File hashes

Hashes for win32session-0.2.1-cp314-cp314t-win_amd64.whl
Algorithm Hash digest
SHA256 27bf60270ed5022c1b618dc2e446839cde7f6eff7fe6ce05fc52ec5a769a49ef
MD5 a7b08bf975341437f16c408c89a87726
BLAKE2b-256 4c95499e287d5c2a3f9ddd278ff2c08c0f136e004844de07aae01aa339c0ae14

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.1-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.1-cp314-cp314-win_arm64.whl.

File metadata

File hashes

Hashes for win32session-0.2.1-cp314-cp314-win_arm64.whl
Algorithm Hash digest
SHA256 69ed15636c071a719d46c96d3a51a14dbd679e96425dc44c890b001d691bd961
MD5 b2dd0ad24c796e806ca86f8c0460eb6f
BLAKE2b-256 0b09d8700e66b29cce57590f9b37b0490b58411b9eff7b9e224788c0c343f87b

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.1-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.1-cp314-cp314-win_amd64.whl.

File metadata

File hashes

Hashes for win32session-0.2.1-cp314-cp314-win_amd64.whl
Algorithm Hash digest
SHA256 29caeb4aeb7b8c7b57b4142ef75aadfe06ede6fdcb8ec9e081521715b6a01fb5
MD5 7ef02ef8caf27b67a6c23fd46669e9a7
BLAKE2b-256 3b05706077626e29fa070ea59e02915ba5f966101475190106c5d66ab708111a

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.1-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.1-cp313-cp313t-win_arm64.whl.

File metadata

File hashes

Hashes for win32session-0.2.1-cp313-cp313t-win_arm64.whl
Algorithm Hash digest
SHA256 7a4fc9ac90471b9efd7d9d234d488bf0e01c20cc220db22563757ce60e5598ea
MD5 807a8e5dfd16c81b3f4766a1abd43c10
BLAKE2b-256 e316eabb92ba44ac33cfa39f81015b7a2d02e9101b0fe8b73991e6233d82a74c

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.1-cp313-cp313t-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.1-cp313-cp313t-win_amd64.whl.

File metadata

File hashes

Hashes for win32session-0.2.1-cp313-cp313t-win_amd64.whl
Algorithm Hash digest
SHA256 d7a7dc125e902339e4d9507808a88f7d7d8c6f90dad09ee39cc301cb5e1e442a
MD5 d57fe2df218eb46709fea4ce6607b2a2
BLAKE2b-256 a63d0762ee2f413c1b059dfbbe1c00f7a7d2e788a71ff2bafaaabff7bb7b68b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.1-cp313-cp313t-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.1-cp313-cp313-win_arm64.whl.

File metadata

File hashes

Hashes for win32session-0.2.1-cp313-cp313-win_arm64.whl
Algorithm Hash digest
SHA256 2a6b242ff866aa8ce5663339236be388b5e825e3288c90e6d06b7208dc344692
MD5 0d6382fa373de120fec8ecbd7a465299
BLAKE2b-256 0536b77429100494e26126d001a52fc8d1ad1f8502aee8be3c2f3fb375d8d1ee

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.1-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.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for win32session-0.2.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e123a113a9eac5155fac489c7778c6c76ccecd13641ba09e45f0419c17444dd2
MD5 de3a57e72b4e95d0c548baa04d820f83
BLAKE2b-256 90e26ede314023c4f8731eb42055faf9ab72cceb5aa8116d8d757f2ad2957eb0

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.1-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.1-cp312-cp312-win_arm64.whl.

File metadata

File hashes

Hashes for win32session-0.2.1-cp312-cp312-win_arm64.whl
Algorithm Hash digest
SHA256 a599053537d7d2a69163cab67ddef4da7ba7d7eb3eba0ed8c3baa96e9d5090bc
MD5 ce4cba18fabb6cf99494dcdc46519eca
BLAKE2b-256 d73cad8e1a5f19fe8759085b5615e90e9a7c1132c2d7075a9a15f28f9a3f2e8b

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.1-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.1-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for win32session-0.2.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 3eea8e1d4bc6eef8a7879504973988e1c9f842d4982ac451428a8c1634930f0e
MD5 162e78cf2ac6fa8d8cd08dea924f4c47
BLAKE2b-256 0cac9ca09138e495eccad6c648d4a22ce4ae1e7c54c6aac5cbb4458847c347ce

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.1-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.1-cp311-cp311-win_arm64.whl.

File metadata

File hashes

Hashes for win32session-0.2.1-cp311-cp311-win_arm64.whl
Algorithm Hash digest
SHA256 9c7f22d2786a8ec2f730aca6935b40972ada0e36f8c6f549bc87d6cad32ff987
MD5 24eb40302399ea15f05ca224f16d1c46
BLAKE2b-256 ea327c0a7c0d0297f90e85e5e57a5e485acae22987e578ab28a418e93a280259

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.1-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.1-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for win32session-0.2.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 edd5b3214d773f4d31d38197c718c35f6e1d20c224944ebc610f1eaa58645dd8
MD5 aea633e3d5a26b633ef7674310f2cf0c
BLAKE2b-256 dad1e291028c5376b9fd0d52493b53a1322f2b9152c288862d9740d66ecee179

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.1-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.1-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for win32session-0.2.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 44c4b3079f264cd175da79bde0951b100f338d9479bd1db98404f09adc205709
MD5 c7b6fdf061cd9766dd23e4005b76bccf
BLAKE2b-256 fa292672f396a93c01463016ab93e3984d0a71edc8041bc2f04559e922f2043a

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.1-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.1-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: win32session-0.2.1-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.1-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 8e5d3d842eefbefc6de45c2861e4ad572b83345ba4d281177a34a08167f32232
MD5 8c146a0f007f4f6d95ea44bfed6def3e
BLAKE2b-256 063df34126c16ebee7c58dc134fc9e505eea54bf0e11ddd8cea8cf79ca1b7ff6

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.1-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.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: win32session-0.2.1-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.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 9ce1b047ff3378764fb5ce3c60f8b9b95dbd9869652ab5b2209d13f27f013c75
MD5 c1682f9cf562ab68e159818500895bc6
BLAKE2b-256 0f0052a3da320e1d9464ff1ed122395d7fae88d5762f4c019cc354685235acc7

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.1-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.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: win32session-0.2.1-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.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 38c22f2dc9ff2a3e79f7960b6fa0f923967613ce44291b30b390ffd7b14dc1a2
MD5 805b77ef5d344f91ad25669c29ed4718
BLAKE2b-256 2a956de7d2c6c49bc77f1402d20e8b62b3838639628e78fa58c09075fec2b097

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.1-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.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: win32session-0.2.1-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.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 64f81f7748d33f64830e57d4a045d4376008af6fa152c1ac944af1032c48239c
MD5 4d16025ac16b43604863f00dbceece63
BLAKE2b-256 31f257c050a5dbd36fe80be2449291ef9e97561467444b7076fb1b92cd85d5ca

See more details on using hashes here.

Provenance

The following attestation bundles were made for win32session-0.2.1-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

This release

0.2.1 This release

18 files

0.2.0

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