Semaphore Microservice
This HTTP-based microservice offers a ReST API to acquire and release resources that are limited with a semaphore semantic.
Use Cases
Limited Number of Licenses in an Continuous Integration Environment
Some software uses a global license server to checkout licenses while the software is executed. By default many license consumers (clients) fail and abort the execution if no valid license was found or if no license was free for a checkout. In such cases, a CI pipeline would also fail, because the job is failing caused by the license error. In many cases there are no retries nor waits for a license to become valid or available again. More over waiting time would be counted as job execution time.
This semaphore service allow to acquire a license virtually before asking the actual license server. If no license is available, it will either wait or register a callback for the real working job.
Operations
Architecture
Application => WebServer => HTTPInterface => Router => API => Semaphore => storage
Daemon / \ NGINX + WSGI /
API
v1.0
Metadata
Release files for Semaphore-Microservice 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| Semaphore-Microservice-0.1.1.tar.gz | 4.9 kB | Without provenance | Details for Semaphore-Microservice-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| Semaphore_Microservice-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for Semaphore_Microservice-0.1.1-py3-none-any.whl |
Total release size: 19.3 kB
Release files / Semaphore-Microservice-0.1.1.tar.gz
| Download URL | Semaphore-Microservice-0.1.1.tar.gz |
|---|---|
| Size | 4.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
742577f6983976eb74853b09fb37e9d74de39ed71b3339a16314a2f2cc6742e9
|
|
BLAKE2b-256 checksum How to use checksums |
4d89c36078742eb67f783ba06c95534f25226a7024eb86f569fad61d7afc3bd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7
|
Release files / Semaphore_Microservice-0.1.1-py3-none-any.whl
| Download URL | Semaphore_Microservice-0.1.1-py3-none-any.whl |
|---|---|
| Size | 14.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b6b876d19ce953a659432fcf64e6bc21d024283f09f2981460aa8e6a32133a5
|
|
BLAKE2b-256 checksum How to use checksums |
9f8c770c64bed76aef59bf1be8c3fe83c23a82985861c17c3d21d325ab037593
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7
|
Security for Semaphore-Microservice 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.