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
yven
V2EX  ›  Python

Python 有什么值得看的开源项目

  •  
  •   yven · 2020-12-09 16:39:46 +08:00 · 3076 次点击
    这是一个创建于 1242 天前的主题,其中的信息可能已经有所发展或是发生改变。
    9 条回复    2020-12-10 06:10:02 +08:00
    llsquaer
        1
    llsquaer  
       2020-12-09 17:06:56 +08:00
    requests
    flask + jinja2

    我觉得 暂时这两个吧.我也才开始学不久..
    第一,这两个代码量不大, 第二 日常需要使用 ,第三,纯 python
    有兴趣在去看看 bs4

    梳理完很多东西就明白了.
    johnsona
        2
    johnsona  
       2020-12-09 17:16:49 +08:00
    哪方面
    linvaux
        3
    linvaux  
       2020-12-09 17:25:03 +08:00 via iPhone
    看个人能力,能力强就去看 python 源码,能力一般就去看你现在正在用的库的源码,别挑食,尤其是在自己比较菜的情况下,共勉
    abersheeran
        4
    abersheeran  
       2020-12-09 17:27:36 +08:00
    starlette 和 bottle,web 框架强烈推荐看这两。特别是 starlette,代码非常简单有效。
    wuwukai007
        5
    wuwukai007  
       2020-12-09 17:51:32 +08:00
    我觉得 pandas 的源码蛮好的
    TypeError
        6
    TypeError  
       2020-12-09 18:10:50 +08:00 via Android
    pypy
    asyncio
    celery
    hzjseasea
        7
    hzjseasea  
       2020-12-09 18:14:01 +08:00
    requests
    est
        8
    est  
       2020-12-09 18:54:32 +08:00
    django
    Kobayashi
        9
    Kobayashi  
       2020-12-10 06:10:02 +08:00 via Android
    @llsquaer 我听说的是不推荐研究 Jinja 。模板替换听起来简单,好像实现起来比较繁琐。

    给楼主建议是不要着急研究 Python 源码,研究编译器对你的业务能力没有任何好处。

    web 框架的话还是 flask 优先,bottle 的话没有像 flask 一样把一些更基础的类(如 Request,Response,Cookie )实现分离到一个工具库中。我个人觉得可以在 flask 之后再配合 werkzeug 看看 bottle 。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2209 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 02:01 · PVG 10:01 · LAX 19:01 · JFK 22:01
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.