| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Python Microservice Scaffold is an example of how to structure a Flask Microservice Project. This Scaffold is build over PyMS package. PyMS is a Microservice chassis pattern like Spring Boot (Java) or Gizmo (Golang). PyMS is a collection of libraries, best practices and recommended ways to build microservices with Python which handles cross-cutting concerns:
We recommended use Poetry to install the dependencies
Start with poetry
pip install --user poetry
poetry update
poetry run python manage.pyStart with a virtualenv
pip install -r requirements.txt
python manage.pyOpen http://127.0.0.1:5000/ui/ and play with swagger
See our quickstart webpage
Updated dependencies in a requirements.txt with:
poetry export --dev -f requirements.txt --output requirements.txtWe appreciate opening issues and pull requests to make PyMS even more stable & useful! See This doc for more details
| Back | FazBrowse Home | New Git URL |