Skip to content

Repository files navigation

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:

  • Easy to Learn Simple syntax that resembles English
  • Interpreted No need for compilation; runs line by line
  • High-Level Abstracts away hardware-level details
  • Dynamically Typed No need to declare variable types explicitly
  • Cross-Platform Runs on Windows, Linux, MacOS, etc.
  • Object-Oriented & Procedural Supports both OOP and functional styles
  • Extensive Libraries Comes with a rich standard library and external packages

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

  • sudo apt update
  • sudo apt upgrade -y
  • sudo apt install -y python3 python3-pip
  • python3 --version
  • pip3 --version
  • sudo apt install -y python3-venv

About

Python is a high-level, interpreted, general-purpose programming language known for its simplicity, readability, and versatility.

Topics

Resources

Stars

5 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages