#6868th of 206 in ML frameworks and libraries
huggingface_hub
Official hf CLI and Python client for the Hugging Face Hub
- Stars
- 4k
- License
- Apache-2.0
- Last commit
- Nov 2026
- Last release
- Oct 2026
- Language
- Python
3,505 on 22 Apr 20264,042 on 11 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
huggingface_hub is the official Python library and `hf` command-line tool for the Hugging Face Hub. It downloads and uploads models, datasets and Spaces, manages repos, searches the Hub, runs inference on deployed models and launches Jobs on Hugging Face infrastructure. It also ships an `hf` CLI skill that coding agents such as Claude Code, Codex and Cursor can load.
Who it is for: Developers who download, publish or script against Hugging Face Hub models
Strengths
- One package provides both the `hf` CLI and a Python API for downloads, uploads and repos
- Local cache for downloaded files; Xet chunk-deduplicated storage on the Hub handles large files
- `hf skills add` installs a command reference for Claude Code, Codex, Cursor and others
- Optional extras such as `[mcp]` keep the default install minimal
Weaknesses
- Tied to the Hugging Face Hub; it is a client, not a self-hostable server
- Inference and Jobs run on Hugging Face infrastructure, not locally
- Uploads and private repos require an access token
- Does not run models locally; a separate framework is needed for that
What it needs
- no GPU
- Needs Hugging Face Hub account and access token
- Models: Hub-hosted models and datasets, safetensors
What changed
- v2.2.0 ↗ (opens in a new tab)Breaking
“hf jobs stats and HfApi.fetchjobmetrics return a single snapshot by default instead of streaming until the job completes. Use -f/--follow or follow=True to keep the previous behavior. See the section…”
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Also in ML frameworks and libraries
See all 206| Rank | Project | Score |
|---|---|---|
| 1 | transformersPython library defining open models for text, vision, audio and multimodal tasks | 94 out of 100 |
| 2 | ultralyticsPython library and CLI for training and running YOLO vision models | 94 out of 100 |
| 3 | pytorchPython tensor library with GPU support and tape-based autograd | 93 out of 100 |
| #4 | pytorch-image-modelsPyTorch library of image models, pretrained weights and training scripts | 93 out of 100 |
| #5 | supervisionPython toolkit for loading, annotating and counting computer vision detections | 92 out of 100 |