推荐学习书目
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
strahe
V2EX  ›  Python

使用 aiohttp 写大型项目的目录结构一般是怎样的?

  •  
  •   strahe · Jan 6, 2017 · 2497 views
    This topic created in 3420 days ago, the information mentioned may be changed or developed.

    如题。

    3 replies    2017-01-09 10:25:56 +08:00
    JhZ7z587cYROBgVQ
        1
    JhZ7z587cYROBgVQ  
       Jan 6, 2017
    我倒是没用过 aiohttp 写 web ,找了一下找到了以下几个例子,希望能帮到你~
    [aiohttp_polls]( https://github.com/jettify/aiohttp_polls)
    [pydatacoll]( https://github.com/timercrack/pydatacoll)
    [clang]( https://github.com/Shellu/clang)

    顺带一提,如果你要用到 redis 的话我想安利一发我写的 redis client , api 和 redis-py 相同,但是底部已经重写为异步的了。
    [aredis]( https://github.com/NoneGG/aredis)
    strahe
        2
    strahe  
    OP
       Jan 9, 2017
    @jason0916 谢了,发现 aiohttp 也是完全可以组成类似于 flask 的 blueprint 的形式。
    JhZ7z587cYROBgVQ
        3
    JhZ7z587cYROBgVQ  
       Jan 9, 2017
    @strahe 恩恩
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   4196 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 00:15 · PVG 08:15 · LAX 17:15 · JFK 20:15
    ♥ Do have faith in what you're doing.