flask-db
flask-restful
Our great sponsors
flask-db | flask-restful | |
---|---|---|
5 | 5 | |
73 | 6,772 | |
- | 0.4% | |
6.2 | 1.5 | |
4 months ago | 6 days ago | |
Python | Python | |
MIT License | BSD 3-clause "New" or "Revised" 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-restful
-
Faster time-to-market with API-first
When it comes to Flask, in particular, there’re plenty of choices. And in fairness, not all frameworks are created equal. You’ve got flasgger, restx (successor of flask-restplus), flask-RESTful, and flask-smorest, to mention a few. How do you choose among those???
- How to implement flask restful api to a flask application?
-
Custom error messages with flask vs flask_restful
This has talked about in a similar matter: https://github.com/flask-restful/flask-restful/issues/221. However I'm still adamant about just using flask for exception handling. Unless I missed something,I'm having a hard time figuring out how to accomplish this in hopes to get rid of the string concatenation that flask_restful applies to the error message.
- Need help with flask-restful, application factories and blueprints
-
Outdated Flask extensions
Considering the extension you've mentioned explicitly, the author of it has provided an explanation as to why he is not longer putting in any work, you can read about it here.
What are some alternatives?
fastapi-admin - A fast admin dashboard based on FastAPI and TortoiseORM with tabler ui, inspired by Django admin
Flask RestPlus - Fully featured framework for fast, easy and documented API development with Flask
Flask-Migrate - SQLAlchemy database migrations for Flask applications using Alembic
flask-restx - Fork of Flask-RESTPlus: Fully featured framework for fast, easy and documented API development with Flask
Flask-Tortoise - Adds asynchronous Tortoise ORM(Like Django-ORM) support for flask app.
connexion - Connexion is a modern Python web framework that makes spec-first and api-first development easy.
flask-pg-extras - A Flask extension to obtain useful information from your PostgreSQL database.
flask-restless - NO LONGER MAINTAINED - A Flask extension for creating simple ReSTful JSON APIs from SQLAlchemy models.
Flask-User - Customizable User Authorization & User Management: Register, Confirm, Login, Change username/password, Forgot password and more.
flasgger - Easy OpenAPI specs and Swagger UI for your Flask API
sqlsugar - Automatic migrations for SQLAlchemy 🍭
eve - REST API framework designed for human beings