Jump to ratings and reviews
Rate this book

Modern Python Standard Library Cookbook: Over 100 recipes to fully leverage the features of the standard library in Python

Rate this book

Build optimized applications in Python by learning how to smartly implement the standard libraries

Key Features Strategic recipes for effective Python development using the standard libraries Cutting edge techniques to yield high performance from applications Best practices for developing readily scalable production-ready applications Book Description

Python 3's Standard Library is an ocean of modules that developers can use for various kinds of application development. Given the exhaustive list of libraries, how do you choose the best one to solve your programming needs? This book will show you how you can address specific programming problems in Python using the standard libraries effectively.

The book begins with recipes on containers and data structures and how to perform effective text management in Python. You will find recipes for command line operations, networking, file systems and directories, and concurrent execution. You will learn about security essentials in Python and various development tools for debugging, benchmarking, inspection, error reporting, code evacuation, and tracing. The book covers recipes on graphical user interfaces, multimedia, date and time, and mathematical functions and algorithms.

By the end of the book you will have acquired the skills to write clean codes in Python that meets your team's expectations.

What you will learn Store multiple values per key in associative containers Create interactive character based user interfaces Working with native time and displaying data according to your timezone Read/write SGML family languages, both as a SAX and DOM parser to suite various needs and file sizes Group equivalent items using Itertools and sorted features together Use partials to create unary functions out of multi-arguments functions Implement hashing algorithms to store passwords in a safe way Who This Book Is For

This book is well suited for a developer who wants to write highly responsive, manageable, scalable, and resilient code in Python. Prior programming knowledge in Python is expected to make the most out of the book.

About the Author

Alessandro Molina is a Python developer since 2001, who has always been interested in Python as a Web Development Platform. He worked as CTO and team leader of Python teams for the past 10 years and is currently core developer of the TurboGears2 web framework and maintainer of Beaker Caching/Session framework. He has authored the DEPOT file storage framework and the DukPy JavaScript interpreter for Python and collaborated with various Python projects related to web development, such as FormEncode, ToscaWidgets, and the Ming MongoDB ORM.

366 pages, Kindle Edition

Published August 31, 2018

16 people are currently reading
44 people want to read

About the author

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
8 (57%)
4 stars
5 (35%)
3 stars
0 (0%)
2 stars
1 (7%)
1 star
0 (0%)
Displaying 1 - 2 of 2 reviews
67 reviews1 follower
March 1, 2019
Excellent cookbook with great tips and recipes for common problems.
Profile Image for Vlad Bezden.
237 reviews14 followers
April 17, 2020
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 book also follows and teaches the proper Pythonic way of writing code.
This book covers Python 3.6, and I wish Alessandro Molina updated this book with new Python libraries.
Displaying 1 - 2 of 2 reviews

Can't find what you're looking for?

Get help and learn more about the design.