Skip to main content

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.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

mworks-1.0.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file mworks-1.0.0.tar.gz.

File metadata

  • Download URL: mworks-1.0.0.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

File hashes

Hashes for mworks-1.0.0.tar.gz
Algorithm Hash digest
SHA256 73536d621e0b19d619ee7fef8975a09a02bd3a48aab3ff06a1a1b4ccd74eb2a6
MD5 45357838c7a9902305eacf9b704af5a5
BLAKE2b-256 446675cab1a9dd2ebac59c9905325219b54cb466ba2f7192db63deea62da43b4

See more details on using hashes here.

File details

Details for the file mworks-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: mworks-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.6.7

File hashes

Hashes for mworks-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7142bb4adc60caad2b23ebebfc752dc0659b6ac655be948d8292ed1debe8f8fe
MD5 774e29f0dbe11d1d7019c55484c47c9f
BLAKE2b-256 b7df17c896d6fd166a920ee353eb35605898641ec724d231b7a2a4fda5e067e2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page