I find myself using these libraries in every new Flask project I set up:
* gunicorn
* flask-debugtoolbar
* pytest and pytest-cov
* flake8
* Flask-SQLAlchemy and psycopg2
* alembic
* celery and redis
* Flask-WTF and WTForms-Components
* Flask-Login
* Flask-Limiter
* Flask-Mail
If you want to know why I use all of these libraries, more details can be found at
https://nickjanetakis.com/blog/15-useful-flask-extensions-and-libraries-that-i-use-in-every-project.
What's your favorite extensions and libraries?
Thanks for the post, there were a couple things there I wasn’t aware of!
A few that aren’t necessarily flask specific but I find pretty useful for flask-like projects:
* pendulum – THE datetime library that you should use
* pprintpp – Pretty printing of dictionries that is actually readable
* flask-migrate – Alembic done up for Flask apps
* inflection – Just some amazing string manipulation awesomeness.
* flake8 – Don’t leave /home without it
* pytest – Forget everything you know about nose and unittest. Seriously
* snakeviz – Profiling visualizer that lets you drill down graphically and quickly and intuitively
Shameless self-promotion:
* flask-buzz, py-buzz – Exceptions with extras
* flask-praetorian – Strong, simple, and precise security for flask APIs
* sphinx-view – Instantly preview your reStructuredText and Sphinx documents
Nice list. I use Flask-Cache quite a bit as well.
Flask-User. Combines flask-wtf, flask-login, flask-mail and allows email confirmation of passwords, emails users when passwords have been changed and hashes passwords.
These are all good! I recently used ‘flask_restplus’ for the first time and don’t see any mention of it here. Thought it was cool how it simultaneously validates JSON input/output for APIs while automatically documenting with a Swagger API page
This tutorial is everything one would need to know to get started:
http://michal.karzynski.pl/blog/2016/06/19/building-beautiful-restful-apis-using-flask-swagger-ui-flask-restplus/
watchdog