# Building with Claude — A Practitioner's Guide to the Anthropic API # Companion notebooks dependencies # Python 3.11+ # Core Anthropic SDK anthropic>=0.40.0 # Data handling (used throughout) pandas>=2.2.0 numpy>=1.26.0 # Embeddings (used in B4, B5) voyageai>=0.2.0 # RAG storage / retrieval (B4, B5) scikit-learn>=1.4.0 # cosine similarity, TF-IDF as BM25 fallback rank-bm25>=0.2.2 # BM25 implementation # Multimodal (B2) and chart generation (scripts/generate_data.py) matplotlib>=3.7.0 # dashboard PNG generation (generate_data.py) Pillow>=10.0.0 # image handling pypdf>=4.0.0 # PDF reading reportlab>=4.0.0 # generating synthetic PDFs # MCP (D1, D2) mcp>=1.0.0 # Async in Jupyter (D1, D2 -- needed for MCP client event-loop compatibility) nest_asyncio>=1.5.0 # Notebook environment jupyter>=1.0.0 ipykernel>=6.29.0 # Utility python-dotenv>=1.0.0 # load ANTHROPIC_API_KEY from .env tabulate>=0.9.0 # pretty-print tables in notebooks