
As an Amazon Associate and affiliate partner, Menrva Books earns from qualifying purchases. Learn more
Write fast, robust, and highly reusable applications using Python's internal optimization, state-of-the-art performance-benchmarking tools, and cutting-edge libraries 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 Book Description: 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. What You Will Learn: Write efficient numerical code with NumPy, pandas, and Xarray
This book investigates how to accelerate Python programs using optimization techniques, concurrent programming, and design patterns to create fast, robust, and reusable applications. The author, Quan Nguyen, draws upon Python's internal optimizations, performance-benchmarking tools, and cutting-edge libraries to present a comprehensive guide. It details the use of specialized tools and compilers for number-crunching tasks, explores concurrency models like multithreading and multiprocessing, and addresses common issues in concurrent programming. The book concludes by examining creational, structural, and behavioral design patterns to enhance program robustness and maintainability.
The book is positioned as a practical guide for developers seeking to enhance Python program performance and scalability. Its focus on optimization tools, concurrent programming, and design patterns suggests it is aimed at intermediate to advanced Python users. The inclusion of specific libraries like NumPy and pandas indicates a strong emphasis on data-intensive applications and scientific computing. The structured approach, moving from optimization to concurrency and finally to design patterns, implies a logical progression for readers looking to deepen their understanding of advanced Python development.
Page Count:
606
Publication Date:
2022-01-01
Publisher:
Packt Publishing
ISBN-10:
1801814015
ISBN-13:
9781801814010
No comments yet. Be the first to share your thoughts!