High Performance Python: Practical Performant Programming for Humans

Micha Gorelick

Book cover for High Performance Python: Practical Performant Programming for Humans
Book cover for High Performance Python: Practical Performant Programming for Humans

High Performance Python: Practical Performant Programming for Humans

High Performance Python: Practical Performant Programming for Humans

Micha Gorelick

Member Benefits

  • 30% Off All Books - Savings that support storytellers, not stock prices.
  • Fight Book Bans - Every membership sends a book to LGBTQ+ youth in affected states.
Member Book Price
$65.99 $46.19
Non-Member Book Price $65.99

An annual membership will be billed at $48/year.

Discount applies to first-time members only. Already a member? Log in here.

View full details

Description

Your Python code may run correctly, but what if you need it to run faster? This practical book shows you how to locate performance bottlenecks and significantly speed up your code in high-data-volume programs. By explaining the fundamental theory behind design choices, this expanded edition of High Performance Python helps experienced Python programmers gain a deeper understanding of Python's implementation.

How do you take advantage of multicore architectures or clusters? Or build a system that scales up and down without losing reliability? Authors Micha Gorelick and Ian Ozsvald reveal concrete solutions to many issues and include war stories from companies that use high-performance Python for social media analytics, productionized machine learning, and more.

  • Get a better grasp of NumPy, Cython, and profilers
  • Learn how Python abstracts the underlying computer architecture
  • Use profiling to find bottlenecks in CPU time and memory usage
  • Write efficient programs by choosing appropriate data structures
  • Speed up matrix and vector computations
  • Process DataFrames quickly with pandas, Dask, and Polars
  • Speed up your neural networks and GPU computations
  • Use tools to compile Python down to machine code
  • Manage multiple I/O and computational operations concurrently
  • Convert multiprocessing code to run on local or remote clusters
  • Deploy code faster using tools like Docker

Publishing Information

Publisher: O'Reilly Media
Pub date: 2025-06-03
Length: 521 pages

The Allstora Membership

Membership Perks:

  • Save 30% on all online store purchases
  • Exclusive access to author's content
  • You pay less, but authors still earn double

Membership Terms:

First Month: $0.00
Monthly price: $5.00
  • To access membership discount simply log in and add to cart, discount applied automatically.
  • One month free trial, cancel anytime. Membership renews on the 15th of each month.