Skip to content

python-microservices/microservices-scaffold

Repository files navigation

microservices-scaffold

Python package Build Status Coverage Status Requirements Status Updates Python 3

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:

  • Externalized configuration
  • Logging
  • Health checks
  • Metrics
  • Distributed tracing

Quickstart

We recommended use Poetry to install the dependencies

Start with poetry

pip install --user poetry
poetry update
poetry run python manage.py

Start with a virtualenv

pip install -r requirements.txt
python manage.py

Open http://127.0.0.1:5000/ui/ and play with swagger

See our quickstart webpage

Dependencies

Updated dependencies in a requirements.txt with:

poetry export --dev -f requirements.txt --output requirements.txt

How To contribute

We appreciate opening issues and pull requests to make PyMS even more stable & useful! See This doc for more details

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy