A python microservice framework
Overview
Quick start
Project files
OpenAPI specification
API objects
Server code
Deployment pipeline
Docker packaging
JWT authentication
Configuration
Error handling
Asynchronous execution
Database serialisation
Testing
Monitoring
A python microservice framework based on Flask and Swagger, using docker for packaging and deployable on AWS/beanstalk, GKE or Google Cloud RUN.
Create a Flask-based microservice running your REST/json api by doing:
To deploy it as a docker container to AWS or GCP, set a few configuration parameters and run ‘pymdeploy’.
BOOM! Your are live in the cloud!
PyMacaron abstracts away all the scaffholding of structuring your Python app, defining routes, serializing/deserializing between json, Python objects and databases, containerizing your app and deploying it on AWS or GCP. It even supports asynchronous execution out of the box!
PyMacaron lets you focus on what matters: defining and implementing your API.
pymacaron gives you:
PyMacaron requires Python3.
To deploy a pymacaron service, you will need access to a docker repository and an Amazon AWS or Google GCP account.
PyMacaron was created and is maintained by Erwan Lemonnier.