Flask-Wired is an opinionated composable supporting framework for Flask.
Flask-Wired is designed to be used Flask to simplify initial bootstrap wiring for Micro Services by
- Taking a standardized way of wiring the components like DB connections, transactions, serializers, service discovery, log aggregation etc.
- Provide a place for the boilerplate code to be maintained in a standardized way & upgrade seamlessly
- Reduce the time taken for bootstrapping by simplifying the service template. Ex: defaults for app.py, manage.py will be provided by Flask-Wired.
Initial version supports the following:
- DB connection
- marshmallow as default serializer
- Flask blueprints registration
- Structured Logging
- Request Id generator
pip install Flask-Wired
- configure the extensions in settings.py as usual.
- follow the documentation for additional keys supported by Flask-Wired.
- Keep Flask-Wired version up to date with latest & greatest.
Note
Do not add a direct dependency to Flask in your project directly.
- Flask
- Flask-Script
- Flask-Migrate
Package & Deploy your code the same way as with Flask.
- Writing tests - TBD
- Code review - TBD
- Other guidelines - TBD
- Repo owner or admin
- Other community or team contact