flask-db VS flask-static-digest

Compare flask-db vs flask-static-digest and see what are their differences.

flask-db

A Flask CLI extension to help migrate and manage your SQL database. (by nickjj)

flask-static-digest

Flask extension to help make your static files production ready by md5 tagging and gzipping them. (by nickjj)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
flask-db flask-static-digest
5 6
73 153
- -
6.2 3.6
4 months ago 12 months ago
Python Python
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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

Posts with mentions or reviews of flask-db. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-17.
  • My experience upgrading project from Flask v1 to v2
    1 project | /r/flask | 27 Apr 2023
    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?
    1 project | /r/flask | 16 May 2021
    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
    1 project | /r/flask | 19 Apr 2021
    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
    3 projects | news.ycombinator.com | 17 Mar 2021
    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
    5 projects | /r/flask | 6 Feb 2021
    Flask-DB for database migrations and initializing / seeding your DB

flask-static-digest

Posts with mentions or reviews of flask-static-digest. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-30.
  • [Ask Flask] Why would I use url_for for a static script file in a flask app?
    1 project | /r/flask | 16 Jul 2021
    I wrote an extension https://github.com/nickjj/flask-static-digest which digests your files by md5 tagging them so you can cache bust them and an optional config option I added was to be able to set FLASK_STATIC_DIGEST_HOST_URL = "https://cdn.example.com" but it never occurred to me you could just set static_url_path to https://cdn.example.com to get the same effect without needing to do anything extra in the extension. Going to investigate this approach and patch flask-static-digest if it turns out that it works.
  • Why use url_for?
    1 project | /r/flask | 28 Jun 2021
    This isn't built into url_for but it is built in with static_url_for which comes from the https://github.com/nickjj/flask-static-digest extension. Other frameworks like Rails, Django, Phoenix, Laravel and others have this behavior too.
  • After deleting my css/js files... my Flask server still runs as normal????
    3 projects | /r/flask | 30 Mar 2021
    In another reply someone else mentioned using Flask-Static-Digest which I highly recommend using in production. It will add a unique identifier (an md5 hash) to all of your static files so you can cache them forever with a proper web server but if they change, they will get a new file name to bust the cache.
  • Outdated Flask extensions
    5 projects | /r/flask | 6 Feb 2021
    Flask-Static-Digest for md5 tagging / pre-gzipping assets and optionally configuring a CDN
  • Q: How to trigger a missing asset in Flask?
    1 project | /r/flask | 22 Jan 2021
    Among other things the https://github.com/nickjj/flask-static-digest extension used to throw 500s for missing assets in production mode because it would try to do a dictionary lookup on a key that didn't exist which threw a Python error.

What are some alternatives?

When comparing flask-db and flask-static-digest you can also consider the following projects:

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

dynaconf - Configuration Management for Python ⚙

Flask-Tortoise - Adds asynchronous Tortoise ORM(Like Django-ORM) support for flask app.

flask-restful - Simple framework for creating REST APIs

flask-pg-extras - A Flask extension to obtain useful information from your PostgreSQL database.

flask-opsgenie - A Flask extension for opsgenie

flasgger - Easy OpenAPI specs and Swagger UI for your Flask API