BOOKS - Advanced Python Programming: Build high performance, concurrent, and multi-th...
US $9.79
499302
499302
Advanced Python Programming: Build high performance, concurrent, and multi-threaded apps with Python using proven design patterns
Author: Dr. Gabriele Lanaro
Year: February 28, 2019
Format: PDF
File size: PDF 14 MB
Language: English
Year: February 28, 2019
Format: PDF
File size: PDF 14 MB
Language: English
Create distributed applications with clever design patterns to solve complex problemsKey FeaturesSet up and run distributed algorithms on a cluster using Dask and PySparkMaster skills to accurately implement concurrency in your codeGain practical experience of Python design patterns with real-world examplesBook DescriptionThis Learning Path shows you how to leverage the power of both native and third-party Python libraries for building robust and responsive applications. You will learn about profilers and reactive programming, concurrency and parallelism, as well as tools for making your apps quick and efficient. You will discover how to write code for parallel architectures using TensorFlow and Theano, and use a cluster of computers for large-scale computations using technologies such as Dask and PySpark. With the knowledge of how Python design patterns work, you will be able to clone objects, secure interfaces, dynamically choose algorithms, and accomplish much more in high performance computing.By the end of this Learning Path, you will have the skills and confidence to build engaging models that quickly offer efficient solutions to your problems.This Learning Path includes content from the following Packt Python High Performance - Second Edition by Gabriele LanaroMastering Concurrency in Python by Quan NguyenMastering Python Design Patterns by Sakis KasampalisWhat you will learnUse NumPy and pandas to import and manipulate datasetsAchieve native performance with Cython and NumbaWrite asynchronous code using asyncio and RxPyDesign highly scalable programs with application scaffoldingExplore abstract methods to maintain data consistencyClone objects using the prototype patternUse the adapter pattern to make incompatible interfaces compatibleEmploy the strategy pattern to dynamically choose an algorithmWho this book is forThis Learning Path is specially designed for Python developers who want to build high-performance applications and learn about single core and multi-core programming, distributed concurrency, and Python design patterns. Some experience with Python programming language will help you get the most out of this Learning Path.Table of ContentsBenchmarking and ProfilingPure Python OptimizationsFast Array Operations with NumPy and Pandas C Performance with CythonExploring CompilersImplementing Concurrency Parallel ProcessingAdvanced Introduction to Concurrent and Parallel ProgrammingAmdahl's LawWorking with Threads in PythonUsing the with Statement in ThreadsConcurrent Web RequestsWorking with Processes in PythonReduction Operators in ProcessesConcurrent Image ProcessingIntroduction to Asynchronous ProgrammingImplementing Asynchronous Programming in PythonBuilding Communication Channels with asyncioDeadlocksStarvationRace ConditionsThe Global Interpreter Lock The Factory PatternThe Builder PatternOther Creational Patte