ai-tutorialsAI-Powered Web Scraping with Playwright and Claude: End-to-End Python Tutorial
Build a Python scraper that drives Playwright, screenshots a rendered page, sends the image to Claude Sonnet 4.6, and validates the output with Pydantic.
Step-by-step guides
AI, ML, DL, dev, data, DevOps and more — step-by-step, with the gotchas other guides skip.
AI and software tutorials, grounded in shipped code. Filter by topic below to narrow to AI, ML, DL, QA, DevOps, data science, data analytics, data engineering, security, cloud, or a specific language or framework.
66 articles
ai-tutorialsBuild a Python scraper that drives Playwright, screenshots a rendered page, sends the image to Claude Sonnet 4.6, and validates the output with Pydantic.
ai-tutorialsEnd-to-end: wire Claude into GitHub Actions to comment AI-generated review notes on every pull request, with secrets, cost estimates, and security guardrails.
ai-tutorialsUpload a CSV, ask Claude to analyse it with pandas in the sandbox, retrieve the generated chart, and validate cost-per-query — full Python walkthrough.
ai-tutorialsPaste a claim from your paper, the agent queries the arXiv API, ranks supporting and contradicting work with Claude Sonnet 4.6, and prints a BibTeX file.
ai-tutorialsHands-on walk-through of an agent loop with Claude tool-use, file/bash tools, a sandbox, and a failing-test exercise comparing against Cursor and Claude Code.
ai-tutorialsRegister a Discord app, wire discord.py to Claude tool-use with web-search and calculator tools, deploy on Railway's free trial — full Python walkthrough.
ai-tutorialsWire LangChain, langchain-anthropic, and ChromaDB into a Streamlit chat UI that answers questions over uploaded PDFs, with retrieval evaluation included.
ai-tutorialsBuild a multimodal RAG app end-to-end in Python: LangChain + ChromaDB with OpenCLIP, query a product catalogue with photos or text, answer with Claude Sonnet.
ai-tutorialsWire Claude tool-use to the Google Calendar API in Python with list_events, create_event, and find_free_slot tools — full OAuth-to-agent walkthrough.
ai-tutorialsEnd-to-end tutorial: scaffold a Bolt for Python Slack app, route every channel message through Claude for safety classification, ship to Fly.io for production.
ai-tutorialsEnd-to-end Python tutorial: Pinecone serverless index, 10-doc PDF knowledge base, Claude Sonnet tool-use, FastAPI endpoint, evaluated on 5 support queries.
ai-tutorialsFollow-along tutorial: scaffold a Gradio Blocks chat UI that calls Claude via the Anthropic Python SDK, push to a free-tier Space, wire env-var secrets, test the URL.
ai-tutorialsEnd-to-end tutorial: scaffold a FastAPI Anthropic-API app, add a KV-backed rate-limit cache, deploy via Wrangler. Honest about Workers-Python beta status.
ai-tutorialsTrain an SDXL LoRA on a custom subject in 60-90 minutes on a 16GB GPU. Dataset, kohya_ss / diffusers training, inference, 5-prompt evaluation.
ai-tutorialsEnd-to-end Python tutorial: load DistilBERT SST-2 with Transformers, expose a /analyze endpoint via FastAPI lifespan, batch inputs, Dockerize, ship to Fly.io.
ai-tutorialsPipe a Wikipedia paragraph through Claude tool-use to extract subject-predicate-object triples, build a NetworkX DiGraph, and visualise it with PyVis.
ai-tutorialsWalk-through: install DeepEval, build a 20-sample dataset, wire G-Eval + hallucination metrics, trace via LangSmith, and gate a model upgrade on the eval.
ai-tutorialsBootstrap Next.js 15 App Router, add Supabase email magic-link auth, gate /chat behind a session, stream Claude responses, and deploy to Vercel free tier.
ai-tutorialsEnd-to-end walkthrough: write a Python MCP server that exposes an Obsidian vault read-only to Claude Desktop, then ask Claude to summarise, connect, and draft notes.
ai-tutorialsBuild a Python pipeline that polls RSS feeds, filters items by Claude against your interests, renders a Markdown digest, emails via Resend, and runs on cron.
Build a Python agent that scrapes Amazon prices with Playwright, classifies deals with Claude, emails alerts via Resend, and runs on a Fly.io cron.
ai-tutorialsSpin up Upstash or local Redis, wire LangChain RedisCache and RedisSemanticCache, measure latency plus token-cost reductions on 50 sample queries, then tune TTL.
ai-tutorialsEnd-to-end QLoRA fine-tune of Mistral-7B-Instruct on a 1,000-row instruction dataset, on a single 16GB GPU, with the adapter pushed to Hugging Face Hub.
ai-tutorialsWire Semantic Scholar's Recommendations API to Claude Sonnet 4.6 in a Streamlit app: paste a paper, get a ranked list of similar work with three-sentence summaries.
ai-tutorialsSpin up Postgres with pgvector, generate Cohere or OpenAI embeddings, build an HNSW index, run k-NN queries, and layer metadata filters — production-shaped.
ai-tutorialsForce Claude Sonnet to return validated JSON via tool_use, parse with Pydantic v2, stream with retries — extract structured orders from email prose.
ai-tutorialsWire Claude tool-use to a Chinook Postgres database, generate safe SELECT-only queries from natural language, and render Markdown result tables — Python walkthrough.
ai-tutorialsWire WhatsApp Cloud API to Claude through a FastAPI webhook on Render's free tier — token, webhook verification, message echo, deploy, send-and-reply test.
ai-tutorialsPython CLI that fetches a YouTube transcript via youtube-transcript-api, summarises with Claude Sonnet, outputs Markdown with timestamps — packaged for PyPI.
dev-tutorialsInstall Apache Airflow 3 locally with uv, write a DAG with the TaskFlow API, wire Python plus Bash plus SQL operators, schedule it, and monitor in the webserver.
ai-tutorialsWire a FastAPI webhook receiver to Claude for urgent/billing/general/spam classification, verify Intercom HMAC signatures, and route conversations via the Admin API.
dev-tutorialsA SQL-fluent analyst's walkthrough of dbt-core 1.11: install, project structure, sources, models, seeds, tests, docs, macros, and materialisations end-to-end.
dev-tutorialsStep-by-step tutorial: write a Dockerfile for a FastAPI app, run it with Docker Compose, and push the image to Docker Hub end-to-end in 60 minutes.
ai-tutorialsWire Claude into Git's prepare-commit-msg hook so every git commit opens with a Conventional Commits draft generated from your staged diff, plus a clean opt-out flag.
ai-tutorialsExtract text from a PDF, prompt Claude to draft 10-30 Anki-style flashcards with tags, then export a ready-to-import .apkg deck via genanki.
dev-tutorialsBuild a complete CI/CD pipeline with GitHub Actions for a Node.js app: lint, test, matrix builds, secrets, reusable workflows, and deploy.
ai-tutorialsWire boto3, Claude vision, and psycopg into an end-to-end pipeline that tags every S3 upload and serves a /search?tag= API in FastAPI.
dev-tutorialsStep-by-step tutorial: spin up a local Kubernetes cluster with minikube or kind, deploy an app, expose it with a Service, and add liveness probes plus scaling.
dev-tutorialsStep-by-step tutorial: scaffold a Next.js 16 App Router project, build a dashboard with layouts, dynamic routes, server components, in 60 min.
dev-tutorialsWalk through six OWASP Top 10 categories on a FastAPI sample app: injection, broken auth, access control, misconfig, vulnerable components, SSRF, with the fix for each.
dev-tutorialsA 60-minute pandas walkthrough: read CSV / Excel / JSON, coerce dtypes, handle missing data, group-by + agg, merge, resample, and plot — using pandas 3.0.
dev-tutorialsInstall Playwright, record a login flow with codegen, factor out a page object, save auth state, run cross-browser in parallel, ship to GitHub Actions.
dev-tutorialsStep-by-step tutorial: install PostgreSQL 18, connect with psql, design a normalised schema with constraints, add indexes, and seed test data in 60 minutes.
dev-tutorialsA working pytest setup in 60 minutes — install, conftest.py, fixtures, parametrize, pytest-cov and pytest-xdist plugins, and a minimal GitHub Actions matrix.
ai-tutorialsBrowser-only voice chatbot — mic input via Web Speech API, streamed Claude responses, Web Audio playback. Pure HTML/JS deployed on GitHub Pages.
ai-tutorialsEnd-to-end Python project: a receipt photo, Claude vision extracts items, prices, tax, totals; Pydantic validates; SQLite stores; CSV exports.
dev-tutorialsStep-by-step tutorial: install Redis 8, connect via redis-cli, then implement cache-aside, write-through, and write-behind patterns in Node.js end-to-end in 45 minutes.
ai-tutorialsEnd-to-end Python tutorial: a Slack app that posts a daily standup prompt, collects replies, then asks Claude to digest blockers and status by member.
dev-tutorialsStand up a working VPC, EC2 instance, and RDS database with Terraform 1.15 and AWS provider 6.x, including S3-native state locking and a clean destroy.
ai-tutorialsWire Weaviate Cloud hybrid BM25 search, Cohere embed-v4.0 vectors, and rerank-v3.5 into a FastAPI /search endpoint over 100 Wikipedia chunks.
dev-tutorialsWalk-through of skills and plugins, the two-layer extension model in Claude Code: directory layout, five essentials to install today, and the marketplace workflow.
dev-tutorialsCursor 3.3 (7 May 2026) lets Plan Mode fan tasks across async subagents and split the diff into independent PRs. When parallelism wins, when it costs more.
ai-tutorialsEnd-to-end Smolagents tutorial. Wire Hugging Face's CodeAgent to a local Qwen 3 on Ollama, add two custom arXiv tools, and ship a working research agent on a laptop.
ai-tutorialsInstall vLLM 0.20.1, serve Llama 3.1 8B, scale across GPUs with tensor parallelism, and pick FP8 vs W8A16 by hardware. A 90-minute walkthrough for ML engineers.
ai-tutorialsHands-on autogen-agentchat walkthrough (v0.7.x, May 2026): install, wire two AssistantAgents into a research crew, inspect the conversation. Status: maintenance mode.
ai-tutorialsInstall Promptfoo, write a YAML config, run side-by-side evals on GPT-5 vs Claude Sonnet 4.5, and ship the report. A 60-minute walkthrough for devs.
ai-tutorialsWire Claude Desktop to filesystem, GitHub, and fetch MCP servers in 30 minutes. Config-file walkthrough, token scopes, and the pitfalls devs hit first.
ai-tutorialsA 60-minute Python walkthrough that builds a Researcher + Writer + Editor crew with CrewAI, picks the right Process mode, and ships structured output.
ai-tutorialsStep-by-step ElevenLabs Python tutorial: signup, voice picker, Turbo and Eleven v3, WebSocket streaming, Hindi and Tamil. Around 50 lines of code.
ai-tutorialsWrap Claude, GPT-5.5, or a local Ollama model in a streaming chat UI using Gradio 5.x and ~30 lines of Python. Tutorial includes Hugging Face Spaces deploy.
dev-tutorialsA LoRA fine-tune of Qwen 2.5-7B on Google Colab's free Tesla T4 takes 4–6 hours. Step-by-step pipeline for devs: dataset, PEFT, training, inference.
ai-tutorialsA 60-minute Qdrant tutorial for dev teams: Docker install, sentence-transformers embeddings, hybrid search with metadata filters, and a FastAPI endpoint.
ai-tutorialsRAG in 60 minutes on a laptop: LangChain + ChromaDB, in-process vector store, free local embeddings, Claude or GPT for answers. No Docker, no Pinecone.
ai-tutorialsA step-by-step Smolagents walkthrough in Python. Roughly 40 lines of code, any LLM, working code-writing agent in 30 minutes — no LangChain, no LangGraph.
ai-tutorialsBuild a Streamlit LLM-pricing dashboard: load OpenAI + Anthropic spend logs, chart cost-per-day with Altair, add filters, deploy free on Community Cloud.
ai-tutorialsStep-by-step tutorial: build a working Model Context Protocol server in TypeScript, expose it to Claude Desktop, and learn the gotchas other guides skip.
No articles match the selected topic yet. Clear filter .