Leanpub Header

Skip to main content

Filters

Category: "Python"

Python

New to Python? Read the Python article

  1. Claude Code Masterclass
    Claude Code Masterclass
    Build Real-World Software with Claude Code, AI Workflows, and Hands-On Projects
    Luca Berton

    Learn Claude Code by building real projects. This hands-on companion turns the Claude Code Masterclass workshop into a practical self-paced guide for planning, coding, testing, reviewing, refactoring, and shipping software with AI.

  2. Production-Grade Python, LangChain & LangGraph
    Production-Grade Python, LangChain & LangGraph
    A deployment-first handbook for developers who know Python syntax but have not shipped Python
    Fiodar Sazanavets

    AI engineering is becoming one of the most valuable and in-demand areas of software development, and Python, LangChain, and LangGraph are core skills for building the systems behind it. Learn how to turn basic Python knowledge into production-grade backend and agentic AI applications—and move toward an engineering niche centered on building and controlling AI rather than competing with it.

  3. AI Engineering Visualized, Volume 3: RAG & Knowledge Systems
    AI Engineering Visualized, Volume 3: RAG & Knowledge Systems
    A Visual Guide to RAG and Knowledge Systems
    Prateek Singh

    RAG answers you can trace to a source: ingestion, permissions, hybrid search, reranking, evals and regression gates, drawn and built in Python.

  4. Inside Large Language Models for absolute beginners: Volume I
    Inside Large Language Models for absolute beginners: Volume I
    Simple Arithmetic and beginners Python based approach
    Ritesh Modi

    Most books about ChatGPT explain the magic. This one shows you the math. Inside Large Language Models, Volume I takes a curious beginner from "what is an LLM" to a complete, trained GPT, with nothing more than high-school algebra, a working laptop, and a willingness to read carefully. Every formula is walked through by hand. Every line of code comes with a plain-English explanation. By the end you will have built, trained, and run your own transformer from scratch, and you will know exactly what is happening inside. No PhD or Data Science required. No prior machine learning needed. Just curiosity and a calculator.

  5. Construye tu Propio Agente de Programación
    Construye tu Propio Agente de Programación
    Guía Sin-Magia para Agentes de IA en Python Puro
    J. Owen and TranslateAI

    Olvídate de los frameworks de caja negra. Construye un agente de programación de IA de nivel profesional desde cero en Python puro — en la nube o local, probado con pytest, todo en un solo archivo.

  6. Building Web Scrapers with Scrapy
    Building Web Scrapers with Scrapy
    A Practical Guide to Robust, Scalable, Production-Ready Web Data Extraction
    Steve Publications

    Build web scrapers that survive the real world. This hands-on guide takes you from Scrapy fundamentals to scalable production systems, with practical patterns for asynchronous crawling, clean data pipelines, testing, deployment and resilient architectures. Packed with runnable Python examples, it gives you the skills to scrape smarter, faster and at scale.

  7. Spark 4.0 from Scratch
    Spark 4.0 from Scratch
    Foundations: From Your First DataFrame to Production-Ready Joins and Aggregations
    Ritesh Modi

    PySpark from page one. Ten chapters that take a Python user who knows pandas and turn them into someone who can write, read, and debug production PySpark, without a three-chapter detour through distributed-computing theory.

  8. Introduction To Conformal Prediction With Python
    Introduction To Conformal Prediction With Python
    A Short Guide For Quantifying Uncertainty Of Machine Learning Models
    Christoph Molnar

    This book teaches you how to quantify the uncertainty of machine learning models with conformal prediction in Python.

  9. CustomTkinter Tutorial
    CustomTkinter Tutorial
    Building Modern, Native-Looking Graphical User Interfaces in Python
    Mira

    CustomTkinter is a powerful Python UI library that delivers modern, fully customizable widgets with a consistent look across Windows, macOS, and Linux. This book is a hands-on guide that walks you through everything—from your first window to advanced techniques.

  10. Deep Learning in Production
    Deep Learning in Production
    Sergios Karagiannakos

    Build, train, deploy, scale and maintain deep learning models. Understand ML infrastructure and MLOps using hands-on examples.

  11. System Identification for Engineers
    System Identification for Engineers
    A Practical Guide to Building Accurate Models from Real Data
    Alex Morgan

    Most engineering models come from measurement, not derivation — even when the physics is well understood. This book teaches the practical core of system identification: designing experiments that actually excite the dynamics you care about, fitting the right model structure without overfitting, validating it honestly, and handing it off in the form an MPC controller or Kalman filter needs. Runnable Python throughout, plus three full case studies: a DC motor, a drone attitude axis, and a battery model.

  12. Running Local LLMs on Your Own Hardware
    Running Local LLMs on Your Own Hardware
    A Practical Guide to Private, Offline, and Self-Hosted Large Language Models
    Yohan J. Rodríguez

    A hands-on guide to downloading, running, serving, and maintaining open-weight LLMs on your own machine (492 manuscript pages).

  13. Learn Kubernetes & Docker - .NET Core, Java, Node.JS, PHP or Python
    Learn Kubernetes & Docker - .NET Core, Java, Node.JS, PHP or Python
    Be ready to create and run your containerized and orchestrated application next week.
    Arnaud Weil

    You know next to nothing about Kubernetes or Docker but need to create and run your first application on Kubernetes using Docker within a week. Don't worry: this book has you covered.

  14. LLM Prompt Engineering For Developers
    LLM Prompt Engineering For Developers
    The Art and Science of Unlocking LLMs' True Potential
    Aymen El Amri

    A practical approach to Prompt Engineering for developers. Dive into the world of Prompt Engineering agility, optimizing your prompts for dynamic LLM interactions. Learn with hands-on examples from the real world and elevate your developer experience with LLMs. Discover how the right prompts can revolutionize your interactions with LLMs.

  15. Practical Python for Production under Pressure
    Practical Python for Production under Pressure
    Managing the insanity that is developing pipelines alongside a production at full speed
    Alex Telford

    Facing the insanity that is pipeline development alongside a production in full swing, "Practical Python for Production under Pressure" helps TDs to deliver quality tools and pipelines amidst the chaos.This book focuses on practical workflows and theory to build practical tools and pipelines within an ever changing environment using python, PySide and duct tape ingenuity. Learn about managing communications, building pipelines, working with AI in production, user experience and more.