Skip to main content

PyPI - License GitHub tag (latest by date) GitHub release (latest by date) Documentation Status
PyPI PyPI - Python Version PyPI - Wheel PyPI - Status

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)

Source distribution for Semaphore-Microservice 0.1.1
File Size Uploaded
Semaphore-Microservice-0.1.1.tar.gz 4.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Semaphore-Microservice 0.1.1
File Interpreter ABI Platform
Semaphore_Microservice-0.1.1-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release 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