Flask Pyctuator Extension
A Flask extension that uses Pyctuator to enable Spring Boot Admin (SBA) to monitor health, configuration, log-file and resource-usage of a Flask application.
Please see Pyctuator for the complete documentation and note that the some features such as monitoring memory/disk usage require instlaling of additional modules.
Quick Start
- Install Flask and the flask-pyctuator extension using your favorite python package manager
- Start a local SBA (Spring Boot Admin) server using Dockers:
docker run --rm -p 8080:8080 --add-host=host.docker.internal:host-gateway michayaak/spring-boot-admin:2.2.3-1
- Open SBA's main page, http://localhost:8080, in your browser
- Run the following Flask application:
from flask import Flask from flask_pyctuator.flask_pyctuator import FlaskPyctuator app = Flask("Flask App with Pyctuator") @app.route("/") def hello(): return "Hello World!" FlaskPyctuator( app, pyctuator_endpoint_url="http://host.docker.internal:5000/pyctuator", ) app.run(debug=False, port=5000, host="0.0.0.0")
See the complete example and project file in the example folder.
Metadata
Release files for flask-pyctuator 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| flask-pyctuator-0.1.1.tar.gz | 8.0 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flask_pyctuator-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 16.2 kB
Release files / flask-pyctuator-0.1.1.tar.gz
| Download URL | flask-pyctuator-0.1.1.tar.gz |
|---|---|
| Size | 8.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
667adccaefeb53e03807fce90bddd8619711383510101111e7b9d0f972b73561
|
|
BLAKE2b-256 checksum How to use checksums |
d9e5bfbd158a373fab29bded5f770970f824d1ee745777bd632eb8d5ecdf18f5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.7.11 Linux/5.4.0-1061-azure
|
Release files / flask_pyctuator-0.1.1-py3-none-any.whl
| Download URL | flask_pyctuator-0.1.1-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4fd8dfcc15ffef32ec7b3f1c49e57975ca63db9396079835e04b55f3251039d3
|
|
BLAKE2b-256 checksum How to use checksums |
90c55985a62c616e6763f75b726017b101e7027be5aa3bd45284c0a505a7dab2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.7.11 Linux/5.4.0-1061-azure
|
Security for flask-pyctuator 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.