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
Release history Release notifications | RSS feed
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)
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37245339615d0d76189f8917fa5a0cdba15555ba3025efe0a7b24ae58f27f5fa |
|
MD5 | 84f98fddc7501960157eae65debeddf8 |
|
BLAKE2b-256 | f204c6a6ac45e62f5898246f404d4bf77f0ec46f79b245f921226ae70660f8a8 |
File details
Details for the file kvcommon_flask-0.0.7-py3-none-any.whl
.
File metadata
- Download URL: kvcommon_flask-0.0.7-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72b47ce0c39eaf80efa2fc03647d057a3a59cdea5893bad574babf6bfe03920b |
|
MD5 | 8c747652e2fc212ef5c0ea864a48476a |
|
BLAKE2b-256 | 40680c5b8b8a7af08137f504a65900c980325da031c21e6ff49ef0cd1863bcc9 |