Book description
Create distributed applications with clever design patterns to solve complex problems
Key Features
- Set up and run distributed algorithms on a cluster using Dask and PySpark
- Master skills to accurately implement concurrency in your code
- Gain practical experience of Python design patterns with real-world examples
Book Description
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
What you will learn
- Use NumPy and pandas to import and manipulate datasets
- Achieve native performance with Cython and Numba
- Write asynchronous code using asyncio and RxPy
- Design highly scalable programs with application scaffolding
- Explore abstract methods to maintain data consistency
- Clone objects using the prototype pattern
- Use the adapter pattern to make incompatible interfaces compatible
- Employ the strategy pattern to dynamically choose an algorithm
Who this book is for
This 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 contents
- Title Page
- Copyright
- About Packt
- Contributors
- Preface
- 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
Product information
- Title: Advanced Python Programming
- Author(s):
- Release date: February 2019
- Publisher(s): Packt Publishing
- ISBN: 9781838551216
You might also like
book
Advanced Python Programming - Second Edition
Write fast, robust, and highly reusable applications using Python's internal optimization, state-of-the-art performance-benchmarking tools, and cutting-edge …
video
Python Programming Language
6+ Hours of Video Instruction Python Programming Language LiveLessons provides developers with a guided tour of …
book
Expert Python Programming - Third Edition
Refine your Python programming skills and build professional-grade applications with this comprehensive guide Key Features Create …
book
Expert Python Programming - Fourth Edition
Gain a deep understanding of building, maintaining, packaging, and shipping robust Python applications Key Features Discover …