Leanpub Header

Skip to main content

Filters

Category: "Python"

Books

  1. Practical Pydantic
    The Missing Guide to Data Validation in Python
    Nuno Bispo

    Bad data breaks good code. You’ve written Python that works perfectly in testing, only to watch it fail in production because of a malformed API request, a messy CSV, or a missing config value. That’s the hidden cost of Python’s flexibility: without runtime validation, you’re always one bad input away from a crash. Enter Pydantic. This book takes you from the foundations of data validation to real-world applications in APIs, data pipelines, configurations, and machine learning workflows. Along the way, you’ll explore practical techniques, advanced features, and alternatives like Marshmallow, attrs, and dataclasses, so you’ll always know which tool is right for the job. If you’re a Python developer, data engineer, or FastAPI user, this is your roadmap to writing safer, cleaner, and more reliable code.

  2. This book provides a guided tour of ML techniques utilized in process industry for plant health management. Step-by-step instructions, supported with industrial-scale process datasets, show how to develop ML-based solutions for equipment condition monitoring, plantwide monitoring, and predictive maintenance solutions. Also available at Google Play 

  3. Generative AI with local LLM
    A comprehensive roadmap for building AI-Driven applications with local LLMs
    Shamim Bhuiyan and Timur Isachenko

    Learn how to build your own AI application step-by-step. A hands-on guide to AI development with local LLM inference

  4. Python's Magic Methods
    Beyond __init__ and __str__
    Nuno Bispo

    This book is a valuable resource for beginners and experienced Python developers, emphasizing that magic methods are not just syntactic sugar, but powerful tools that can significantly improve the functionality and performance of Python code when used correctly.

  5. React to Python
    Creating React Front-End Web Applications with Python
    John Sheehan

    Create responsive front-end web applications in Python using the React and Material-UI JavaScript libraries, without having to program in JavaScript, by using the Transcrypt transpiler that turns your Python code into JavaScript.

  6. Elegant Design Principles
    Foundations of Software Design Mastery
    Narayanan Jayaratchagan

    Elegant Design Principles distils decades of design wisdom into 95 actionable principles spanning core OO, SOLID/GRASP, package design, reliability and a forward‑looking AI‑first approach. Explore the Design Pyramid to understand how quality attributes, smells and principles interconnect; learn to manage complexity through high cohesion, low coupling and clear abstractions; and adopt modern practices like test‑driven development and semantic modularity. From novices seeking a roadmap to experts embracing AI‑assisted workflows, this book equips you to create systems that are robust, maintainable and elegant—today and in the AI‑driven future.

  7. Applied Machine Learning with PyTorch
    A Hands-On, Project-Based Guide to Real-World Data Science
    Yusef Ulum

    Machine learning doesn’t fail in theory—it fails in production. This book shows you how to build PyTorch systems that remain robust when data shifts, assumptions break, and reliability matters.

  8. QuantLib Python Cookbook
    Luigi Ballabio and Goutham Balaraman

    Quantitative finance in Python: a hands-on, interactive look at the QuantLib library through the use of Jupyter notebooks as working examples.

  9. Applied Data Science for Credit Risk
    A Practical Guide in R and Python
    Andrija Djurovic

    This book provides a practical guide to critical data science methods, focusing on their application in credit risk management. Using examples in R and Python, it presents step-by-step processes for applying various analytical techniques while highlighting the importance of aligning methods with the specific characteristics of the data. Designed for practitioners and those with foundational data science and banking knowledge, the book bridges theory and practice with real-world examples.

  10. Production Ready Data Science
    From Prototyping to Production with Python
    Khuyen Tran

    Are you a data scientist or analyst struggling to take your Jupyter Notebook prototypes to the next level? Have you encountered challenges with code organization, reproducibility, or collaboration as your data science projects grow in complexity? This book is the solution you’ve been seeking. This comprehensive guide bridges the gap between data analysis and software engineering, providing you with the essential tools and best practices to transform your data science projects into scalable, maintainable, and collaborative solutions.

  11. Python Logging
    Michael Driscoll

    Logging is great for debugging and auditing. You'll learn how to log properly with Python in this book!

  12. Build Your First LLM
    A Hands-On Guide to Language Models
    Hasan Degismez

    Learn how large language models work by building one from scratch. This hands-on guide walks you from first principles to a working Transformer you understand inside out.

  13. The little book of Kubernetes Operators
    Learn how to write a Kubernetes Operator from scratch using Go Language and Python.
    Oz Tiram

    Whether you know Go or not, if you use Kubernetes, you can extend it to automate all sort of administrative tasks. This book is going to take you from zero knowledge to building a basic operator in BASH shell, rewriting it Go and giving you enough material to extend Kubernetes using Python too!

  14. Python od podstaw
    zacznij swoją przygodę z programowaniem
    Marcin Moskała

    Książka pomagająca wejść w świat programowania od języka Python. Zachęca i pokazuje jak uczyć się skutecznie.

  15. Cloud Computing for Data Analysis
    The missing semester of Data Science
    Noah Gift

    This book is designed to give you a comprehensive view of cloud computing including Big Data and Machine Learning. Many resources will be used including interactive labs on Cloud Platforms (Google, AWS, Azure) using Python. This is a project-based book with extensive hands-on assignments. Based on material taught at leading universities.