Advanced Python Programming: Build high performance, concurrent, and multi-threaded apps with Python using proven design patterns (English Edition)

Advanced Python Programming: Build high performance, concurrent, and multi-threaded apps with Python using proven design patterns (English Edition)

作者
Dr. Gabriele Lanaro、Quan Nguyen、Sakis Kasampalis
语言
英语
出版社
Packt Publishing
出版日期
2019年2月28日
纸书页数
953页
电子书格式
epub,pdf,mobi,azw3,txt,fb2,djvu
文件大小
17744 KB
下载次数
3724
更新日期
2023-07-14
运行环境
PC/Windows/Linux/Mac/IOS/iPhone/iPad/iBooks/Kindle/Android/安卓/平板
内容简介

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

Advanced Python Programming: Build high performance, concurrent, and multi-threaded apps with Python using proven design patterns (English Edition) EPUB, PDF, MOBI, AZW3, TXT, FB2, DjVu, Kindle电子书免费下载。

《Advanced Python Programming: Build high performance, concurrent, and multi-threaded apps with Python using proven design patterns (English Edition)》电子书免费下载

epub下载 pdf下载 mobi下载 azw3下载 txt下载 fb2下载 djvu下载

猜你喜欢