
Python in Production: APIs, databases, Docker, security and performance. From Python programmer to professional developer. (PYTHON FROM SCRATCH) by Diego S
English | March 21, 2026 | ISBN: N/A | ASIN: B0GTFGYX2B | 1043 pages | EPUB | 1.91 Mb
Master the skills that set a beginner programmer apart from one working in production.
Intermediate Python is Book 2 of the Python from Scratch series. It assumes you know the basics of the language and guides you through building, securing, and deploying professional-grade APIs.
WHAT YOU'LL LEARN:Create complete REST APIs with FastAPI - automatic validation, authentication, interactive documentationDatabases with pure SQL and SQLAlchemy ORM 2.0 - models, relationships, migrations with AlembicProfessional testing with pytest - fixtures, mocking, coverage, API tests with TestClientReal concurrency - threading for I/O, multiprocessing for CPU, asyncio for scalingFinal project: SkillTracker - a complete API with Docker, tests, and ready for productionWHO IT'S FOR:Graduates of Book 1, "Python for Beginners," in this seriesDevelopers from other languages learning Python backendProfessionals who want to update their Python skillsPRACTICAL APPROACH:
Each chapter builds on the previous one, evolving the same application (EventsAPI → SkillTracker). No empty theory-just working code, exercises with solutions, and real-world projects.
CONTENTS:Chapter 1 - Professional Environment: type hints, structured logging, project structure with Poetry, and a readiness assessment to confirm you're ready.Chapter 2 - HTTP and the requests library: HTTP protocol, sessions, Basic and Bearer authentication, retries with backoff, network error handling, downloading large files, and availability monitors.Chapter 3 - FastAPI: routes, validation with Pydantic v2, middleware, dependencies, automatic documentation, rate limiting, and production API patterns.Chapter 4 - SQL and SQLite: relational model from scratch, JOINs, transactions, indexes, EXPLAIN ANALYZE, and a manual migration system.Chapter 5 - SQLAlchemy ORM: declarative models, relationships, advanced queries, sessions, and automatic migrations with Alembic.Chapter 6 - Redis and Caching: data structures, caching patterns (cache-aside, write-through), pub/sub, advanced rate limiting with sliding windows, and task queues.Chapter 7 - Testing and Quality: pytest, fixtures, parametrize, mocks, coverage, TDD, property-based testing with Hypothesis, and CI/CD pipelines with GitHub Actions.Chapter 8 - Docker and Deployment: containers, multi-stage images, Docker Compose, environment variables, deployment to a VPS, and rollback strategies.Chapter 9 - API Security: password hashing with bcrypt and Argon2, full JWT with refresh token rotation, RBAC, OWASP Top 10, data protection, and auditing.Chapter 10 - Performance and Optimization: profiling with cProfile and py-spy, eliminating the N+1 problem, SQL indexes, keyset pagination, multi-level caching, asyncio.gather, and horizontal scaling.Chapter 11 - Advanced Architectures: Modular Monolith, Repository and Unit of Work Patterns, Decoupled Event Bus, Dependency Injection, CQRS, Event Sourcing, and the Saga Pattern.
Buy Premium From My Links To Get Resumable Support,Max Speed & Support Me
Uploady
kxboe.7z
ClicknUpload
kxboe.7z
Rapidgator
kxboe.7z.html
FreeDL
kxboe.7z.html
AlfaFile
kxboe.7z
KatFile
kxboe.7z.html
Links are Interchangeable - Single Extraction
