flask-db
sqlsugar
Our great sponsors
flask-db | sqlsugar | |
---|---|---|
5 | 1 | |
73 | 0 | |
- | - | |
6.2 | 10.0 | |
4 months ago | over 1 year 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
sqlsugar
-
Forget about migrations and use SQLSugar
Managing your database can be a laborious and time-consuming chore for a developer working on a small project or prototype. To aid with this, I created a tiny project called SQLSugar.
What are some alternatives?
fastapi-admin - A fast admin dashboard based on FastAPI and TortoiseORM with tabler ui, inspired by Django admin
sqlalchemy-declarative-extensions - Library to declare additional kinds of objects not natively supported by SqlAlchemy/Alembic.
Flask-Migrate - SQLAlchemy database migrations for Flask applications using Alembic
ormar - python async orm with fastapi in mind and pydantic validation
Flask-Tortoise - Adds asynchronous Tortoise ORM(Like Django-ORM) support for flask app.
fastapi-template - FastAPI template
flask-pg-extras - A Flask extension to obtain useful information from your PostgreSQL database.
flask-bones - An example of a large scale Flask application using blueprints and extensions.
flask-restful - Simple framework for creating REST APIs
Flask-User - Customizable User Authorization & User Management: Register, Confirm, Login, Change username/password, Forgot password and more.