PyMacaron

Star
Logo

A python microservice framework

Reference:

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

PyMacaron: a Python microservive framework

A python microservice framework based on Flask and Swagger, using docker for packaging and deployable on AWS/beanstalk, GKE or Google Cloud RUN.

Microservices made easy

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.

Features

pymacaron gives you:

Requirements

PyMacaron requires Python3.

To deploy a pymacaron service, you will need access to a docker repository and an Amazon AWS or Google GCP account.

Watch the video!

https://youtu.be/bf_dO4Gge8A

Credits

PyMacaron was created and is maintained by Erwan Lemonnier.