Advanced Python Programming: Accelerate your Python programs using proven techniques and design patterns, 2nd Edition

0
(0)

Advanced Python Programming: Accelerate your Python programs using proven techniques and design patterns, 2nd Edition
 

  • Author:Quan Nguyen
  • Length: 606 pages
  • Edition: 2
  • Publisher: Packt Publishing
  • Publication Date: 2022-03-25
  • ISBN-10: 1801814015
  • ISBN-13: 9781801814010
  • Sales Rank: #825957 (See Top 100 Books)
  • Download:Register/Login to Download
  • Buy Print:Buy from amazon


    Book Description

    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.

    中文:

    书名:Advanced Python Programming: Accelerate your Python programs using proven techniques and design patterns, 2nd Edition

    使用Python的内部优化、最先进的性能基准测试工具和尖端的库来编写快速、健壮且高度可重用的应用程序

    Key Features

    • 使用优化工具对Python程序进行基准测试、分析和加速
    • 通过并发编程将应用程序扩展到多个处理器
    • 使用有效的设计模式使应用程序健壮且可重用

    Book Description

    Python实现健壮高效程序的强大能力使其成为最受欢迎的编程语言之一。

    在这本书中,您将探索能够提高性能并使您的Python程序更上一层楼的工具。

    本书首先研究了在开发周期中简化任务的内置库和外部库,如基准测试、性能分析和优化。然后,您将掌握如何使用专用库和编译器等专用工具来提高您在数字处理任务中的性能,包括训练机器学习模型。

    这本书涵盖了并发性,这是使程序更有效和更具伸缩性的主要解决方案,以及各种并发编程技术,如多线程、多处理和异步编程。

    您还将了解在并发程序中导致不良行为的常见问题。

    最后,您将使用广泛的设计模式,包括创建模式、结构模式和行为模式,这些模式使您能够处理复杂的设计和体系结构挑战,使您的程序更健壮、更易于维护。

    在本书结束时,您将接触到大量的Python高级功能,并掌握将它们应用于您的用例所需的实践知识。

    What you will learn

    • Write efficient numerical code with NumPy, pandas, and Xarray
    • 使用Cython和Numba实现原生性能
    • 使用探查器查找您的Python代码中的瓶颈
    • 使用JAX优化您的机器学习模型
    • 实现多线程、多处理和异步程序
    • 解决并发编程中的常见问题,如死锁
    • 使用设计模式应对体系结构挑战

    这本书是为谁而写的

    这本书是为希望以系统和健壮的方式扩展他们的应用程序的中级到有经验的Python程序员编写的。来自不同背景的程序员会发现这本书很有用,包括软件工程师、科学程序员和软件架构师。

  • 下载电子版:下载地址
  • 购买纸质版:亚马逊商城

    点击星号评分!

    平均分 0 / 5. 投票数: 0

    还没有投票!请为他投一票。

  • 推荐阅读

    评论 抢沙发

    评论前必须登录!

     

    登录

    找回密码

    注册