Advanced Python Programming

Advanced Python Programming
  • eBook:
    Advanced Python Programming: Build high performance, concurrent, and multi-threaded apps with Python using proven design patterns
  • Author:
    Dr. Gabriele Lanaro, Quan Nguyen, Sakis Kasampalis
  • Edition:
  • Categories:
  • Data:
  • ISBN:
  • ISBN-13:
  • Language:
  • Pages:
  • Format:

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.


Chapter 1: Benchmarking and Profiling
Chapter 2: Pure Python Optimizations
Chapter 3: Fast Array Operations with NumPy and Pandas
Chapter 4: C Performance with Cython
Chapter 5: Exploring Compilers
Chapter 6: Implementing Concurrency
Chapter 7: Parallel Processing
Chapter 8: Advanced Introduction to Concurrent and Parallel Programming
Chapter 9: Amdahl's Law
Chapter 10: Working with Threads in Python
Chapter 11: Using the with Statement in Threads
Chapter 12: Concurrent Web Requests
Chapter 13: Working with Processes in Python
Chapter 14: Reduction Operators in Processes
Chapter 15: Concurrent Image Processing
Chapter 16: Introduction to Asynchronous Programming
Chapter 17: Implementing Asynchronous Programming in Python
Chapter 18: Building Communication Channels with asyncio
Chapter 19: Deadlocks
Chapter 20: Starvation
Chapter 21: Race Conditions
Chapter 22: The Global Interpreter Lock
Chapter 23: The Factory Pattern
Chapter 24: The Builder Pattern
Chapter 25: Other Creational Patterns
Chapter 26: The Adapter Pattern
Chapter 27: The Decorator Pattern
Chapter 28: The Bridge Pattern
Chapter 29: The Facade Pattern
Chapter 30: Other Structural Patterns
Chapter 31: The Chain of Responsibility Pattern
Chapter 32: The Command Pattern
Chapter 33: The Observer Pattern

Download Advanced Python Programming: Build high performance, concurrent, and multi-threaded apps with Python using proven design patterns PDF or ePUB format free

Free sample

Download in .PDF format

Download in .ePUB format

Add comments
Введите код с картинки:*
Кликните на изображение чтобы обновить код, если он неразборчив
Copyright © 2019