码迷,mamicode.com
首页 > 其他好文 > 详细

【翻译】阅读优秀的代码

时间:2020-12-08 12:57:34      阅读:11      评论:0      收藏:0      [点我收藏+]

标签:written   project   info   response   mamicode   ISE   产品   load   cto   

【翻译】阅读优秀的代码

技术图片

摄影:产品经理

厨师:kingname
One of the secrets of becoming a great Python programmer is to read, understand, and comprehend excellent code.

阅读、理解优秀的代码是成为优秀Python程序员的秘诀。

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.

下面推荐一些Python项目。它们是Python编码的典范。

Howdoi Howdoi is a code search tool, written in Python.

  • Howdoi Howdoi是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.

  • Flask Flask是基于Werkzeug和Jinja2的Python微框架。让你快速入门,并把精力放在开发上(而不是像Django一样还得学半天框架)。

    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.

  • Diamond Diamond是一个Python守护程序,它收集各种指标并把他们发布给 Graphite或者其他后端。它能够收集CPU、内存、网络、I/O、负载和硬盘指标。另外,它提供了用于实现自定义收集器的API,以便于从几乎任何地方收集数据。

    Werkzeug Werkzeug started as a 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.

  • Werkzeug Werkzeug一开始仅仅是大量的WSGI应用程序集合,现在已经成为了最先进的WSGI实用模块之一。它包含了强大的调试器,功能齐全的请求和响应对象,处理实体标签的HTTP组件,缓存控制头,HTTP日期,cookie处理,文件上传,强大的URL路由系统和大量的社区贡献插件模块。

    Requests Requests is an Apache2 Licensed HTTP library, written in Python, for human beings.

Requests Requests是使用Apache2许可的HTTP库,使用Python编写,供人类使用。
Tablib Tablib is a format-agnostic tabular dataset library, written in Python.

  • Tablib Tablib是未知格式表格数据集库,使用Python开发。
    以上内容翻译自https://docs.python-guide.org/writing/reading/ 作者为Kenneth Reitz. 部分内容为意译。

【翻译】阅读优秀的代码

标签:written   project   info   response   mamicode   ISE   产品   load   cto   

原文地址:https://blog.51cto.com/15023263/2559153

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!