| 1 |
LiteLLM
LLM Gateways
|
271,946,590 |
58,733 |
|
LLM Gateways
AI and Agents
AI & ML
|
→ |
|
Call 100+ LLMs using OpenAI format.
|
|
|
|
| 2 |
scikit-learn
General
|
193,814,448 |
67,254 |
|
General
Machine Learning
AI & ML
|
→ |
|
The most popular Python library for Machine Learning with extensive documentation and community support.
|
|
|
|
| 3 |
langchain
Orchestration
|
186,768,790 |
146,333 |
|
Orchestration
AI and Agents
AI & ML
|
→ |
|
Building applications with LLMs through composability.
|
|
|
|
| 4 |
transformers
Pre-trained Models
|
120,010,616 |
165,958 |
|
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.
|
|
|
|
| 5 |
pytorch
Frameworks
|
68,140,216 |
103,008 |
|
Frameworks
Deep Learning
AI & ML
|
→ |
|
Tensors and Dynamic neural networks in Python with strong GPU acceleration.
|
|
|
|
| 6 |
langgraph
Orchestration
|
49,034,954 |
41,646 |
|
Orchestration
AI and Agents
AI & ML
|
→ |
|
Low-level orchestration framework for building stateful, long-running LLM agents.
|
|
|
|
| 7 |
nltk
General
|
48,645,610 |
14,718 |
|
General
Natural Language Processing
AI & ML
|
→ |
|
A leading platform for building Python programs to work with human language data.
|
|
|
|
| 8 |
sglang
LLM Inference and Serving
|
43,169,244 |
35,956 |
|
LLM Inference and Serving
AI and Agents
AI & ML
|
→ |
|
A high-performance serving framework for large language models and multimodal models.
|
|
|
|
| 9 |
opencv-python
General
|
35,959,487 |
5,388 |
|
General
Computer Vision
AI & ML
|
→ |
|
Open Source Computer Vision Library.
|
|
|
|
| 10 |
xgboost
Gradient Boosting
|
33,721,685 |
28,765 |
|
Gradient Boosting
Machine Learning
AI & ML
|
→ |
|
A scalable, portable, and distributed gradient boosting library.
|
|
|
|
| 11 |
claude-agent-sdk
Vendor Agent SDKs
|
28,585,637 |
8,096 |
|
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.
|
|
|
|
| 12 |
spacy
General
|
22,982,369 |
33,899 |
|
General
Natural Language Processing
AI & ML
|
→ |
|
A library for industrial-strength natural language processing in Python and Cython.
|
|
|
|
| 13 |
instructor
Data Layer
|
21,204,510 |
13,891 |
|
Data Layer
AI and Agents
AI & ML
|
→ |
|
A library for extracting structured data from LLMs, powered by Pydantic.
|
|
|
|
| 14 |
openai-agents
Vendor Agent SDKs
|
20,543,051 |
29,433 |
|
Vendor Agent SDKs
AI and Agents
AI & ML
|
→ |
|
OpenAI's framework for building and managing AI agents.
|
|
|
|
| 15 |
lightgbm
Gradient Boosting
|
19,662,252 |
18,764 |
|
Gradient Boosting
Machine Learning
AI & ML
|
→ |
|
A fast, distributed, high performance gradient boosting framework.
|
|
|
|
| 16 |
pytesseract
OCR
|
17,025,845 |
6,386 |
|
OCR
Computer Vision
AI & ML
|
→ |
|
|
|
|
|
| 17 |
crewai
Orchestration
|
15,666,182 |
58,550 |
|
Orchestration
AI and Agents
AI & ML
|
→ |
|
A framework for orchestrating role-playing autonomous AI agents for collaborative task solving.
|
|
|
|
| 18 |
keras
Frameworks
|
13,207,389 |
64,322 |
|
Frameworks
Deep Learning
AI & ML
|
→ |
|
A high-level deep learning library with support for JAX, TensorFlow, and PyTorch backends.
|
|
|
|
| 19 |
tensorflow
Frameworks
|
13,108,977 |
200,085 |
|
Frameworks
Deep Learning
AI & ML
|
→ |
|
The most popular Deep Learning framework created by Google.
|
|
|
|
| 20 |
jax
Frameworks
|
11,897,453 |
36,299 |
|
Frameworks
Deep Learning
AI & ML
|
→ |
|
A library for high-performance numerical computing with automatic differentiation and JIT compilation.
|
|
|
|
| 21 |
pytorch-lightning
Frameworks
|
11,508,383 |
31,341 |
|
Frameworks
Deep Learning
AI & ML
|
→ |
|
Deep learning framework to train, deploy, and ship AI products Lightning fast.
|
|
|
|
| 22 |
peft
Fine-tuning
|
8,723,488 |
21,673 |
|
Fine-tuning
AI and Agents
AI & ML
|
→ |
|
A library for parameter-efficient fine-tuning of large pretrained models.
|
|
|
|
| 23 |
pydantic-ai
Orchestration
|
7,165,957 |
19,936 |
|
Orchestration
AI and Agents
AI & ML
|
→ |
|
A Python agent framework for building generative AI applications with structured schemas.
|
|
|
|
| 24 |
diffusers
Image and Video Generation
|
5,631,413 |
34,511 |
|
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.
|
|
|
|
| 25 |
catboost
Gradient Boosting
|
5,123,279 |
9,101 |
|
Gradient Boosting
Machine Learning
AI & ML
|
→ |
|
A fast, scalable, high performance gradient boosting on decision trees library.
|
|
|
|
| 26 |
ultralytics
General
|
5,080,014 |
61,593 |
|
General
Computer Vision
AI & ML
|
→ |
|
Ultralytics YOLO for object detection, segmentation, pose estimation, and classification with state-of-the-art accuracy and speed.
|
|
|
|
| 27 |
openai-whisper
Speech
|
4,995,020 |
109,106 |
|
Speech
AI and Agents
AI & ML
|
→ |
|
A general-purpose automatic speech recognition model trained on 680k hours of multilingual and multitask supervised data.
|
|
|
|
| 28 |
dspy
Prompt Optimization
|
4,946,344 |
38,023 |
|
Prompt Optimization
AI and Agents
AI & ML
|
→ |
|
A framework for programming, not prompting, language models.
|
|
|
|
| 29 |
jieba
Chinese
|
4,896,120 |
35,152 |
|
Chinese
Natural Language Processing
AI & ML
|
→ |
|
The most popular Chinese text segmentation library.
|
|
|
|
| 30 |
llama-index
Data Layer
|
4,593,589 |
52,163 |
|
Data Layer
AI and Agents
AI & ML
|
→ |
|
A data framework for your LLM application.
|
|
|
|
| 31 |
gymnasium
Reinforcement Learning
|
4,227,703 |
12,533 |
|
Reinforcement Learning
Deep Learning
AI & ML
|
→ |
|
A standard API for reinforcement learning environments with popular reference environments ( gym successor).
|
|
|
|
| 32 |
gensim
General
|
3,544,197 |
16,484 |
|
General
Natural Language Processing
AI & ML
|
→ |
|
Topic Modeling for Humans.
|
|
|
|
| 33 |
vllm
LLM Inference and Serving
|
2,929,385 |
91,754 |
|
LLM Inference and Serving
AI and Agents
AI & ML
|
→ |
|
A high-throughput and memory-efficient inference and serving engine for LLMs.
|
|
|
|
| 34 |
mem0
Data Layer
|
2,565,861 |
65,289 |
|
Data Layer
AI and Agents
AI & ML
|
→ |
|
An intelligent memory layer for AI agents enabling personalized interactions.
|
|
|
|
| 35 |
kornia
General
|
2,499,430 |
11,357 |
|
General
Computer Vision
AI & ML
|
→ |
|
Open Source Differentiable Computer Vision Library for PyTorch.
|
|
|
|
| 36 |
easyocr
OCR
|
2,289,002 |
29,989 |
|
OCR
Computer Vision
AI & ML
|
→ |
|
Ready-to-use OCR with 40+ languages supported.
|
|
|
|
| 37 |
gTTS
Speech
|
1,808,780 |
2,635 |
|
Speech
AI and Agents
AI & ML
|
→ |
|
Python library and CLI tool for converting text to speech using Google Translate TTS.
|
|
|
|
| 38 |
pypinyin
Chinese
|
1,531,280 |
5,362 |
|
Chinese
Natural Language Processing
AI & ML
|
→ |
|
Convert Chinese hanzi (漢字) to pinyin (拼音).
|
|
|
|
| 39 |
unsloth
Fine-tuning
|
1,426,969 |
76,168 |
|
Fine-tuning
AI and Agents
AI & ML
|
→ |
|
A library for faster LLM fine-tuning and training with reduced memory usage.
|
|
|
|
| 40 |
annoy
AI & ML
|
1,006,249 |
14,299 |
|
Recommender Systems
AI & ML
|
→ |
|
Approximate Nearest Neighbors in C++/Python optimized for memory usage.
|
|
|
|
| 41 |
stable-baselines3
Reinforcement Learning
|
886,437 |
13,796 |
|
Reinforcement Learning
Deep Learning
AI & ML
|
→ |
|
PyTorch implementations of Stable Baselines (deep) reinforcement learning algorithms.
|
|
|
|
| 42 |
stanza
General
|
798,046 |
7,877 |
|
General
Natural Language Processing
AI & ML
|
→ |
|
The Stanford NLP Group's official Python library, supporting 60+ languages.
|
|
|
|
| 43 |
mlx-lm
LLM Inference and Serving
|
735,828 |
7,013 |
|
LLM Inference and Serving
AI and Agents
AI & ML
|
→ |
|
Run and fine-tune large language models on Apple Silicon with MLX.
|
|
|
|
| 44 |
openviking
Data Layer
|
439,907 |
37,239 |
|
Data Layer
AI and Agents
AI & ML
|
→ |
|
A context database for AI agents that unifies memory, resources, and skills.
|
|
|
|
| 45 |
pgmpy
General
|
419,305 |
3,329 |
|
General
Machine Learning
AI & ML
|
→ |
|
A Python library for probabilistic graphical models and Bayesian networks.
|
|
|
|
| 46 |
funasr
Speech
|
328,847 |
20,323 |
|
Speech
AI and Agents
AI & ML
|
→ |
|
Industrial-grade speech recognition toolkit with 170x realtime speed, 50+ languages, speaker diarization, and emotion detection.
|
|
|
|
| 47 |
implicit
AI & ML
|
263,889 |
3,821 |
|
Recommender Systems
AI & ML
|
→ |
|
A fast Python implementation of collaborative filtering for implicit datasets.
|
|
|
|
| 48 |
timesfm
Time Series Forecasting
|
256,304 |
32,490 |
|
Time Series Forecasting
Machine Learning
AI & ML
|
→ |
|
A pretrained foundation model from Google Research for time-series forecasting.
|
|
|
|
| 49 |
feature-engine
General
|
192,289 |
2,279 |
|
General
Machine Learning
AI & ML
|
→ |
|
sklearn compatible API with the widest toolset for feature engineering and selection.
|
|
|
|
| 50 |
hermes-agent
Personal Assistants
|
183,791 |
245,513 |
|
Personal Assistants
AI and Agents
AI & ML
|
→ |
|
An adaptive personal AI assistant that grows with you.
|
|
|
|
| 51 |
fiftyone
General
|
130,708 |
11,085 |
|
General
Computer Vision
AI & ML
|
→ |
|
The open-source tool for building high-quality datasets and computer vision models.
|
|
|
|
| 52 |
scikit-surprise
AI & ML
|
83,179 |
6,814 |
|
Recommender Systems
AI & ML
|
→ |
|
A scikit for building and analyzing recommender systems.
|
|
|
|
| 53 |
semantica
Data Layer
|
20,238 |
12,872 |
|
Data Layer
AI and Agents
AI & ML
|
→ |
|
A graph-native context and knowledge layer for AI agents with reasoning, provenance, and governance.
|
|
|
|
| 54 |
axolotl
Fine-tuning
|
10,874 |
12,472 |
|
Fine-tuning
AI and Agents
AI & ML
|
→ |
|
A framework for fine-tuning and post-training large language models.
|
|
|
|
| 55 |
pangu.py
Chinese
|
10,469 |
278 |
|
Chinese
Natural Language Processing
AI & ML
|
→ |
|
Paranoid text spacing.
|
|
|
|
| 56 |
kittentts
Speech
|
2,257 |
15,454 |
|
Speech
AI and Agents
AI & ML
|
→ |
|
Lightweight ONNX text-to-speech library with small CPU-friendly models.
|
|
|
|
| 57 |
vibevoice
Speech
|
543 |
54,285 |
|
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.
|
|
|
|
| 58 |
trailofbits-skills
Agent Skills
|
Not on PyPI |
7,079 |
|
Agent Skills
AI and Agents
AI & ML
|
→ |
|
Python-friendly security skills for auditing, testing, and safer backend development.
|
|
|
|
| 59 |
sentry-skills
Agent Skills
|
Not on PyPI |
991 |
|
Agent Skills
AI and Agents
AI & ML
|
→ |
|
Python-focused engineering skills for code review, debugging, and backend workflows.
|
|
|
|
| 60 |
django-ai-plugins
Agent Skills
|
Not on PyPI |
139 |
|
Agent Skills
AI and Agents
AI & ML
|
→ |
|
Django backend agent skills for Django, DRF, Celery, and Django-specific code review.
|
|
|
|