Tag Archives: #python

Building a Database Layer in Python with SQLAlchemy ORM

Building a Database Layer in Python with SQLAlchemy ORM

Learn how to build a clean, transactional database layer in Python using SQLAlchemy ORM, a DatabaseSessionManager, DAO models, and the DAO vs DTO boundary inside a layered architecture.

Continue Reading
Building a Python CLI with Typer: The Modern Approach to the Command Pattern

Building a Python CLI with Typer: The Modern Approach to the Command Pattern

Typer brings Python type hints to CLI development — no decorators, no boilerplate, just annotated functions. See how it compares to argparse and Click on the same Task Manager CLI.

Continue Reading
Understanding MCP: The Protocol for Agent-Tool Communication

Understanding MCP: The Protocol for Agent-Tool Communication

MCP is Anthropic's open protocol that standardizes how AI agents connect to tools, APIs, and resources — making any capability pluggable and interoperable across agent frameworks.

Continue Reading
Build Your Own LLM Chatbot with Python & LangChain (Part 4)

Build Your Own LLM Chatbot with Python & LangChain (Part 4)

Add a Streamlit-based web UI to your LLM chatbot — session management, interactive chat window, and seamless integration with your existing LangChain backend.

Continue Reading
Build Your Own LLM Chatbot with Python & LangChain (Part 3)

Build Your Own LLM Chatbot with Python & LangChain (Part 3)

Add Retrieval-Augmented Generation (RAG) to your LLM chatbot — ingest PDFs and Wikipedia pages into a vector database and retrieve context dynamically.

Continue Reading
Build Your Own LLM Chatbot with Python & LangChain (Part 2)

Build Your Own LLM Chatbot with Python & LangChain (Part 2)

Learn how to build a context-aware LLM chatbot with Python and LangChain, managing conversation memory, generation parameters, and robust logging.

Continue Reading
Build Your Own LLM Chatbot with Python & LangChain (Part 1)

Build Your Own LLM Chatbot with Python & LangChain (Part 1)

Build a production-ready LLM chatbot with Python and LangChain. Step-by-step guide to scalable, configurable architecture for real-world applications.

Continue Reading