High Performance Python
Practical Performant Programming for HumansMicha Gorelick, Ian Ozsvald
- ناشرO'Reilly
- سال انتشار2025
- ویرایش3
- زبانEnglish
- تعداد صفحات521
- شابک9781098165963
1,246,000 تومان – 2,969,000 تومانمحدوده قیمت: 1,246,000 تومان تا 2,969,000 تومان
تحویل اکسپرس
حمل رایگان سفارشات بالای 1 میلیون تومان
پرداخت امن
امکان پرداخت انلاین یا پرداخت حضروی درب منزل
ضمانت اصالت کالا
امکان پرداخت انلاین یا پرداخت حضروی درب منزل
7 روز گارانتی بازگشت وجه
امکان پرداخت انلاین یا پرداخت حضروی درب منزل
👌 اگر کد پایتون شما درست اجرا میشود، اما نیاز دارید سریعتر اجرا شود، چه باید کرد؟
این کتاب کاربردی به شما نشان میدهد چگونه گلوگاههای عملکردی (Performance Bottlenecks) را شناسایی کنید و کد خود را در برنامههایی با حجم داده بالا بهطور چشمگیری سریعتر کنید. با توضیح نظریهی بنیادین پشت انتخابهای طراحی، ویرایش توسعهیافتهی High Performance Python به برنامهنویسان باتجربه کمک میکند درک عمیقتری از پیادهسازی پایتون به دست آورند.
⚡ چگونه از معماریهای چندهستهای (Multicore) یا کامپایلکردن بهره ببریم؟
یا سیستمی بسازیم که فراتر از محدودیت RAM عمل کند یا حتی با GPU اجرا شود؟ نویسندگان Micha Gorelick و Ian Ozsvald راهحلهای عملی برای بسیاری از این چالشها ارائه میدهند و تجربههای واقعی شرکتهایی را نقل میکنند که از پایتون پرفورمنس بالا برای استخراج دادههای GenAI، یادگیری ماشینی در سطح تولید (Productionized ML) و موارد دیگر استفاده کردهاند.
📊 آنچه در این کتاب یاد میگیرید:
📈 تسلط بیشتر بر NumPy، Cython و ابزارهای Profiler
🖥️ درک اینکه پایتون چگونه معماری سختافزار زیرین را انتزاع میکند
⏱️ استفاده از پروفایلینگ برای یافتن گلوگاههای زمانی CPU و مصرف حافظه
🗂️ نوشتن برنامههای بهینه با انتخاب ساختار دادهی مناسب
➗ شتابدادن به محاسبات ماتریسی و برداری
📑 پردازش سریعتر DataFrameها با Pandas، Dask و Polars
🤖 افزایش سرعت شبکههای عصبی و محاسبات GPU
🛠️ استفاده از ابزارها برای کامپایل پایتون به کد ماشین (Machine Code)
🔀 مدیریت همزمان عملیاتهای I/O و محاسباتی
☁️ تبدیل کد چندپردازشی (Multiprocessing) برای اجرا روی خوشههای محلی یا راهدور
📖 فهرست مطالب
فصل ۱: درک Python با عملکرد بالا (Performant Python)
فصل ۲: پروفایلگیری برای شناسایی گلوگاهها
فصل ۳: لیستها و تاپلها
فصل ۴: دیکشنریها و مجموعهها (Sets)
فصل ۵: ایتراتورها و جنراتورها
فصل ۶: محاسبات ماتریس و بردار
فصل ۷: Pandas، Dask و Polars
فصل ۸: کامپایل کردن به C
فصل ۹: ورودی/خروجی غیرهمزمان (Asynchronous I/O)
فصل ۱۰: ماژول multiprocessing
فصل ۱۱: خوشهها و صفهای کاری
فصل ۱۲: استفاده کمتر از حافظه RAM
فصل ۱۳: درسهایی از تجربه عملی
👨💻 درباره نویسندگان
👩💼 Micha Gorelick: محقق و مهندس یادگیری ماشین برای The Markup و OCCRP. او یکی از بنیانگذاران شرکت Fast Forward Labs در زمینه یادگیری ماشین کاربردی است و نویسنده کتاب High Performance Python میباشد. او به عنوان محقق اصلی روی پروژههای پیشرفتهای در زمینه شبکههای عصبی برای خلاصهسازی متن، برنامهنویسی احتمالاتی برای تحلیل قیمت مسکن و روشهای مختلف یادگیری ماشین برای روزنامهنگاری فعالیت کرده است.
👨💼 Ian Ozsvald: دانشمند ارشد داده و مربی. او برگزارکننده همایش سالانه PyDataLondon با بیش از ۷۰۰ شرکتکننده و میتآپ ماهانه با بیش از ۱۵,۰۰۰ عضو است. او مؤسسه مشاوره داده Mor Consulting را در لندن مدیریت میکند و بهطور بینالمللی در کنفرانسها سخنرانی میکند، اغلب بهعنوان سخنران اصلی. او ۲۶ سال تجربه به عنوان رهبر ارشد داده، مربی و راهنمای تیم دارد و جامعه رهبری داده RebelAI را در ۲۰۲۳ تأسیس کرده است. او عاشق پیادهروی با سگ Springer Spaniel، موجسواری در سواحل کورنیش و نوشیدن قهوهی با کیفیت است. اطلاعات بیشتر در ianozsvald.com
موجود است.
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 compilation? Or build a system that scales up beyond RAM limits or with a GPU? Authors Micha Gorelick and Ian Ozsvald reveal concrete solutions to many issues and include war stories from companies that use high-performance Python for GenAI data extraction, 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
Table of Contents
Chapter 1. Understanding Performant Python
Chapter 2. Profiling to Find Bottlenecks
Chapter 3. Lists and Tuples
Chapter 4. Dictionaries and Sets
Chapter 5. Iterators and Generators
Chapter 6. Matrix and Vector Computation
Chapter 7. Pandas, Dask, and Polars
Chapter 8. Compiling to C
Chapter 9. Asynchronous 1/0
Chapter 10. The multiprocessing Module
Chapter 11. Clusters and Job Queues
Chapter 12. Using less RAM
Chapter 13. lessons from the Field
About the Authors
Micha Gorelick has worked as a machine learning researcher and engineer for The Markup and OCCRP. She was the co-founder of an applied machine learning company, Fast Forward Labs and authored the book ÂHigh Performance Python. She has worked as the lead researcher on a variety of cutting-edge research projects on topics ranging from neural networks for text summarization, probabilistic programming for understanding housing prices and various machine learning approaches for journalism.
Ian Ozsvald is a chief data Scientist and coach. He co-organizes the annual PyDataLondon conference with 700+ attendees and the associated 15,000+ member monthly meetup. He runs the established Mor Consulting data science consultancy in London and gives conference talks internationally, often as keynote speaker. He has 26 years of experience as a senior data science leader, trainer, and team coach. Noting the absence of advice for senior leaders he established the RebelAI data science leadership community in 2023, having helped many clients at a strategic level since 2015. For fun, he’s walked by his high-energy Springer Spaniel, surfs the Cornish coast, and drinks fine coffee. Past talks and articles can be found at https://ianozsvald.com.
| ناشر | O’Reilly |
|---|---|
| ویرایش | 3 |
| زبان | English |
| سال انتشار | 2025 |
| شابک | 9781098165963 |
| تعداد صفحات | 521 |
| قطع | B5 |
| کیفیت | اورجینال انتشارات |
| نوع چاپ | رنگی, سیاه و سفید |
| نوع جلد | جلد سخت, شومیز, طلقی |
1,246,000 تومان – 2,969,000 تومانمحدوده قیمت: 1,246,000 تومان تا 2,969,000 تومان
محصولات مشابه

نقد و بررسیها
هنوز بررسیای ثبت نشده است.