A tool to wait for services and execute command. Useful for Docker containers that depend on slow to start services (like almost everything).
Free software: BSD license
Installation
pip install holdup
Documentation
Usage: holdup [-h] [-f] [-t SECONDS] [-n] [service [service ...]] [-- command [arg [arg ...]]]
Wait for services to be ready and optionally exec command.
- positional arguments:
service A service to wait for. Supported protocols: “tcp://host:port/”, “unix:///path/to/domain.sock”. command An optional command to exec.
- optional arguments:
- -h, --help
show this help message and exit
- -t SECONDS, --timeout SECONDS
Time to wait for services to be ready. Default: 5.0
- -n, --no-abort
Ignore failed services. This makes holdup return 0 exit code regardless of services actually responding.
Development
To run the all tests run:
tox
Note, to combine the coverage data from all the tox environments run:
Windows |
set PYTEST_ADDOPTS=--cov-append tox |
|---|---|
Other |
PYTEST_ADDOPTS=--cov-append tox |
Changelog
0.1.0 (2016-04-21)
First release on PyPI.
Metadata
Release files for holdup 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 |
|---|---|---|---|---|
| holdup-0.1.1.tar.gz | 14.2 kB | Without provenance | Details for holdup-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| holdup-0.1.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for holdup-0.1.1-py2.py3-none-any.whl |
Total release size: 20.4 kB
Release files / holdup-0.1.1.tar.gz
| Download URL | holdup-0.1.1.tar.gz |
|---|---|
| Size | 14.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da417ea85bad96c5f2aa4c80c66c62fcd6b24569d970c97068f6bd60cef3e231
|
|
BLAKE2b-256 checksum How to use checksums |
97119d39c2d5a7db137a4e7feacff19f985e91ec56743851cdf2a38fbd39d1a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / holdup-0.1.1-py2.py3-none-any.whl
| Download URL | holdup-0.1.1-py2.py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
82703ba1ced21cf70ad13c9bbd36e0e857c55ad4a2abbc8d78992b9c40ac3b6c
|
|
BLAKE2b-256 checksum How to use checksums |
4ec610fabffe75f598170c0ca6c8b468fe5f97df896dba0618c4e12ca56f9b78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for holdup 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.