v1a0 / sqllex

The most pythonic ORM (for SQLite and PostgreSQL). Seriously, try it out!
https://v1a0.github.io/sqllex
GNU General Public License v3.0
92 stars 8 forks source link

Flask Extension #14

Open v1a0 opened 3 years ago

v1a0 commented 3 years ago

r/Deezl-Vegas: You can register flask extensions in one line of code. The init_app pattern from the sqlite example is common

https://flask.palletsprojects.com/en/2.0.x/extensiondev/

Flask Extension Development

Flask, being a microframework, often requires some repetitive steps to get a third party library working. Many such extensions are already available on PyPI.

If you want to create your own Flask extension for something that does not exist yet, this guide to extension development will help you get your extension running in no time and to feel like users would expect your extension to behave.