The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...

Build modern APIs, create intelligent AI agents, power RAG applications and master PostgreSQL with this bundle of four hands-on books. From Python development to production-ready systems, learn the tools and techniques that bring real-world projects to life.
Bought separately
$128
Minimum price
$69.00
$89.00
About the Bundle
This bundle brings together four practical guides for developers who want to build better software with Python, modern AI tools and reliable database systems. Web Development with FastAPI covers everything from building your first API to testing, securing and deploying production-ready web applications. PydanticAI: Building Production-Grade AI Agents shows you how to create AI agents with Python, from the basics to more advanced workflows and multi-agent systems. Mastering Qdrant for RAG Applications explores vector search, embeddings and the tools needed to build scalable retrieval-augmented generation applications. Finally, The PostgreSQL Administrator's Handbook takes you through database management, security, backups, replication and performance tuning in production environments.
Together, these four books cover key parts of modern backend and AI development, helping you understand how the pieces fit together and how to put them to work in real projects. Whether you're expanding your Python skills, getting into AI engineering or looking to improve your knowledge of databases and production systems, this bundle gives you plenty to learn and apply.
About the Books
This book takes you from your first FastAPI endpoint to designing, building, testing, securing, and deploying professional production-grade systems. You will learn the framework through a realistic application that grows chapter by chapter, gaining hands-on experience with type hints, Pydantic validation, SQLAlchemy databases, authentication, WebSockets, caching, testing with pytest, Docker containerization, and production deployment behind Nginx. No prior web framework experience is required beyond basic Python knowledge.
This book is a comprehensive guide to PydanticAI, the Python agent framework that brings the rigor and developer experience of the Pydantic ecosystem to building production-grade generative AI applications. Whether you are a Python developer new to LLMs or an experienced AI practitioner looking for a framework that takes type safety seriously, this book will take you from your first agent to complex multi-agent systems with durable execution. Every chapter includes working code examples, real-world patterns, and practical exercises.
Retrieval-Augmented Generation has become the dominant architecture for production AI applications, and vector databases form its critical retrieval layer. This book takes you from the fundamentals of embeddings and similarity search through to advanced distributed deployments of Qdrant, the high-performance open-source vector database written in Rust. You will learn every facet of Qdrant's feature set: collections, points, payloads, HNSW indexing, quantization, hybrid search with dense and sparse vectors, metadata filtering, faceting, sharding, replication, security, monitoring, and scaling. Through detailed code examples in Python, JavaScript, Go, Java, C#, and Rust, you will build complete RAG pipelines integrated with LangChain, LlamaIndex, Haystack, and a wide range of embedding providers. This is not a tutorial collection; it is a comprehensive reference that explains the why behind every feature, the trade-offs between every configuration choice, and the production engineering practices that separate experimental prototypes from systems serving millions of queries per day.
This is a complete guide to administering PostgreSQL in production environments. Whether you are deploying your first database server or managing a fleet of high-availability clusters, this book walks you through everything from architecture internals and installation to security hardening, backup and recovery strategies, replication setups, performance tuning, and automated operations. It covers PostgreSQL 17 and 18 (the latest stable releases as of mid-2026) with practical examples, real-world configurations, hands-on labs, and production-tested best practices drawn from the official documentation and community expertise.
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
Learn more about writing on Leanpub
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.