Reading Great Code

image

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.

Here is a list of recommended Python projects for reading. Each one is a paragon of Python coding.

  • Howdoi — a code search tool written in Python.
  • Flask — a microframework for Python based on Werkzeug and Jinja2.
  • Requests — an Apache2 Licensed HTTP library for human beings.
  • Tablib — a format-agnostic tabular dataset library.
  • httpx — a next-generation HTTP client for Python.
  • Rich — a library for rich text and beautiful formatting in the terminal.
  • Pydantic — data validation using Python type hints.