{"id":28147999,"url":"https://github.com/solaredgetech/flask-pyctuator","last_synced_at":"2025-05-15T00:23:33.207Z","repository":{"id":57430630,"uuid":"420521798","full_name":"SolarEdgeTech/flask-pyctuator","owner":"SolarEdgeTech","description":"Flask Extension for using Pyctuator to enable Spring Boot Admin (SBA) to monitor the application","archived":false,"fork":false,"pushed_at":"2021-10-24T08:25:38.000Z","size":911,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-21T08:20:27.168Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SolarEdgeTech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-23T20:59:19.000Z","updated_at":"2021-10-24T08:20:58.000Z","dependencies_parsed_at":"2022-08-27T22:12:06.192Z","dependency_job_id":null,"html_url":"https://github.com/SolarEdgeTech/flask-pyctuator","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolarEdgeTech%2Fflask-pyctuator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolarEdgeTech%2Fflask-pyctuator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolarEdgeTech%2Fflask-pyctuator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SolarEdgeTech%2Fflask-pyctuator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SolarEdgeTech","download_url":"https://codeload.github.com/SolarEdgeTech/flask-pyctuator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254249553,"owners_count":22039085,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-15T00:23:10.245Z","updated_at":"2025-05-15T00:23:33.189Z","avatar_url":"https://github.com/SolarEdgeTech.png","language":"Python","readme":"[![PyPI](https://img.shields.io/pypi/v/flask-pyctuator?color=green\u0026style=plastic)](https://pypi.org/project/flask-pyctuator/)\n[![build](https://github.com/SolarEdgeTech/flask-pyctuator/workflows/build/badge.svg)](https://github.com/SolarEdgeTech/flask-pyctuator/)\n\n# Flask Pyctuator Extension\nA [Flask extension](https://flask.palletsprojects.com/en/2.0.x/extensions/) that uses [Pyctuator](https://github.com/SolarEdgeTech/pyctuator) to enable [Spring Boot Admin](https://github.com/codecentric/spring-boot-admin) (SBA) to monitor health, configuration, log-file and resource-usage of a Flask application.\n\nPlease see [Pyctuator](https://github.com/SolarEdgeTech/pyctuator) for the complete documentation and **note** that the some features such as monitoring memory/disk usage **require instlaling of additional modules**. \n\n\n# Quick Start\n1. Install Flask and the flask-pyctuator extension using your favorite python package manager\n2. Start a local SBA (Spring Boot Admin) server using Dockers:\n   ```sh\n   docker run --rm -p 8080:8080 --add-host=host.docker.internal:host-gateway michayaak/spring-boot-admin:2.2.3-1\n   ```\n3. Open SBA's main page, http://localhost:8080, in your browser\n4. Run the following Flask application:\n   ```python\n   from flask import Flask\n   from flask_pyctuator.flask_pyctuator import FlaskPyctuator\n   \n   app = Flask(\"Flask App with Pyctuator\")\n   \n   \n   @app.route(\"/\")\n   def hello():\n     return \"Hello World!\"\n   \n   \n   FlaskPyctuator(\n     app,\n     pyctuator_endpoint_url=\"http://host.docker.internal:5000/pyctuator\",\n   )\n   \n   app.run(debug=False, port=5000, host=\"0.0.0.0\")\n   ```\n\nSee the complete example and project file in the `example` folder.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolaredgetech%2Fflask-pyctuator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolaredgetech%2Fflask-pyctuator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolaredgetech%2Fflask-pyctuator/lists"}