Windows Semaphore ctypes
A ctypes wrapper for Windows Semaphore Objects
Free software: MIT license
Documentation: https://semaphore-win-ctypes.readthedocs.io.
Use Case
This module was created to overcome limitations of Python’s built-in semaphore support. Specifically, the built-in semaphores:
Can only be shared between python processes if a common parent python process coordinates
Cannot be acquired by code written in other programming languages
Instead, this module provides wrappers for these low level Windows Semaphore APIs:
Since the Windows Semaphore API uses named semaphores to permit sharing between processes, you can now share your semaphore more freely. Check the documentation of those APIs for details about how semaphores behave on Windows.
Dependencies
This module requires no runtime dependencies.
See Also
Documentation:
Related Python standard library code:
Similar work on other platforms:
POSIX IPC for better semaphores on POSIX (I.E. Linux, UNIX-like, etc.) OSes.
Other items:
windows semaphore helper – C++ demo of working with Windows Semaphore APIs
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.1.2 (2021-03-14)
Minor bug fixes
0.1.1 (2021-03-14)
First release on PyPI.
Metadata
Release files for semaphore-win-ctypes 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| semaphore_win_ctypes-0.1.2.tar.gz | 22.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| semaphore_win_ctypes-0.1.2-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 30.4 kB
Release files / semaphore_win_ctypes-0.1.2.tar.gz
| Download URL | semaphore_win_ctypes-0.1.2.tar.gz |
|---|---|
| Size | 22.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d4f82a4983c691d9f635c4832a61a5c557ee875680190918bfc4c44cee55492e
|
|
BLAKE2b-256 checksum How to use checksums |
d3c139f78176e81ed0ccb84ba6de690736ea279ee2fea446e6616c3944efe6c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.6
|
Release files / semaphore_win_ctypes-0.1.2-py2.py3-none-any.whl
| Download URL | semaphore_win_ctypes-0.1.2-py2.py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
2e56a4bfedc11c58cbe1d5cd00185ee42ca961125125f1f5ac625b99ef565b8a
|
|
BLAKE2b-256 checksum How to use checksums |
66049b53d4345399909ed2a42b4a4bae801e3f1e8fd79025689e0947b486fd06
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.14.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.0.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.6
|