Just tell me how to do it! Please!

What are Python PEP's?

[rating: intermediate]

Ever heard of a “Request For Comments” document (RFC)? They are used by the IETF and other standards groups for people to participate in evolving standards.

Python as a language has a similar structure for submitting, debating & accepting proposals from people interested in evolving the Python language itself. The basis of this process are the Python Enhancement Proposals (PEP).

Naturally, PEP-0 is the index of all the PEP’s in “the system”.

Once you start getting beyond the basics of learning Python, then it quickly becomes useful to understand how the language is evolving, & how the community is thinking about potential changes to the language & its ecosystem of libraries & other capabilities.

In practice I’ve found that there’s a handful of PEP’s that are exceptionally useful on a regular basis, or just as background to keep in mind while developing Python applications. The rest are of interest if you really want to dive into some specific aspect of the Python ecosystem & perhaps contribute.

Go for it if that’s your thing!

Here’s my short list of the most useful PEP’s:

  • PEP-8 Style Guide for Python

  • PEP-440 Version Identification & Dependency Specification

  • PEP-503 Simple repository API (for PyPI-like package repositories)

  • PEP-508 Dependency specification for Python Software Packages

A few well known PEPs such as PEP-440 have been migrated out of the PEP system to other formal specifications:

PEP-440 notice

PS What PEP’s have you found have daily use?

Python documentation:

Just a reminder…

You’re probably receiving this email because you subscribed to the Small Batches newsletter.

Don’t want to receive it anymore? Don’t file it to spam, use the unsubscribe link below! 👇

Forwarded this post?

Liked what you read & want more?
Subscribe here!

I'm Russell 🐿️. A long time engineer discovering new life as a first-time solopreneur.

I build software delivery systems using Docker & Python automation that increase speed & reduce errors - saving money & improving profitability.

Reply

or to participate.