flask-tables
APIFairy
flask-tables | APIFairy | |
---|---|---|
6 | 4 | |
272 | 317 | |
- | - | |
1.8 | 5.3 | |
almost 3 years ago | 4 days 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-tables
-
The Flask Mega-Tutorial
This is really a matter of preference. I do not use Flask-Admin on my projects, I have always preferred to design my own admin pages than being forced to accept the choices that are imposed by these big extensions. This allows me to have a consistent UI across admin and non-admin pages.
One are that people often complain is that it is hard and/or tedious to build tables with data, which is one of the building blocks most admin pages need. Last year I wrote a blog article where I show how I build tables in my Flask apps: https://blog.miguelgrinberg.com/post/beautiful-interactive-t....
-
Passing a very large list to html jinga2 frontend
Check https://blog.miguelgrinberg.com/post/beautiful-interactive-tables-for-your-flask-templates and then the Server Side section. That helps you create an API that paginates and searches, so you don't load all data at once, but the relevant/needed data.
-
Looking for method to serve an interactive visualization of a table that is searchable as website
jQuery datatables looks perfect. I've found a github repo using it in conjunction with flask. That's the perfect stack for me!
- How to display a table from my database in my Flask app if the table was created by using pd.to_sql on a pandas df
-
Best practice for displaying table data, ideally with dynamic formatting?
Looks like you need Datatable. See https://blog.miguelgrinberg.com/post/beautiful-interactive-tables-for-your-flask-templates
- Beautiful Interactive Tables for your Flask Templates
APIFairy
-
Flaks REST API lib
I just cut the 1.0 release of my APIFairy extension today. Maybe that works for you? https://github.com/miguelgrinberg/APIFairy
- APIFairy: Automatic OpenAPI Documentation for Flask APIs
-
The Flask Mega-Tutorial
Not sure what you mean by "ignoring async". If you write your handlers as regular functions, I would imagine FastAPI is going to send them to run in an executor. So all the concurrency benefits of FastAPI go down the drain, and now your concurrency is based on threads.
As far as Swagger integration, you can use APIFairy with Flask and get similar type of auto-generated docs. Disclaimer, APIFairy is an extension that I created: https://github.com/miguelgrinberg/APIFairy
What are some alternatives?
HANDSONTABLE - JavaScript data grid with a spreadsheet look & feel. Works with React, Angular, and Vue. Supported by the Handsontable team ⚡
flask-smorest - DB agnostic framework to build auto-documented REST APIs with Flask and marshmallow
MarkupSafe - Safely add untrusted strings to HTML/XML markup.
microblog - The microblogging application developed in my Flask Mega-Tutorial series. This version maps to the 2024 Edition of the tutorial.
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
jsonify - UI wrapper for flask's jsonify
dash - Data Apps & Dashboards for Python. No JavaScript Required.
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project
Jinja2 - A very fast and expressive template engine.
flask-mvc-boilerplate - Flask boilerlate in MVC format
django-ninja - 💨 Fast, Async-ready, Openapi, type hints based framework for building APIs