Advanced Python Programming.

Python's powerful capabilities for implementing robust and efficient programs make it one of the most sought-after programming languages.
In this book, you'll explore the tools that allow you to improve performance and take your Python programs to the next level.
This book starts by examining the built-in as well as external libraries that streamline tasks in the development cycle, such as benchmarking, profiling, and optimizing. You'll then get to grips with using specialized tools such as dedicated libraries and compilers to increase your performance at number-crunching tasks, including training machine learning models.
The book covers concurrency, a major solution to making programs more efficient and scalable, and various concurrent programming techniques such as multithreading, multiprocessing, and asynchronous programming.
You'll also understand the common problems that cause undesirable behavior in concurrent programs.
Finally, you'll work with a wide range of design patterns, including creational, structural, and behavioral patterns that enable you to tackle complex design and architecture challenges, making your programs more robust and maintainable.
By the end of the book, you'll be exposed to a wide range of advanced functionalities in Python and be equipped with the practical knowledge needed to apply them to your use cases.

Type
ebook
Category
publication date
2022-03-25
what you will learn

Write efficient numerical code with NumPy, pandas, and Xarray
Use Cython and Numba to achieve native performance
Find bottlenecks in your Python code using profilers
Optimize your machine learning models with JAX
Implement multithreaded, multiprocessing, and asynchronous programs
Solve common problems in concurrent programming, such as deadlocks
Tackle architecture challenges with design patterns

no of pages
606
duration
1212
key features
Benchmark, profile, and accelerate Python programs using optimization tools * Scale applications to multiple processors with concurrent programming * Make applications robust and reusable using effective design patterns
approach
Each concept in the book is covered on a high level and followed and step-by-step explanations and practical code examples. Each chapter also includes self-assessment questions that will help you absorb the materials more robustly.
audience
This book is for intermediate to experienced Python programmers who are looking to scale up their applications in a systematic and robust manner. Programmers from a range of backgrounds will find this book useful, including software engineers, scientific programmers, and software architects.
meta description
Write fast, robust, and highly reusable applications using Python's internal optimization, state-of-the-art performance-benchmarking tools, and cutting-edge libraries
short description
Python comes with a plethora of tools that enable you to create high-performance and robust programs. This book will help you explore these tools to take your programs to the next level by introducing a myriad of advanced functionalities and providing practical knowledge of how to apply them to your own use cases.
subtitle
Accelerate your Python programs using proven techniques and design patterns
keywords
Programming Python, Python programming language, benchmark, profiling, optimization, NumPy, Pandas, Xarray, JAX, machine learning, parallel programming, concurrent programming, design pattern
Product ISBN
9781801814010