推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
goofish
50.01D
0.29D
V2EX  ›  Python

Python Flask web 有哪些好用的插件?

  •  
  •   goofish · Apr 4, 2023 · 4347 views
    This topic created in 1313 days ago, the information mentioned may be changed or developed.

    各位大佬们,小弟正在开发一个 Python web 项目,项目应该不大,主要就是提供一些 Restful 的 HTTP API ,然后就是一些数据库的 CRUD ,目前团队里决定用的框架和技术栈就是 Flask + Gunicorn + PostgreSQL 。由于本人之前是做 java web 的,对 python 的 web 技术栈不熟,想请教下各位大佬们 python web 有哪些高效率和开发框架和组件,以及比较坑的地方,找了一个 git 仓库 https://github.com/humiaozuzu/awesome-flask 里面列了很多插件,挑花了眼,有没有大佬分享下经验?先行谢过

    14 replies  •  2023-04-19 18:43:51 +08:00
    lanlanye
    lanlanye
    Apr 4, 2023❤️1
    1
    Java 的话,看看 Django 吧,什么都有,对你来说也许更熟悉一些?
    dayeye2006199
    dayeye2006199
    Apr 4, 2023❤️1
    2
    sqlalchemy + marshmallow 这两个东西一般是最常用的。

    说实话,开发快,并且有 MVC 经验的,还是建议 django 。个人感觉 flask 插件加来加去,就长的和 django 差不多了
    awanabe
    awanabe
    Apr 4, 2023❤️1
    4
    flask 就是轻盈...要用什么自己加...
    可以先写功能, 简单的自己写...复杂的再找插件
    Baloneo
    Baloneo
    Apr 4, 2023❤️1
    5
    Flask + Gunicorn + PostgreSQL + Peewee/SQLAlchemy + marshmallow
    wliansheng
    wliansheng
    Apr 4, 2023
    6
    @awanabe 加完之后等于 django 了。
    rationa1cuzz
    rationa1cuzz
    Apr 4, 2023
    7
    sqlalchemy
    CloudMx
    CloudMx
    Apr 4, 2023
    8
    有没有 RBAC 库推荐。
    ipwx
    ipwx
    Apr 4, 2023❤️1
    9
    FastAPI
    knightdf
    knightdf
    Apr 4, 2023❤️1
    10
    看你需要哪些东西,flask-sqlalchemy 和 marshmallow/pydantic 肯定是要要的,然后还有 flask-security-too ,flask-caching, flask-principal 等
    uni
    uni
    Apr 4, 2023
    11
    好多坑要踩的,有一定的摸索成本,我也是从三月份玩到现在觉得好恶心,要调教的地方太多了我又不想去搞它,再也不想碰了,下次说不定用 node 更好
    tottea
    tottea
    Apr 4, 2023
    12
    折腾来折腾去可能还真不如直接 Django 一把梭
    iorilu
    iorilu
    Apr 19, 2023
    14
    感觉 flask 适合自己学习玩玩

    真生成系统不划算, 瞎折腾加很多东西真不如 django 了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1898 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 07:14 · PVG 15:14 · LAX 23:14 · JFK 02:14
    ♥ Do have faith in what you're doing.