A common utility framework for web microservices
Project description
mworks
The goal of this project is to remove some boilerplate and add few standard routes to flask applications.
Usage
Add common routes to the flask application:
from mworks import CommonRoutes
from flask import Flask
app = Flask(__name__)
mworks = CommonRoutes(app)
Features
CommonRoutes has the following endpoints implemented:
/healthz
- Always returns HTTP 200, useful for healthchecks/varz
- Get variables for service monitoring. Customizable./docz
- Read README.md from the application and render it./logz
- Render logs from the application in the browser.
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
mworks-1.0.1.tar.gz
(2.5 kB
view hashes)
Built Distribution
mworks-1.0.1-py3-none-any.whl
(3.4 kB
view hashes)