Flask-RestPoints-0.0.8


توضیحات

Adds some common health check endpoints (ping, time, status)
ویژگی مقدار
سیستم عامل OS Independent
نام فایل Flask-RestPoints-0.0.8
نام Flask-RestPoints
نسخه کتابخانه 0.0.8
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Justin Wilson
ایمیل نویسنده justin@minty.io
آدرس صفحه اصلی http://github.com/juztin/flask-restpoints
آدرس اینترنتی https://pypi.org/project/Flask-RestPoints/
مجوز BSD
Flask-RestPoints ================ `Flask-RestPoints`_ is an extension to `Flask`_ that allows adds a few health check endpoints (ping, time, 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`_ .. _Flask-RestPoints: http://packages.python.org/Flask-RestPoints .. _Flask: http://flask.pocoo.org/ .. _the repository: https://github.com/juztin/flask-restpoints .. _Python Package Index: https://pypi.python.org/pypi/Flask-RestPoints


نحوه نصب


نصب پکیج whl Flask-RestPoints-0.0.8:

    pip install Flask-RestPoints-0.0.8.whl


نصب پکیج tar.gz Flask-RestPoints-0.0.8:

    pip install Flask-RestPoints-0.0.8.tar.gz