{"id":25070469,"url":"https://github.com/pritam001/pyflask-microservice-base","last_synced_at":"2026-04-13T12:31:23.682Z","repository":{"id":53625963,"uuid":"284433362","full_name":"pritam001/pyflask-microservice-base","owner":"pritam001","description":"🗼 An \"optionally opinionated and structured\" flask boilerplate application for jump-starting microservice development with flask","archived":false,"fork":false,"pushed_at":"2022-07-29T23:17:55.000Z","size":16505,"stargazers_count":2,"open_issues_count":13,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-31T16:23:28.550Z","etag":null,"topics":["boilerplate","boilerplate-application","conda-environment","coverage","flask","flask-base","flask-docker","flask-tests","project-structure","pyflask","pyflask-microservice","python","python3","static-analysis","template","template-project"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pritam001.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":"2020-08-02T09:47:47.000Z","updated_at":"2024-06-26T20:52:29.000Z","dependencies_parsed_at":"2022-09-18T10:42:49.144Z","dependency_job_id":null,"html_url":"https://github.com/pritam001/pyflask-microservice-base","commit_stats":null,"previous_names":[],"tags_count":5,"template":true,"template_full_name":null,"purl":"pkg:github/pritam001/pyflask-microservice-base","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritam001%2Fpyflask-microservice-base","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritam001%2Fpyflask-microservice-base/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritam001%2Fpyflask-microservice-base/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritam001%2Fpyflask-microservice-base/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pritam001","download_url":"https://codeload.github.com/pritam001/pyflask-microservice-base/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pritam001%2Fpyflask-microservice-base/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31753024,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T09:16:15.125Z","status":"ssl_error","status_checked_at":"2026-04-13T09:16:05.023Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["boilerplate","boilerplate-application","conda-environment","coverage","flask","flask-base","flask-docker","flask-tests","project-structure","pyflask","pyflask-microservice","python","python3","static-analysis","template","template-project"],"created_at":"2025-02-06T21:31:37.958Z","updated_at":"2026-04-13T12:31:23.659Z","avatar_url":"https://github.com/pritam001.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"[//]: \u003c\u003e (pyflask_config: service_name)\npyflask-microservice-base\n------------------------------------------------------------------------------\nAn \"optionally opinionated and structured\" flask boilerplate microservice for jump-starting development\n\n![Built with](https://img.shields.io/badge/-Built%20with-073551?style=flat-square)\n![Python](https://img.shields.io/badge/-Python-3776AB?style=flat-square\u0026logo=Python\u0026logoColor=white)\n![Flask](https://img.shields.io/badge/-Flask-000000?style=flat-square\u0026logo=flask\u0026logoColor=white)\n![License](https://img.shields.io/github/license/pritam001/pyflask-microservice-base?style=flat-square\u0026label=License)\n\n\nProject status\n------------------------------------------------------------------------------\n![Version](https://img.shields.io/github/v/tag/pritam001/pyflask-microservice-base?logo=codesandbox)\n[![Maintainability](https://api.codeclimate.com/v1/badges/cc34f11b1a2b9bb8e216/maintainability)](https://codeclimate.com/github/pritam001/pyflask-microservice-base/maintainability)\n[![codecov](https://codecov.io/gh/pritam001/pyflask-microservice-base/branch/master/graph/badge.svg)](https://codecov.io/gh/pritam001/pyflask-microservice-base)\n\n\nTools\n------------------------------------------------------------------------------\n[![Min Python Version 3.7](https://img.shields.io/badge/python-3.7+-3776AB.svg?style=flat)](https://www.python.org/download/releases/3.8.0/)\n[![Min GNU Make Version 4.3](https://img.shields.io/badge/make-4.3+-222222.svg?style=flat)](https://www.gnu.org/software/make/manual/make.html)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg?style=flat)](https://github.com/psf/black)\n[![Static Analysis: flake8](https://img.shields.io/badge/static%20analysis-flake8-cccccc.svg?style=flat)](https://github.com/PyCQA/flake8/)\n[![Cyclomatic Complexity: radon](https://img.shields.io/badge/cyclomatic%20complexity-radon-ff5252.svg?style=flat)](https://github.com/rubik/radon)\n[![Imports: isort](https://img.shields.io/badge/%20imports-isort-%231674b1?style=flat\u0026labelColor=ef8336)](https://timothycrosley.github.io/isort/)\n[![Static Typing: mypy](https://img.shields.io/badge/static%20typing-mypy-blue.svg?style=flat)](https://github.com/python/mypy/)\n[![Security: bandit](https://img.shields.io/badge/security-bandit-yellow.svg?style=flat)](https://github.com/PyCQA/bandit)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?style=flat\u0026logo=pre-commit\u0026logoColor=white)](https://github.com/pre-commit/pre-commit)\n[![API Specs](https://img.shields.io/badge/specs-flasgger-6D9A00?style=flat\u0026logo=swagger\u0026logoColor=white)](https://github.com/flasgger/flasgger)\n[![Tests: pytest](https://img.shields.io/badge/%20tests-pytest-%23009BDB?style=flat)](https://docs.pytest.org/en/latest/contents.html)\n[![Coverage: pytest-cov](https://img.shields.io/badge/%20coverage-pytest--cov-%23009BDB?style=flat)](https://docs.pytest.org/en/latest/contents.html)\n[![Version Handling: tbump](https://img.shields.io/badge/%20version%20handling-tbump-%23009BDB?style=flat)](https://docs.pytest.org/en/latest/contents.html)\n\n\nUsage Guide\n------------------------------------------------------------------------------\nThis is a template project hosted on GitHub which can be used to create new repositories.\n\n\n### Steps for creating boilerplate project in GitHub\n1. Create a new repository named \"my-pyflask-project\" using this template repository *+\n1. `git clone https://www.github.com/username/my-pyflask-project.git`\n1. `cd my-pyflask-project`\n1. `make init` : Initialize and personalize project\n1. `make setup` : Use pip-tools, pip-compile, pip install to set up python packages\n1. `make upgrade` : Upgrade dependencies to latest version\n1. `make pre-commit` : Run format, lint, test and cover\n1. Run `git add .` and `git commit -m \"Personalize service\"`\n\n*+ [GitHub Guide: Creating a repository from a template](https://docs.github.com/en/github/creating-cloning-and-archiving-repositories/creating-a-repository-from-a-template)\n\u003cbr\u003e\n*^ [Guide to Conda environment](https://github.com/pritam001/pyflask-microservice-base/blob/master/documentation/wiki/conda.md)\n\n\n### Make Guide\nType `make help` for available commands\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"documentation/assets/make-help.gif\" /\u003e\u003c/p\u003e\n\nType `make pre-commit` before committing your changes to run formatters, linters, tests and code coverage collectors\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"documentation/assets/make-pre-commit.gif\" /\u003e\u003c/p\u003e\n\n\n### Linting Guide\n`make format` : Format and fix python code with black, isort, autoflake and pre-commit hooks\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"documentation/assets/make-format.gif\" /\u003e\u003c/p\u003e\n\n`make lint` : Run static analysis with flake8, radon, mypy and bandit\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"documentation/assets/make-lint.gif\" /\u003e\u003c/p\u003e\n\n\n### Documentation\n[//]: \u003c\u003e (pyflask_config: service_name)\nFlasgger docs can be found at http://0.0.0.0:8420/api/v1/pyflask-microservice/swagger\n\n[//]: \u003c\u003e (pyflask_config: service_name)\nAPI specs can be found at http://0.0.0.0:8420/api/v1/pyflask-microservice/swagger_spec\n\nFlasgger UI version: v2 | OpenAPI version: 2\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"documentation/assets/flasgger_intro.png\" /\u003e\u003c/p\u003e\n\n\nContributing\n------------------------------------------------------------------------------\n1. Stargaze this repository\n1. Fork this repository\n1. Add this project as `upstream`\n1. Commit your changes\n1. Create pull request to `upstream/development` branch\n\nRoadmap\n-----------------------------------------------------------------------------\n- [x] Swagger support\n- [x] Introduction of testing tools\n- [x] Code coverage\n- [x] Version handling by tbump\n- [ ] Personalization script\n- [ ] Docker support\n- [ ] uwsgi server\n- [ ] Add CoC, Contribution guidelines, PR and issue templates\n- [ ] Update linting documentation\n- [ ] Testing tools documentation\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpritam001%2Fpyflask-microservice-base","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpritam001%2Fpyflask-microservice-base","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpritam001%2Fpyflask-microservice-base/lists"}