| 1 |
LiteLLM
LLM Gateways
|
524,050,043 |
58,054 |
|
LLM Gateways
AI and Agents
AI & ML
|
→ |
|
Call 100+ LLMs using OpenAI format.
|
|
|
|
| 2 |
scikit-learn
General
|
216,295,835 |
67,160 |
|
General
Machine Learning
AI & ML
|
→ |
|
The most popular Python library for Machine Learning with extensive documentation and community support.
|
|
|
|
| 3 |
langchain
Orchestration
|
216,258,828 |
145,658 |
|
Orchestration
AI and Agents
AI & ML
|
→ |
|
Building applications with LLMs through composability.
|
|
|
|
| 4 |
sglang
LLM Inference and Serving
|
200,353,640 |
35,477 |
|
LLM Inference and Serving
AI and Agents
AI & ML
|
→ |
|
A high-performance serving framework for large language models and multimodal models.
|
|
|
|
| 5 |
transformers
Pre-trained Models
|
159,297,331 |
164,794 |
|
Pre-trained Models
AI and Agents
AI & ML
|
→ |
|
A framework that lets you easily use pre-trained transformer models for NLP, vision, and audio tasks.
|
|
|
|
| 6 |
pytorch
Frameworks
|
78,727,214 |
102,761 |
|
Frameworks
Deep Learning
AI & ML
|
→ |
|
Tensors and Dynamic neural networks in Python with strong GPU acceleration.
|
|
|
|
| 7 |
nltk
General
|
60,503,783 |
14,707 |
|
General
Natural Language Processing
AI & ML
|
→ |
|
A leading platform for building Python programs to work with human language data.
|
|
|
|
| 8 |
langgraph
Orchestration
|
59,757,948 |
41,065 |
|
Orchestration
AI and Agents
AI & ML
|
→ |
|
Low-level orchestration framework for building stateful, long-running LLM agents.
|
|
|
|
| 9 |
opencv-python
General
|
44,234,087 |
5,377 |
|
General
Computer Vision
AI & ML
|
→ |
|
Open Source Computer Vision Library.
|
|
|
|
| 10 |
xgboost
Gradient Boosting
|
43,560,548 |
28,733 |
|
Gradient Boosting
Machine Learning
AI & ML
|
→ |
|
A scalable, portable, and distributed gradient boosting library.
|
|
|
|
| 11 |
openai-agents
Vendor Agent SDKs
|
30,847,863 |
29,197 |
|
Vendor Agent SDKs
AI and Agents
AI & ML
|
→ |
|
OpenAI's framework for building and managing AI agents.
|
|
|
|
| 12 |
claude-agent-sdk
Vendor Agent SDKs
|
30,064,503 |
8,036 |
|
Vendor Agent SDKs
AI and Agents
AI & ML
|
→ |
|
Anthropic's Python SDK for building AI agents on Claude Code's harness — custom tools, in-process MCP servers, hooks.
|
|
|
|
| 13 |
spacy
General
|
25,153,403 |
33,874 |
|
General
Natural Language Processing
AI & ML
|
→ |
|
A library for industrial-strength natural language processing in Python and Cython.
|
|
|
|
| 14 |
crewai
Orchestration
|
24,898,534 |
58,091 |
|
Orchestration
AI and Agents
AI & ML
|
→ |
|
A framework for orchestrating role-playing autonomous AI agents for collaborative task solving.
|
|
|
|
| 15 |
instructor
Data Layer
|
24,583,770 |
13,828 |
|
Data Layer
AI and Agents
AI & ML
|
→ |
|
A library for extracting structured data from LLMs, powered by Pydantic.
|
|
|
|
| 16 |
lightgbm
Gradient Boosting
|
22,656,245 |
18,744 |
|
Gradient Boosting
Machine Learning
AI & ML
|
→ |
|
A fast, distributed, high performance gradient boosting framework.
|
|
|
|
| 17 |
pytesseract
OCR
|
19,538,552 |
6,387 |
|
OCR
Computer Vision
AI & ML
|
→ |
|
|
|
|
|
| 18 |
jax
Frameworks
|
17,157,227 |
36,255 |
|
Frameworks
Deep Learning
AI & ML
|
→ |
|
A library for high-performance numerical computing with automatic differentiation and JIT compilation.
|
|
|
|
| 19 |
keras
Frameworks
|
15,174,562 |
64,279 |
|
Frameworks
Deep Learning
AI & ML
|
→ |
|
A high-level deep learning library with support for JAX, TensorFlow, and PyTorch backends.
|
|
|
|
| 20 |
tensorflow
Frameworks
|
15,168,996 |
198,830 |
|
Frameworks
Deep Learning
AI & ML
|
→ |
|
The most popular Deep Learning framework created by Google.
|
|
|
|
| 21 |
pytorch-lightning
Frameworks
|
12,041,549 |
31,318 |
|
Frameworks
Deep Learning
AI & ML
|
→ |
|
Deep learning framework to train, deploy, and ship AI products Lightning fast.
|
|
|
|
| 22 |
pydantic-ai
Orchestration
|
10,220,823 |
19,729 |
|
Orchestration
AI and Agents
AI & ML
|
→ |
|
A Python agent framework for building generative AI applications with structured schemas.
|
|
|
|
| 23 |
diffusers
Image and Video Generation
|
6,769,469 |
34,444 |
|
Image and Video Generation
AI and Agents
AI & ML
|
→ |
|
A library that provides pre-trained diffusion models for generating and editing images, audio, and video.
|
|
|
|
| 24 |
ultralytics
General
|
6,605,622 |
61,295 |
|
General
Computer Vision
AI & ML
|
→ |
|
Ultralytics YOLO for object detection, segmentation, pose estimation, and classification with state-of-the-art accuracy and speed.
|
|
|
|
| 25 |
llama-index
Data Layer
|
6,024,704 |
52,023 |
|
Data Layer
AI and Agents
AI & ML
|
→ |
|
A data framework for your LLM application.
|
|
|
|
| 26 |
dspy
Prompt Optimization
|
5,885,439 |
37,776 |
|
Prompt Optimization
AI and Agents
AI & ML
|
→ |
|
A framework for programming, not prompting, language models.
|
|
|
|
| 27 |
catboost
Gradient Boosting
|
5,841,505 |
9,089 |
|
Gradient Boosting
Machine Learning
AI & ML
|
→ |
|
A fast, scalable, high performance gradient boosting on decision trees library.
|
|
|
|
| 28 |
gymnasium
Reinforcement Learning
|
5,000,981 |
12,462 |
|
Reinforcement Learning
Deep Learning
AI & ML
|
→ |
|
A standard API for reinforcement learning environments with popular reference environments ( gym successor).
|
|
|
|
| 29 |
openai-whisper
Speech
|
4,828,806 |
108,442 |
|
Speech
AI and Agents
AI & ML
|
→ |
|
A general-purpose automatic speech recognition model trained on 680k hours of multilingual and multitask supervised data.
|
|
|
|
| 30 |
jieba
Chinese
|
4,793,139 |
35,138 |
|
Chinese
Natural Language Processing
AI & ML
|
→ |
|
The most popular Chinese text segmentation library.
|
|
|
|
| 31 |
gensim
General
|
4,419,292 |
16,480 |
|
General
Natural Language Processing
AI & ML
|
→ |
|
Topic Modeling for Humans.
|
|
|
|
| 32 |
vllm
LLM Inference and Serving
|
3,978,700 |
90,981 |
|
LLM Inference and Serving
AI and Agents
AI & ML
|
→ |
|
A high-throughput and memory-efficient inference and serving engine for LLMs.
|
|
|
|
| 33 |
mem0
Data Layer
|
3,283,620 |
64,707 |
|
Data Layer
AI and Agents
AI & ML
|
→ |
|
An intelligent memory layer for AI agents enabling personalized interactions.
|
|
|
|
| 34 |
kornia
General
|
2,922,081 |
11,345 |
|
General
Computer Vision
AI & ML
|
→ |
|
Open Source Differentiable Computer Vision Library for PyTorch.
|
|
|
|
| 35 |
easyocr
OCR
|
2,812,541 |
29,974 |
|
OCR
Computer Vision
AI & ML
|
→ |
|
Ready-to-use OCR with 40+ languages supported.
|
|
|
|
| 36 |
gTTS
Speech
|
2,452,717 |
2,628 |
|
Speech
AI and Agents
AI & ML
|
→ |
|
Python library and CLI tool for converting text to speech using Google Translate TTS.
|
|
|
|
| 37 |
unsloth
Fine-tuning
|
2,057,791 |
75,627 |
|
Fine-tuning
AI and Agents
AI & ML
|
→ |
|
A library for faster LLM fine-tuning and training with reduced memory usage.
|
|
|
|
| 38 |
pypinyin
Chinese
|
1,767,759 |
5,359 |
|
Chinese
Natural Language Processing
AI & ML
|
→ |
|
Convert Chinese hanzi (漢字) to pinyin (拼音).
|
|
|
|
| 39 |
annoy
AI & ML
|
1,204,507 |
14,292 |
|
Recommender Systems
AI & ML
|
→ |
|
Approximate Nearest Neighbors in C++/Python optimized for memory usage.
|
|
|
|
| 40 |
stable-baselines3
Reinforcement Learning
|
1,099,849 |
13,765 |
|
Reinforcement Learning
Deep Learning
AI & ML
|
→ |
|
PyTorch implementations of Stable Baselines (deep) reinforcement learning algorithms.
|
|
|
|
| 41 |
mlx-lm
LLM Inference and Serving
|
996,983 |
6,893 |
|
LLM Inference and Serving
AI and Agents
AI & ML
|
→ |
|
Run and fine-tune large language models on Apple Silicon with MLX.
|
|
|
|
| 42 |
stanza
General
|
948,802 |
7,873 |
|
General
Natural Language Processing
AI & ML
|
→ |
|
The Stanford NLP Group's official Python library, supporting 60+ languages.
|
|
|
|
| 43 |
pgmpy
General
|
607,242 |
3,325 |
|
General
Machine Learning
AI & ML
|
→ |
|
A Python library for probabilistic graphical models and Bayesian networks.
|
|
|
|
| 44 |
openviking
Data Layer
|
435,179 |
35,516 |
|
Data Layer
AI and Agents
AI & ML
|
→ |
|
A context database for AI agents that unifies memory, resources, and skills.
|
|
|
|
| 45 |
funasr
Speech
|
421,419 |
20,172 |
|
Speech
AI and Agents
AI & ML
|
→ |
|
Industrial-grade speech recognition toolkit with 170x realtime speed, 50+ languages, speaker diarization, and emotion detection.
|
|
|
|
| 46 |
timesfm
Time Series Forecasting
|
296,739 |
31,043 |
|
Time Series Forecasting
Machine Learning
AI & ML
|
→ |
|
A pretrained foundation model from Google Research for time-series forecasting.
|
|
|
|
| 47 |
implicit
AI & ML
|
293,327 |
3,817 |
|
Recommender Systems
AI & ML
|
→ |
|
A fast Python implementation of collaborative filtering for implicit datasets.
|
|
|
|
| 48 |
hermes-agent
Personal Assistants
|
270,673 |
241,480 |
|
Personal Assistants
AI and Agents
AI & ML
|
→ |
|
An adaptive personal AI assistant that grows with you.
|
|
|
|
| 49 |
feature-engine
General
|
250,621 |
2,278 |
|
General
Machine Learning
AI & ML
|
→ |
|
sklearn compatible API with the widest toolset for feature engineering and selection.
|
|
|
|
| 50 |
fiftyone
General
|
154,604 |
11,058 |
|
General
Computer Vision
AI & ML
|
→ |
|
The open-source tool for building high-quality datasets and computer vision models.
|
|
|
|
| 51 |
scikit-surprise
AI & ML
|
88,906 |
6,811 |
|
Recommender Systems
AI & ML
|
→ |
|
A scikit for building and analyzing recommender systems.
|
|
|
|
| 52 |
semantica
Data Layer
|
21,829 |
11,994 |
|
Data Layer
AI and Agents
AI & ML
|
→ |
|
A graph-native context and knowledge layer for AI agents with reasoning, provenance, and governance.
|
|
|
|
| 53 |
axolotl
Fine-tuning
|
14,041 |
12,440 |
|
Fine-tuning
AI and Agents
AI & ML
|
→ |
|
A framework for fine-tuning and post-training large language models.
|
|
|
|
| 54 |
pangu.py
Chinese
|
11,934 |
278 |
|
Chinese
Natural Language Processing
AI & ML
|
→ |
|
Paranoid text spacing.
|
|
|
|
| 55 |
kittentts
Speech
|
3,391 |
15,431 |
|
Speech
AI and Agents
AI & ML
|
→ |
|
Lightweight ONNX text-to-speech library with small CPU-friendly models.
|
|
|
|
| 56 |
vibevoice
Speech
|
734 |
53,691 |
|
Speech
AI and Agents
AI & ML
|
→ |
|
A family of open-source voice AI models from Microsoft for text-to-speech and long-form speech recognition.
|
|
|
|
| 57 |
trailofbits-skills
Agent Skills
|
Not on PyPI |
6,971 |
|
Agent Skills
AI and Agents
AI & ML
|
→ |
|
Python-friendly security skills for auditing, testing, and safer backend development.
|
|
|
|
| 58 |
sentry-skills
Agent Skills
|
Not on PyPI |
979 |
|
Agent Skills
AI and Agents
AI & ML
|
→ |
|
Python-focused engineering skills for code review, debugging, and backend workflows.
|
|
|
|
| 59 |
django-ai-plugins
Agent Skills
|
Not on PyPI |
135 |
|
Agent Skills
AI and Agents
AI & ML
|
→ |
|
Django backend agent skills for Django, DRF, Celery, and Django-specific code review.
|
|
|
|