
As an Amazon Associate and affiliate partner, Menrva Books earns from qualifying purchases. Learn more
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 • Use Cython and Numba to achieve native performance • Find bottlenecks in your Python code using profilers • Optimize your machine learning models with
This book investigates how to write fast, robust, and highly reusable applications using Python. It explores built-in and external libraries for benchmarking, profiling, and optimizing Python code, and delves into specialized tools like compilers to enhance numerical tasks, including machine learning model training. The book also covers concurrency techniques such as multithreading, multiprocessing, and asynchronous programming, addressing common issues in concurrent code. Finally, it examines design patterns to create more robust and maintainable programs.
This book is designed for developers looking to enhance their Python programming skills by focusing on performance optimization and robust application design. The content covers advanced techniques, including concurrency and design patterns, suggesting it is aimed at intermediate to advanced Python users. The emphasis on practical application through specific libraries like NumPy and tools like Cython indicates a hands-on approach to learning. It appears to be a technical guide intended to equip readers with the knowledge to build more efficient and maintainable Python software.
Page Count:
606
Publication Date:
2022-03-25
Publisher:
Packt Publishing
ISBN-10:
1801817774
ISBN-13:
9781801817776
No comments yet. Be the first to share your thoughts!