This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A very simple package for checking the status of a service and its components

Project Description

A very simple package for checking the status of a service and its components

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.

Release History

Release History

This version
History Node

0.1.3

History Node

0.1.2

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pystatuschecker-0.1.3-py3-none-any.whl (3.6 kB) Copy SHA256 Checksum SHA256 py3 Wheel Jul 7, 2016
pystatuschecker-0.1.3.tar.gz (2.9 kB) Copy SHA256 Checksum SHA256 Source Jul 7, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting