Skip to main content

Library of various Flask utils that aren't worthy of their own dedicated libs.

Project description

KvCommon-Flask

Library of various Flask utils that aren't worthy of their own dedicated libs.

This library isn't likely to be useful to anyone else; it's just a convenience to save me from copy/pasting between various projects I work on.

PyPi

https://pypi.org/project/kvcommon-flask/

Installation

With Poetry:

poetry add kvcommon-flask

With pip:

pip install kvcommon-flask

Packages/Modules

Package Description
context Convenience utils for manipulating Flask config and flask.g context
headers Utils for manipulating request/response headers and converting them from different formats for use with Flask
metrics Prometheus Metrics utils & boilerplate
middleware Basic middleware class using flask-http-middleware with prometheus metrics
responses Utils and classes for common HTTP Responses with built-in prometheus metrics
scheduler Utils for scheduling jobs on cron-like intervals with Flask-APScheduler and metrics + logging
traces OTLP Traces utils & boilerplate

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

kvcommon_flask-0.0.7.tar.gz (5.7 kB view details)

Uploaded Source

Built Distribution

kvcommon_flask-0.0.7-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file kvcommon_flask-0.0.7.tar.gz.

File metadata

  • Download URL: kvcommon_flask-0.0.7.tar.gz
  • Upload date:
  • Size: 5.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.0.0 CPython/3.12.3

File hashes

Hashes for kvcommon_flask-0.0.7.tar.gz
Algorithm Hash digest
SHA256 37245339615d0d76189f8917fa5a0cdba15555ba3025efe0a7b24ae58f27f5fa
MD5 84f98fddc7501960157eae65debeddf8
BLAKE2b-256 f204c6a6ac45e62f5898246f404d4bf77f0ec46f79b245f921226ae70660f8a8

See more details on using hashes here.

File details

Details for the file kvcommon_flask-0.0.7-py3-none-any.whl.

File metadata

File hashes

Hashes for kvcommon_flask-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 72b47ce0c39eaf80efa2fc03647d057a3a59cdea5893bad574babf6bfe03920b
MD5 8c747652e2fc212ef5c0ea864a48476a
BLAKE2b-256 40680c5b8b8a7af08137f504a65900c980325da031c21e6ff49ef0cd1863bcc9

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