I created the library to avoid duplication between my own Flask apps. Many of its helpers are inspired by Django. The library is currently in alpha and will hopefully be available on PyPI soon (https://github.com/pypi/support/issues/2987).
The library is divided into three components:
- fsw.views: RedirectView, TemplateView, FormView, CreateModelView, ReadModelView, ReadOneModelView, UpdateModelView, DeleteModelView
- fsw.models: ClassNameModelMixin, IDModelMixin, SaveModelMixin, CreateTimestampModelMixin, UpdateTimestampModelMixin, DeleteTimestampModelMixin, HardDeleteModelMixin
- fsw.forms: CSRFProtectModelMixin, ModelFormMixin
I would love feedback and suggestions on any part of the library, especially the more complex components (such as FormView and ModelFormMixin).