V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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 · 2017-01-06 16:21:07 +08:00 · 2014 次点击
    这是一个创建于 2680 天前的主题,其中的信息可能已经有所发展或是发生改变。

    如题。

    3 条回复    2017-01-09 10:25:56 +08:00
    jason0916
        1
    jason0916  
       2017-01-06 18:42:53 +08:00
    我倒是没用过 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
       2017-01-09 09:29:10 +08:00
    @jason0916 谢了,发现 aiohttp 也是完全可以组成类似于 flask 的 blueprint 的形式。
    jason0916
        3
    jason0916  
       2017-01-09 10:25:56 +08:00
    @strahe 恩恩
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   4348 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 10:13 · PVG 18:13 · LAX 03:13 · JFK 06:13
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.