Python Typing — A Complete Guide

Master Python typing from the ground up: basic annotations, collection types, generics, precise types, type narrowing, type guards, and static type checking.

April 19, 2026 · 19 min · 3859 words · Nirajan Khatiwada

Introduction to LangChain: Concepts, Models & LLM Integration

A comprehensive introduction to LangChain explaining its core concepts, supported model types, and hands-on integration with Ollama LLMs, chat models, and embedding models.

December 29, 2025 · 3 min · 561 words · Nirajan Khatiwada

Python Basics for Beginners: A Complete Guide

A comprehensive guide to Python programming fundamentals covering core concepts for beginners.

November 20, 2024 · 7 min · 1352 words · Nirajan Khatiwada

Pydantic v2 — A Complete Guide

Master Pydantic v2 from the ground up: BaseModel basics, field validation, nested models, serialization, custom types, computed fields, and performance best practices.

April 20, 2026 · 28 min · 5855 words · Nirajan Khatiwada

Prompt Engineering in LangChain: Templates, Messages & ChatPromptTemplate

Learn how to control and structure prompts in LangChain using PromptTemplate, message classes, and ChatPromptTemplate to build safe, consistent, and context-aware chat applications.

December 29, 2025 · 6 min · 1084 words · Nirajan Khatiwada

Python Asyncio: Complete Guide to Coroutines, Tasks, Event Loop & Synchronization

Comprehensive tutorial covering Python Asyncio fundamentals: what coroutines are, how the event loop works, creating and scheduling tasks, coordinating concurrent code with gather(), and controlling access to shared resources with locks and semaphores.

November 22, 2024 · 15 min · 3144 words · Nirajan Khatiwada

Python Data Types: A Comprehensive Guide

An in-depth look at Python data types, exploring their usage and importance in programming.

November 19, 2024 · 17 min · 3594 words · Nirajan Khatiwada

Structured Output in LangChain: Pydantic Models & Output Parsers

Learn how to enforce structured outputs in LangChain using Pydantic schemas, with_structured_output, and output parsers to build reliable, production-ready LLM applications.

December 29, 2025 · 5 min · 942 words · Nirajan Khatiwada

Python Control Structures: Loops and Conditionals Guide

A detailed examination of Python’s control structures, focusing on loops and conditionals to enhance your programming skills.

November 18, 2024 · 4 min · 684 words · Nirajan Khatiwada

Doubly Linked Lists in Python: Bidirectional Traversal

A complete guide to Doubly Linked Lists in Python, featuring bidirectional traversal and advanced node operations.

October 22, 2024 · 5 min · 883 words · Nirajan Khatiwada