flask-base
flask_injector
Our great sponsors
flask-base | flask_injector | |
---|---|---|
2 | 2 | |
2,978 | 264 | |
0.9% | 0.0% | |
0.0 | 5.2 | |
29 days ago | 9 months 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-base
-
Wrong dashboard while adding flask-admin to project
I'm trying to extend the flask-base project https://github.com/hack4impact/flask-base/tree/master/app. This uses the the application factory pattern in app/init.py and blueprints.
-
Any good example projects that I can use to compare my own flask site?
I came across (flask-base)[https://github.com/hack4impact/flask-base], which is a nice and robust boilerplate for large flask apps, you could use this as a reference point.
flask_injector
-
FLASK REST API BOILERPLATE
Use something like flask-injector to have some dependency injection. This is clunkier than the DI provided by Microsoft.Extensions.DependencyInjection but it's way nicer than going without. Just read the docs and understand how it works.
-
Any good example projects that I can use to compare my own flask site?
Optionally, but I recommend, use something like flask_injector to do dependency injection into your routes so you don't need to worry about creating the services in your route endpoints. This is kind of invasive because of the inject decorator and does require using type hints.
What are some alternatives?
Airflow - Apache Airflow - A platform to programmatically author, schedule, and monitor workflows
cookiecutter-flask-restful - Flask cookiecutter template for builing APIs with flask-restful, including JWT auth, cli, tests, swagger, docker and more
cookiecutter-flask - A flask template with Bootstrap, asset bundling+minification with webpack, starter templates, and registration/authentication. For use with cookiecutter.
python-webpack-boilerplate - Django Webpack boilerplate & Flask Webpack boilerplate
flask-starter - Flask-Starter is a boilerplate starter template designed to help you quickstart your Flask web application development.
pydbantic - A single model for shaping, creating, accessing, storing data within a Database
awesome-flask - A curated list of awesome things related to Flask
Connecting-React-Frontend-to-a-Flask-Backend - Connecting a React frontend to a Flask backend, then performing a fetch from the Flask backend.
docker-flask-example - A production ready example Flask app that's using Docker and Docker Compose.
kink - Dependency injection container made for Python