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

#1huggingface-hubv2.4.0↓
95

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

150.0M/moApache-2.0★ 4.0K
#2hf-xetv1.8.0↓
88

Fast transfer of large files with the Hugging Face Hub.

126.0M/moApache-2.0★ 625
#3tokenizersv0.23.3↓
89
110.1M/moApache Software License★ 11.2K
#4langchainv1.4.9↓
91

Building applications with LLMs through composability

88.3M/moMIT★ 149.1K
#5transformersv5.22.2↓
97

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

62.2M/moApache 2.0 License★ 168.6K
#6langchain-corev1.7.6↓
89

Building applications with LLMs through composability

85.7M/moMIT★ 149.1K
#7onnxruntimev1.31.1↓
95

ONNX Runtime is a runtime accelerator for Machine Learning models

61.4M/moMIT License★ 22.3K
#8datasetsv5.1.0↓
93
← All categoriesSearch machine learning & ai packages →

HuggingFace community-driven open-source library of datasets

36.7M/moApache 2.0★ 22.1K
#9safetensorsv0.8.0↓
87
47.7M/moApache Software License★ 3.9K
#10torchv2.15.0↓
90

Tensors and Dynamic neural networks in Python with strong GPU acceleration

34.0M/moApache-2.0★ 105.2K
#11fastmcpv4.1.6↓
90

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

30.6M/moApache-2.0★ 28.3K

19 more packages

Sign in for free to see the full list

Sign in free