flask-db
flask-pg-extras
Our great sponsors
flask-db | flask-pg-extras | |
---|---|---|
5 | 2 | |
73 | 33 | |
- | - | |
6.2 | 3.6 | |
4 months ago | about 2 years ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
flask-db
-
My experience upgrading project from Flask v1 to v2
When I updated Flask 1 to 2 I didn't encounter any issues with migrations but I also use Flask-DB not Flask-Migrate. Everything worked great.
-
Best way to make changes to deployed app db?
I've written https://github.com/nickjj/flask-db which is a Flask extension that makes using Alembic a bit more convenient and also adds quality of life improvements like being able to reset and create your main / test database and run a "seed" command to seed your DB with initial data.
-
Flask_Migrate missing upgrade/downgrade commands
It looks like you have Flask-DB installed which is an alternative library to Flask-Migrate. Flask-DB is something I wrote btw which uses Alembic to handle the migrations, that's the official SQLAlchemy DB migration tool.
-
SQLAlchemy 1.4.0 Released
If anyone happens to use SQLAlchemy, Alembic and Flask a while back I open sourced a Flask CLI extension called Flask-DB at https://github.com/nickjj/flask-db.
Its focus is to quickly init Alembic configs with a few opinions, alias the official Alembic CLI for migrations and also let you quickly reset and seed your database using patterns found in other frameworks (such as having a seeds.py file that you can do whatever you want in).
-
Outdated Flask extensions
Flask-DB for database migrations and initializing / seeding your DB
flask-pg-extras
-
Postgres queries are so slow -- thinking of adding MongoDB as a caching mechanism?
You may also want to install this package: https://github.com/nickjj/flask-pg-extras
-
Outdated Flask extensions
Flask-PG-Extras for gaining insights on database performance
What are some alternatives?
fastapi-admin - A fast admin dashboard based on FastAPI and TortoiseORM with tabler ui, inspired by Django admin
Flask-User - Customizable User Authorization & User Management: Register, Confirm, Login, Change username/password, Forgot password and more.
Flask-Migrate - SQLAlchemy database migrations for Flask applications using Alembic
flask-restful - Simple framework for creating REST APIs
Flask-Tortoise - Adds asynchronous Tortoise ORM(Like Django-ORM) support for flask app.
flask-static-digest - Flask extension to help make your static files production ready by md5 tagging and gzipping them.
sqlsugar - Automatic migrations for SQLAlchemy 🍭
sqlalchemy-declarative-extensions - Library to declare additional kinds of objects not natively supported by SqlAlchemy/Alembic.
unique-turker-2 - Python Application for Researchers to Manage Worker Access to HITs on Amazon Mechanical Turk