Modern Python Standard Library Cookbook

The Python 3 Standard Library is a vast array of modules that you can use for developing various kinds of applications. It contains an exhaustive list of libraries, and this book will help you choose the best one to address specific programming problems in Python.

The book tries to cover the tips, tricks and hidden gems of the Python language standard library that are not always obvious by looking at the Library documentation itself and tries to provide ready made recipes that you can use in your projects to leverage the standard library at its maximum.

From Alessandro Molina, the author of Crafting Test-Driven Software with Python

Reviews & Testimonials

There's so much power available in the standard library I had no idea, I really like the idea of using the tools that are delivered before jumping right into another outside module. I enjoy the "recipes" because it conveys the idea and discussion in a somewhat small space so you can pace out the lessons and learn a lot in a small period of time.

It's a great book. I can only compare this book to "Effective Python: 90 Specific Ways to Write Better Python". I thought I know Python well. Well, after reading this book, I realized that I was mistaken.

This book covers the hidden gems of Python standard library. In many cases, I was using third party libraries instead of using just regular standard libraries.

This is a good book by Alessandro Molina. He have used his 15+ years of experience to design and layout all the chapters of the book carefully.

The book covers recipes and wide aspects of the language from simple day to day stuffs like containers, data structures, file system, date & time, read &write to some advanced topics like cryptography, concurrency, networking etc.

What's inside?

  1. Containers & Data Structures

  2. Text Management

  3. Command Line

  4. File System and Directories

  5. Date and Time

  6. Reading Write Data

  7. Algorithms

  8. Cryptography

  9. Concurrency

  10. Networking

  11. Web Development

  12. Multimedia

  13. Graphical User Interfaces

  14. Development Tools

Articles and Mentions

How to get automatic reports of any crash your users face from your python applications using only the standard library modules.

Functions that the Python Standard Library provide for securely hashing and verifying passwords in your applications.

In this episode of TalkPythonToMe podcast the python standard library and the book are discussed with Michael Kennedy

Python Resources

Official Documentation of the Python Standard Library

Series of articles written by Doug Hellmann to demonstrate how to use the modules of the Python 3 standard library.

Curated list of great Python libraries and frameworks originally made by Vinta Chen but collaboratively edited.