{"id":22055974,"url":"https://github.com/sirmaxx/indicator_service","last_synced_at":"2026-04-12T18:47:12.389Z","repository":{"id":189025575,"uuid":"679473570","full_name":"SirmaXX/indicator_service","owner":"SirmaXX","description":"Diabet Estimator  Example ml-fastapi application for healthuniverse.com/ hackathon.","archived":false,"fork":false,"pushed_at":"2023-08-20T19:24:34.000Z","size":7882,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-28T22:26:10.394Z","etag":null,"topics":["bootstrap5","diabetes","diabetes-prediction","fastapi","juptyernotebook-language","machine-learning","sklearn"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SirmaXX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-16T23:43:17.000Z","updated_at":"2023-08-20T18:00:37.000Z","dependencies_parsed_at":"2025-01-28T22:36:21.036Z","dependency_job_id":null,"html_url":"https://github.com/SirmaXX/indicator_service","commit_stats":null,"previous_names":["sirmaxx/indicator_service"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SirmaXX%2Findicator_service","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SirmaXX%2Findicator_service/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SirmaXX%2Findicator_service/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SirmaXX%2Findicator_service/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SirmaXX","download_url":"https://codeload.github.com/SirmaXX/indicator_service/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245128114,"owners_count":20565206,"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":["bootstrap5","diabetes","diabetes-prediction","fastapi","juptyernotebook-language","machine-learning","sklearn"],"created_at":"2024-11-30T16:12:11.763Z","updated_at":"2026-04-12T18:47:07.361Z","avatar_url":"https://github.com/SirmaXX.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# indicator_service\n\n### Example ml-fastapi application  for https://www.healthuniverse.com/ hackathon.\n\nDiabet Estimator \u003cbr/\u003e\nsource of dataset :https://www.kaggle.com/datasets/alexteboul/diabetes-health-indicators-dataset\n\n#if you want to run only jupyter notebook you can reach from this link : https://www.kaggle.com/code/sirmax/diabet-indicator/notebook\n\n### how to run software\ntype in the command line :python3 main.py\n\n\n### how to run test\nopen the tests folder and  type in the command line :pytest\n\n\n### how to use software or service\n\n#### 1.Browser\n\nIf you run software open the browser and click this link:http://0.0.0.0:8000\n\n![docs](/img/gui.png )\n\n#### 2.Use with Swagger  Docs\n\nIf you run software open the browser and click this link:http://0.0.0.0:8000/docs\n\n![docs](/img/docs.png )\n\n#### 3.Use with Postman\n![postman](/img/postman.png )\n\n\n\n\n#### 4. Use with Python Script\n\u003ccode\u003e\n\nimport requests\nimport json\n\nurl = \"http://0.0.0.0:8000/predict\"\n\npayload = json.dumps({\n  \"features\": [\n    1,\n    2,\n    21,\n    1,\n    3\n  ]\n})\nheaders = {\n  'Content-Type': 'application/json'\n}\n\nresponse = requests.request(\"POST\", url, headers=headers, data=payload)\n\nprint(response.text)\n\n\u003c/code\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsirmaxx%2Findicator_service","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsirmaxx%2Findicator_service","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsirmaxx%2Findicator_service/lists"}