Advanced Python Programming
By :
Advanced Python Programming
By:
Overview of this book
This 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 products:
• Python High Performance - Second Edition by Gabriele Lanaro
• Mastering Concurrency in Python by Quan Nguyen
• Mastering Python Design Patterns by Sakis Kasampalis
Table of Contents (41 chapters)
Title Page
Copyright
About Packt
Contributors
Preface
Free Chapter
Benchmarking and Profiling
Pure Python Optimizations
Fast Array Operations with NumPy and Pandas
C Performance with Cython
Exploring Compilers
Implementing Concurrency
Parallel Processing
Advanced Introduction to Concurrent and Parallel Programming
Amdahl's Law
Working with Threads in Python
Using the with Statement in Threads
Concurrent Web Requests
Working with Processes in Python
Reduction Operators in Processes
Concurrent Image Processing
Introduction to Asynchronous Programming
Implementing Asynchronous Programming in Python
Building Communication Channels with asyncio
Deadlocks
Starvation
Race Conditions
The Global Interpreter Lock
The Factory Pattern
The Builder Pattern
Other Creational Patterns
The Adapter Pattern
The Decorator Pattern
The Bridge Pattern
The Facade Pattern
Other Structural Patterns
The Chain of Responsibility Pattern
The Command Pattern
The Observer Pattern
Appendix
Other Books You May Enjoy
Index
Customer Reviews