Leanpub Header

Skip to main content

Filters

Category: "Python"

Books

  1. 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).

  2. Build Your Own Coding Agent
    Build Your Own Coding Agent
    The Zero-Magic Guide to AI Agents in Pure Python
    J. Owen

    Skip the black-box frameworks. Build a production-grade AI coding agent from scratch in pure Python - cloud or local, tested with pytest, all in a single file.

  3. Applied Data Science for Credit Risk
    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.

  4. Python for Finance Cookbook - Second Edition
    Python for Finance Cookbook - Second Edition
    Over 80 powerful recipes for effective financial data analysis
    Packt Publishing Ltd

    Explore recipes for both classical quantitative finance approaches to modeling financial data, as well as modern machine learning and deep learning solutions

  5. Discrete Mathematics for Computer Science
    Discrete Mathematics for Computer Science
    Marie Brodsky, Alexander Golovnev, Alexander S. Kulikov, Vladimir Podolskii, and Alexander Shen

    This book supplements the DM for CS Specialization at Coursera and contains many interactive puzzles, autograded quizzes, and code snippets. They are intended to help you to discover important ideas in discrete mathematics on your own. By purchasing the book, you will get all updates of the book free of charge when they are released.

  6. Flet Applications: A Complete Guide to Cross-Platform Python Development
    Flet Applications: A Complete Guide to Cross-Platform Python Development
    Build desktop, web, and mobile applications with Python using the Flutter-powered Flet framework
    Steve Publications

    Build real cross-platform apps with Python and Flet. This practical guide takes you from your first app to production, covering controls, navigation, architecture, testing and deployment. Along the way, you’ll learn where Flet shines, where it falls short and how to make smart technology choices.

  7. Vibe Coding Video Games with Python

    Learn how to vibe code video games with Python, pygame and AI

  8. Learn Logic Programming in Python
    Learn Logic Programming in Python
    A Gentle, Illustrated Guide with PyDatalog, from Facts and Rules to Recursion, SQL and Real Applications
    Omar Kamal Hosney

    Learn to think in facts, rules and queries, using pyDatalog inside ordinary Python. A gentle, illustrated first course in logic programming, with every example run and recorded.

  9. PyTorch Deep Dive
    PyTorch Deep Dive
    From Foundations to Production: A Complete Guide to Modern Deep Learning
    Steve Publications

    PyTorch Deep Dive is a practical guide to mastering modern deep learning with PyTorch. From core concepts to advanced topics like transformers, diffusion models, and production deployment, it combines clear explanations, hands-on examples, and real-world best practices to help you build and scale AI applications with confidence.

  10. 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.

  11. AI-Native Systems Engineering: Building, Running, and Securing Autonomous Software on Linux
    AI-Native Systems Engineering: Building, Running, and Securing Autonomous Software on Linux
    A Production-Focused Handbook for Designing Useful, Controllable, Observable, Reliable, Maintainable, Secure, and Production-Ready Autonomous Systems
    Steve Publications

    Build AI systems that do more than demo well. This hands-on guide shows you how to engineer autonomous software on Linux that is secure, observable, reliable and ready for production. From agents and memory to threat modeling, OpenTelemetry and Kubernetes, you’ll build a real system while learning what it takes to run AI you can actually trust.

  12. Production Ready Data Science
    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.

  13. Practical Pydantic
    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.

  14. 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.

  15. My Adventures with Large Language Models
    My Adventures with Large Language Models
    Build foundational LLMs from Transformers to DeepSeek, from scratch, in PyTorch.
    Prathamesh S.

    Build GPT-2, Llama 3, and DeepSeek from scratch in PyTorch. Every chapter has runnable end-to-end code and loads real pretrained weights. Goes well past where most LLM tutorials stop.