Status Checker
A very simple package for checking the status of a service and its components
Free software: MIT license
Documentation: https://pystatuschecker.readthedocs.io.
Examples
from status_checker import StatusChecker
def check_database(config):
# ... check if it's up and either return a dictionary like
# {'available': <bool>} or throw an exception
def check_other_service(config):
# ... same as above
status_checker = StatusChecker(database=check_database, other_service=check_other_service)
status_dict = status_checker.status(config)
The status_dict include the state of the components in the ‘components’ key, the failure_count, and the status of the service as a whole
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
Metadata
Release files for pystatuschecker 0.1.3
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 |
|---|---|---|---|---|
| pystatuschecker-0.1.3.tar.gz | 2.9 kB | Without provenance | Details for pystatuschecker-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pystatuschecker-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for pystatuschecker-0.1.3-py3-none-any.whl |
Total release size: 6.6 kB
Release files / pystatuschecker-0.1.3.tar.gz
| Download URL | pystatuschecker-0.1.3.tar.gz |
|---|---|
| Size | 2.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
36a2c3f7ce9765f0fc3dedbd850398cfbf923f2f39ab6c0d1c17d33c7e68ac6b
|
|
BLAKE2b-256 checksum How to use checksums |
b0bb17c68b215e7ef58b9b2e590f5d0c67531cdd0a28ae32fd46d2dc439c5b38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / pystatuschecker-0.1.3-py3-none-any.whl
| Download URL | pystatuschecker-0.1.3-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
13f9220f0c973ce4e654ba16743d77748c3b1a06f5f57db817894c413f928cbe
|
|
BLAKE2b-256 checksum How to use checksums |
2916450b8eeebeba8ed67b4e3ffe28a6addce5b6b0f3abf6593b546ccd50414d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for pystatuschecker 0.1.3
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.