Python for AI Engineers
$0.99
Buy on Amazon View on Apple BooksPrefer it in print? See every format on Amazon →
Price on Apple Books. Amazon’s price may differ.
- Published
Description
A complete, practical and independent guide to Python for software engineers who want to move into artificial intelligence. Written for developers who already know Java, C#, JavaScript, Go or C++, it teaches Python in real depth and then shows how to use it for data, machine learning and applications built on large language models. Following one realistic project, an AI assistant for a fictional parcel-delivery company, the book covers how Python runs, objects and names, built-in types and collections, functions, closures, iterators and generators, errors, files and context managers, classes and the data model, decorators and descriptors, type hints and Pydantic validation, packaging with pyproject.toml and uv, testing with pytest, debugging and profiling, threads, processes and asyncio, and performance. It then works through NumPy, pandas 3, Polars and DuckDB, visualization, APIs, databases and text processing, scikit-learn, PyTorch and pretrained models from Hugging Face. The final part builds LLM applications: calling model APIs with structured output and async fan-out, embeddings, vector search and retrieval-augmented generation, tool-using agents and Model Context Protocol servers, and FastAPI services in production. Covers Python 3.14 and the new features of Python 3.15. Includes a capstone project, quick-reference checklists, study questions with answers and a glossary.
This book is an independent publication and is not authorized, sponsored or endorsed by any company whose products it mentions. All trademarks belong to their respective owners and are used only for identification. This book was drafted with generative AI tools and checked with automated tools. Tools, features and prices change often; confirm them in current documentation.