V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
推荐学习书目
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
chochox
V2EX  ›  Python

抽空总结了一些 Python 框架的模板,基于 tornado,目前没有涉及到 orm,都是工作中常见的一些最佳实践,欢迎 PR

  •  
  •   chochox · Sep 27, 2018 · 2414 views
    This topic created in 2770 days ago, the information mentioned may be changed or developed.
    项目地址: https://github.com/smileboywtu/tornado-restful-template
    特性:
    1. uvloop
    2. docker
    3. celery
    4. aioredis
    5. aiomysql
    6. log 日志定制
    7. 定时任务(后台任务)
    8. 参数校验
    9. 单元测试
    10. lint 代码检查
    2 replies    2018-10-14 13:57:43 +08:00
    sww4718168
        1
    sww4718168  
       Sep 27, 2018
    众多支持 Asyncio 的框架中,tornado 大概是性能最渣的一个。
    chochox
        2
    chochox  
    OP
       Oct 14, 2018
    @sww4718168 比如说?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5675 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 47ms · UTC 06:04 · PVG 14:04 · LAX 23:04 · JFK 02:04
    ♥ Do have faith in what you're doing.