PyPI StatsPyPI Stats
DiscoverCompareTrendingDashboard
PyPI Stats — Download analytics for Python packages
APIGitHubPrivacyTerms

Sign in to subscribe to our weekly trending newsletter.

Download data sourced from BigQuery (Google). Counts may include CI/CD and mirror traffic.
Inspired by and built upon the work of pypistats.org
Discover/Machine Learning & AI
🤖

Best Python Machine Learning & AI Libraries

Libraries for machine learning, deep learning, neural networks, and artificial intelligence.

24 packages · ranked by health score & downloads

Trending this week

↑ huggingface-hub↑ langchain-core↑ onnxruntime↑ datasets↑ fastmcp
#1langchainv1.2.10
91

Building applications with LLMs through composability

215.2M/moMIT★ 131.6K
#2huggingface-hubv1.5.0↑
90

Client library to download and publish models, datasets and other repos on the huggingface.co hub

189.0M/moApache-2.0★ 3.5K
#3transformersv5.3.0↓
89

Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for

118.9M/moApache 2.0 License★ 158.6K
#4langchain-corev1.2.17↑
90

Building applications with LLMs through composability

94.5M/moMIT★ 131.6K
#5torchv2.10.0
89

Tensors and Dynamic neural networks in Python with strong GPU acceleration

80.6M/moBSD-3-Clause★ 98.6K
#6hf-xetv1.3.2
79

Fast transfer of large files with the Hugging Face Hub.

126.9M/mo★ 444
#7onnxruntimev1.24.2↑
88

ONNX Runtime is a runtime accelerator for Machine Learning models

74.3M/moMIT License★ 19.7K
#8tokenizersv0.22.2
76
123.9M/mo★ 10.6K
#9datasetsv4.6.1↑
88

HuggingFace community-driven open-source library of datasets

64.4M/moApache 2.0
#10fastmcpv3.1.0↑
81

The fast, Pythonic way to build MCP servers and clients.

71.9M/mo
#11nltkv3.9.3
86

Natural Language Toolkit

54.2M/moApache License, Version 2.0★ 14.6K
#12nvidia-nccl-cu12v2.29.7↓
80

NVIDIA Collective Communication Library (NCCL) Runtime

59.7M/mo
#13safetensorsv0.7.0
78
65.0M/mo★ 3.7K
#14langchain-openaiv1.1.10
82

An integration package connecting OpenAI and LangChain

48.8M/moMIT
#15mlflow-skinnyv3.10.0↑
88

MLflow is an open source platform for the complete machine learning lifecycle

32.7M/moApache-2.0★ 25.0K
#16mlflowv3.10.0
89

MLflow is an open source platform for the complete machine learning lifecycle

30.5M/moApache-2.0★ 25.0K
#17langchain-text-splittersv1.1.1
82

LangChain text splitting utilities

39.1M/moMIT★ 131.3K
#18acceleratev1.13.0↑
90

Accelerate

23.7M/moApache★ 9.6K
#19wandbv0.25.0
89

A CLI and library for interacting with the Weights & Biases API.

21.8M/moMIT★ 10.9K
#20tritonclientv2.66.0↑
95

Python client library and utilities for communicating with Triton Inference Server

16.5M/moBSD
#21nvidia-cublas-cu12v12.9.1.4↓
74

CUBLAS native runtime libraries

43.1M/moLicenseRef-NVIDIA-Proprietary
#22tf-keras-nightlyv2.21.0.dev2026030410
81

Deep learning for humans.

30.7M/moApache 2.0★ 84
#23nvidia-cusparse-cu12v12.5.10.65↓
74

CUSPARSE native runtime libraries

42.0M/moLicenseRef-NVIDIA-Proprietary
#24tensorflowv2.20.0↓
89

TensorFlow is an open source machine learning framework for everyone.

20.9M/moApache 2.0★ 194.4K
← All categoriesSearch machine learning & ai packages →