devops

Using Python for DevOps tasks like automation, scripting, and infrastructure work.

AI Project in Python: Building a Complete AI Application

246 posts ago you typed your first print(). This AI capstone project is where all of it pays off: one production-grade Document Assistant that reads your files, answers questions with cited sources, and ships behind a real API. Python fundamentals, RAG, guardrails, evals, Docker, all wired into a single running system you can put on your resume. We are building an AI-Powered Document Assistant. Picture a smart librarian who has read every document you own. You hand it your files, ... Read More

Python ML Production Deployment at Scale: FastAPI, Docker, Cloud

Your model works. Your RAG (Retrieval-Augmented Generation) pipeline is evaluated. Your guardrails are in place. Now comes the real ML deployment work: serving live users, handling traffic spikes, restarting after failures, and scaling without you babysitting it. This guide covers the production stack that gets you there: FastAPI for serving, Docker for packaging, and cloud patterns that hold up whether you are answering 100 or 100,000 requests per day. “A model that nobody can call is just an expensive file ... Read More

Python: MLOps with MLflow, Experiment Tracking and Model Versioning

You trained a model last Tuesday and it scored 94%. Today your boss asks which data you used, which settings, and whether you can rebuild that exact model. If the answer lives in a file named model_final_v2_REAL.pkl, you already feel the pain that Python MLOps solves. This guide covers experiment tracking and model versioning with MLflow, the most widely used open-source tool for the job. “Only a small fraction of real-world ML systems is composed of the ML code. The ... Read More