Advanced Python Programming: Accelerate your Python programs using proven techniques and design patterns, 2nd Edition
Language: English
Published by Packt Publishing, 2022
- Softcover
- Used

Seller: Goodbooks Company, Springdale, AR, U.S.A.Goodbooks Company
AbeBooks seller since April 20, 2023
Condition: Used - Good
£ 26.41
Quantity: 1 available
Add to basketItem description from seller
Has a sturdy binding with some shelf wear. May have some markings or highlighting. Used copies may not include access codes or Cd's. Slight bending may be present.
Seller Inventory # GBV.1801814015.G
- Title
- Advanced Python Programming: Accelerate your Python programs using proven techniques and design patterns, 2nd Edition
- Author
- Quan Nguyen
- Publisher
- Packt Publishing
- Publication year
- 2022
- Condition
- good
- Binding
- Soft cover
- Language
- English
- ISBN 10
- 1801814015
- ISBN 13
- 9781801814010
- Edition
- 2nd Edition
Write fast, robust, and highly reusable applications using Python’s internal optimization, state-of-the-art performance-benchmarking tools, and cutting-edge libraries
Key Features
- Benchmark, profile, and accelerate Python programs using optimization tools
- Scale applications to multiple processors with concurrent programming
- Make applications robust and reusable using effective design patterns
Book Description
Python's powerful capabilities for implementing robust and efficient programs make it one of the most sought-after programming languages.
In this book, you'll explore the tools that allow you to improve performance and take your Python programs to the next level.
This book starts by examining the built-in as well as external libraries that streamline tasks in the development cycle, such as benchmarking, profiling, and optimizing. You'll then get to grips with using specialized tools such as dedicated libraries and compilers to increase your performance at number-crunching tasks, including training machine learning models.
The book covers concurrency, a major solution to making programs more efficient and scalable, and various concurrent programming techniques such as multithreading, multiprocessing, and asynchronous programming.
You'll also understand the common problems that cause undesirable behavior in concurrent programs.
Finally, you'll work with a wide range of design patterns, including creational, structural, and behavioral patterns that enable you to tackle complex design and architecture challenges, making your programs more robust and maintainable.
By the end of the book, you'll be exposed to a wide range of advanced functionalities in Python and be equipped with the practical knowledge needed to apply them to your use cases.
What you will learn
- Write efficient numerical code with NumPy, pandas, and Xarray
- Use Cython and Numba to achieve native performance
- Find bottlenecks in your Python code using profilers
- Optimize your machine learning models with JAX
- Implement multithreaded, multiprocessing, and asynchronous programs
- Solve common problems in concurrent programming, such as deadlocks
- Tackle architecture challenges with design patterns
Who this book is for
This book is for intermediate to experienced Python programmers who are looking to scale up their applications in a systematic and robust manner. Programmers from a range of backgrounds will find this book useful, including software engineers, scientific programmers, and software architects.
Table of Contents
- Benchmarking and Profiling
- Pure Python Optimizations
- Fast Array Operations with NumPy and Pandas
- C Performance with Cython
- Exploring Compilers
- Automatic Differentiation and Accelerated Linear Algebra for Machine Learning
- Implementing Concurrency
- Parallel Processing
- Concurrent Web Requests
- Concurrent Image Processing
- 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 Façade Pattern
- Other Structural Patterns
- The Chain of Responsibility Pattern
- The Command Pattern
- The Observer Pattern
"Synopsis" may belong to another edition of this title.
About the Author
"About the title" may belong to another edition of this title.
Goodbooks Company
Springdale, AR, U.S.A.
AbeBooks seller since April 20, 2023
Shipping rates within U.S.A.
| Item | 3 to 6 business days | 5 to 14 business days |
|---|---|---|
| First item | £ 3.76 | £ 3.76 |
Payment methods
Store description
We are a family owned book company that wants you to enjoy your books!
Specialty
thrift and textbooksSeller's business information
Good Books Company LLC
5374 Hailey Avenue Suites A-B
Springdale, AR U.S.A. 72762
Right of withdrawal
If you are a consumer you can withdraw from the contract in accordance with the following. Consumer means any natural person who is acting for purposes which are outside his trade, business, craft or profession.
Information regarding the right of withdrawal
Statutory right to withdraw
You have the right to withdraw from this contract within 14 days without giving any reason.
The withdrawal period will expire after 14 days from the day on which you acquire, or a third party other than the carrier and indicated by you acquires, physical possession of the last good or the last lot or piece.
To exercise the right of withdrawal, electronically fill in and submit a clear statement on our website, under "My Purchases" in "My Account". We will communicate to you an acknowledgement of receipt of such a withdrawal on a durable medium (e.g. by e-mail) without delay.
To meet the withdrawal deadline, it is sufficient for you to send your communication concerning your exercise of the right of withdrawal before the withdrawal period has expired.
Effects of withdrawal
If you withdraw from this contract, we will reimburse to you all payments received from you, including the costs of delivery (except for the supplementary costs arising if you chose a type of delivery other than the least expensive type of standard delivery offered by us).
We may make a deduction from the reimbursement for loss in value of any goods supplied, if the loss is the result of unnecessary handling by you.
We will make the reimbursement without undue delay, and not later than 14 days after the day on which we are informed about your decision to withdraw from this contract.
We will make the reimbursement using the same means of payment as you used for the initial transaction, unless you have expressly agreed otherwise; in any event, you will not incur any fees as a result of such reimbursement.
We may withhold reimbursement until we have received the goods back, or you have supplied evidence of having sent back the goods, whichever is the earliest.
You shall send back the goods or hand them over to Goodbooks Company, Springdale, Arkansas, U.S.A., without undue delay and in any event not later than 14 days from the day on which you communicate your withdrawal from this contract to us. The deadline is met if you send back the goods before the period of 14 days has expired. You will have to bear the direct cost of returning the goods. You are only liable for any diminished value of the goods resulting from the handling other than what is necessary to establish the nature, characteristics and functioning of the goods.
Exceptions to the right of withdrawal
The right of withdrawal does not apply to:
- The delivery of newspapers, journals or magazines with the exception of subscription contracts; and
- The supply of digital content which is not supplied on a tangible medium (e.g. on a CD or DVD) if you accepted when you placed your order that we could start to deliver it, and that you could not withdraw once delivery had started.