Advanced Python Programming (EPUB)

0
17
Advanced Python Programming (EPUB)
Advanced Python Programming (EPUB) | English | ISBN: 9781838551216 | 672 pages | February 28, 2019 | EPUB | 12.93 MB

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
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

Leave a Reply

avatar
  Subscribe  
Notify of