flask-admin
flask-login
flask-admin | flask-login | |
---|---|---|
28 | 10 | |
5,660 | 3,501 | |
0.8% | - | |
4.8 | 7.5 | |
about 1 month ago | 18 days ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" 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-admin
-
Some questions about security when using flask
Are this modules good? https://github.com/flask-admin/flask-admin and https://github.com/maxcountryman/flask-login
-
When is Django better than Flask?
So i prefer flask-admin.
-
Web based GUI Application
Here me out, look at the flask-admin examples.
-
What happened with the community?
Django ORM feels half-baked compared to SQLAlchemy, don't know why you need django if flask-admin exist.
-
Flask-Powered APIs: Fast, Reliable, and Used by the World's Top Companies
I'm also here because Flask-Admin MVC design plays nice with SQLAlchemy.
-
flask-admin with user management
See flask-admin/examples/auth I recommend you use Flask-Security-Too.
-
Trying to Navigate and understand the Flask Codebase
Also it sounds like you inherited a flask application composed of different modules. But if you want a good example to see how to put things together i do appreciate flask_admin examples.
-
what's the correct architecture to build rest api in flask?
The reason im using py sqla for mvc i look at flask-admin for api i look at connexion, here a tutorial if your interested.
-
Real life examples of complex applications
Have you looked at flask admin for example i know apache airflow have been using it.
-
Functions to interact with database
have a look at flask_admin not saying use it(and if you want to that also fine) but it implements a lot of the classic backend mvc pattern for you to learn from.
flask-login
-
Some questions about security when using flask
Are this modules good? https://github.com/flask-admin/flask-admin and https://github.com/maxcountryman/flask-login
-
How to dynamically generate graphics and PDFs using Python an jinja
flask-login: Provides access to the current username
-
[AF] Role-based authentication, alternatives to [Flask-User]?
I use Flask-login and implement role based authentication using decorators.
-
Flask-Principal, Flask-Login, remember_me and identity_loaded
Flask-Login has a closed Issue #19 on GitHub but it actually doesn't answer my question :-/
-
Tested flask-login based API successfully with Postman. But local React client doesn't use the Set-Cookie returned ?
You can try to look here https://github.com/maxcountryman/flask-login/blob/main/test_login.py
-
How to implement user_loader callback in Flask-Login
The example code provided by flask-login does it this way, but this only works because it's pulling the User objects from a global hard-coded dictionary, not as in a real-world scenario like a database, where the DB must be checked and User objects created after the user enters their login credentials. And I can't seem to find any other example code that illustrates using a database with flask-login.
- python3-saml and flask-login
-
What is the best authentication system for production flask apps?
What u/MikeDoesDo said. `flask-login` is rather built for the traditional approach to login and user management. It doesn't have a concept of auth tokens or JWT. It uses traditional cookies. The code that actually sets the cookie for the session isn't robust for a production app. Secure tokens have to be signed with robust keys. In addition to strong tokens, you also need measures that prevent brute-force attacks. Third party systems like auth0 bring all of this and more. Besides, with these systems you delegate the login process to the UI and the backend simply needs to verify incoming tokens. The crucial part is that you verify the token contents (audience and such) and the signature. For a production app with sensitive data and money behind it, don't settle for anything less than this.
-
Is my user session cookie secure?
https://github.com/maxcountryman/flask-login/blob/c77ba6b12ef5e3045df054cf8bf2d61c4d83f54f/flask_login/mixins.py#L35-L39
What are some alternatives?
django-xadmin - Drop-in replacement of Django admin comes with lots of goodies, fully extensible with plugin support, pretty UI based on Twitter Bootstrap.
flask-wtf - Simple integration of Flask and WTForms, including CSRF, file upload and Recaptcha integration.
Ajenti - Ajenti Core and stock plugins
Flask-AppBuilder - Simple and rapid application development framework, built on top of Flask. includes detailed security, auto CRUD generation for your models, google charts and much more. Demo (login with guest/welcome) - http://flaskappbuilder.pythonanywhere.com/
django-suit - Modern theme for Django admin interface
python3-saml
Grappelli - A jazzy skin for the Django Admin-Interface (official repository).
xsession-manager - Save and restore windows for X11 desktop environment like Gnome, and many other features.
PyJWT - JSON Web Token implementation in Python
Wooey - A Django app that creates automatic web UIs for Python scripts.
django-user-sessions - Extend Django sessions with a foreign key back to the user, allowing enumerating all user's sessions.