值得看的python的开源项目有哪些?

好的开源项目对大家学习会有很大帮助,希望大家推荐下适合python学习的好的开源项目,尽量本身不是太庞大,而且结构清晰回复内容:
pocoo 家出的都是精品,比如 flask, werkzeug, jinja 2 , pygments, sphinx 。flask 号称微框架,0.1的代码才700来行(其中大部分都是注释) 而且代码写得很规范,非常适合学习。django为了做到功能完备代码必然庞大而复杂不建议单纯的阅读。
flask; requests (python http requests for humans)看看requests吧, github上排名很高。
kenneth reitz的作品值得一看。他就是requests的作者。kennethreitz (kenneth reitz) · githubkenneth reitz
tornado,不只是web/框架/server怎么实现,还有底层的异步/非阻塞/eventloop/epoll等等相关的概念,非常值得深入理解
先把标准库读一遍?
olivier grisel在github上的reposogrisel (olivier grisel) · github
我自己的感觉. 很多..当你用某个第三方库的时候. 遇到bug并且能够确定你的代码逻辑上没问题之后. 你就会去看哪个第三方库的源码了…
tornado, 代码很简洁, 从低层的io到模板处理都有, 有兴趣参考: 阅读tornado v 1.0.0笔记.
http://odoo.com开源erp 也是装机最多的erphttp://openstack.org开源云osazure aws joyent gce之外的用的云os多是这个
reading great codereading great code

one of the core tenants behind the design of python is creating readable code. the motivation behind this design is simple: the number one thing that python programmers do is read code.

one of the secrets of becoming a great python programmer is to read, understand, and comprehend excellent code.

excellent code typically follows the guidelines outlined in code style, and does its best to express a clear and concise intent to the reader.

included below is a list of recommended python projects for reading. each one of these projects is a paragon of python coding.

howdoi howdoi is a code search tool, written in python.flask flask is a microframework for python based on werkzeug and jinja2. it’s intended for getting started very quickly and was developed with best intentions in mind.diamond diamond is a python daemon that collects metrics and publishes them to graphite or other backends. it is capable of collecting cpu, memory, network, i/o, load and disk metrics. additionally, it features an api for implementing custom collectors for gathering metrics from almost any source.werkzeug werkzeug started as simple collection of various utilities for wsgi applications and has become one of the most advanced wsgi utility modules. it includes a powerful debugger, full-featured request and response objects, http utilities to handle entity tags, cache control headers, http dates, cookie handling, file uploads, a powerful url routing system and a bunch of community-contributed addon modules.requests requests is an apache2 licensed http library, written in python, for human beings.tablib tablib is a format-agnostic tabular dataset library, written in python.

Posted in 未分类

发表评论