Adds some common health check endpoints (ping, time, status)
Project description
Flask-RestPoints
Flask-RestPoints is an extension to Flask that allows adds a few health check endpoints (ping, epoch, and status) to the Flask application.
from flask import Flask from flask_restpoints import RestPoints app = Flask(__name__) rest = RestPoints(app) @rest.status_job(name="PostgreSQL", timeout=5) def postgresql(): # Perform a ping/query to Postgres @rest.status_job def facebook # Ping some Facebook service.
get Flask_RestPoints
Install flask
sudo easy_install Flask-RestPoints
Download the latest release from Python Package Index or clone the repository
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Flask-RestPoints-0.0.4.tar.gz
(7.7 kB
view hashes)