python-master-guide

What is Python ?

Python is a high-level, interpreted, general-purpose programming language known for its simplicity, readability, and versatility. It was created by Guido van Rossum and released in 1991.

✅ Key Characteristics of Python:

Web Development Package

Package Purpose Use Case Install
Flask Lightweight web framework REST API, Small Websites pip install flask
Django Full-stack web framework Large Web Applications pip install django
FastAPI High-performance API framework AI APIs, Backend Services pip install fastapi
Uvicorn ASGI Server Run FastAPI applications pip install uvicorn
Requests HTTP Requests Consume REST APIs pip install requests
httpx Async HTTP Client Async API calls pip install httpx

Generative AI & LLMs

Package Purpose
openai OpenAI API
transformers Hugging Face Models
langchain LLM Applications
llama-index Retrieval-Augmented Generation (RAG)
chromadb Vector Database
faiss-cpu Similarity Search
sentence-transformers Text Embeddings
tiktoken Token Counting
ollama Local LLM Integration

API Development

Package Purpose
FastAPI REST APIs
Pydantic Data Validation
Uvicorn API Server

Python setup on Window

https://www.python.org/

https://code.visualstudio.com/

Online Editor

https://colab.research.google.com

Python Setup On VPS Server