Pyctuator
You can easily integrate Spring Boot Admin with Flask or FastAPI Python applications using the Pyctuator project.
The following steps uses Flask, but other web frameworks are supported as well. See Pyctuator’s documentation for an updated list of supported frameworks and features.
- Install the pyctuator package:
pip install pyctuator
- Enable pyctuator by pointing it to your Flask app and letting it know where Spring Boot Admin is running:
app.py
import os
from flask import Flask
from pyctuator.pyctuator import Pyctuator
app_name = "Flask App with Pyctuator"
app = Flask(app_name)
@app.route("/")
def hello():
return "Hello World!"
Pyctuator(
app,
app_name,
app_url="http://example-app.com",
pyctuator_endpoint_url="http://example-app.com/pyctuator",
registration_url=os.getenv("SPRING_BOOT_ADMIN_URL")
)
app.run()
For further details and examples, see Pyctuator’s documentation and examples.