huggingface-hub
PyPI4k GitHub starsv2.4.0 · Oct 2026 · Apache-2.0 (top-level declared license)
pip install huggingface-hub- No known CVEs
- 232.6M downloads/mo
- 338 versions
Description
The official CLI and Python client for the Hugging Face Hub.
Licenses
Declared license
Apache-2.0 (top-level declared license of huggingface-hub)
Transitive dependency licenses
This package's dependency tree includes MPL-2.0 and 1 other copyleft license. MPL-2.0 may require you to publish changes to that component when you distribute.
| License | Category | Dependencies |
|---|---|---|
| BSD-3-Clause | Permissive | 5 of 14 |
| MIT | Permissive | 4 of 14 |
| Apache-2.0 | Permissive | 1 of 14 |
| Apache-2.0 OR BSD-2-Clause | Permissive | 1 of 14 |
| PSF-2.0 | Permissive | 1 of 14 |
| MIT AND MPL-2.0 | Weak copyleft | 1 of 14 |
| MPL-2.0 | Weak copyleft | 1 of 14 |
This view is derived from declared package metadata, and a full FOSSA scan detects licenses that declared metadata misses. Scan free.
License and vulnerability information on this page is derived from public package metadata and public advisory databases. It is not legal advice, and it reflects the top-level declared license only. Verify the license and terms of any software for your own needs.
Need huggingface-hub approved? Get the full license and vulnerability report for your codebase. Scan free.
Scan freeVulnerabilities
No known CVEs across published versions
Version history
| Version | Published | License |
|---|---|---|
| 2.4.0 | Oct 2026 | Apache-2.0 |
| 2.3.0 | Oct 2026 | |
| 2.2.0 | Oct 2026 | |
| 2.1.1 | Oct 2026 | |
| 2.1.0 | Oct 2026 | |
| 2.0.0 | Sep 2026 | |
| 1.33.0 | Sep 2026 | |
| 1.32.0 | Sep 2026 | |
| 1.31.0 | Sep 2026 | |
| 1.30.0 | Sep 2026 | |
| 1.29.0 | Aug 2026 | |
| 1.28.0 | Aug 2026 | |
| 1.27.0 | Aug 2026 | |
| 1.26.1 | Aug 2026 | |
| 1.26.0 | Jul 2026 | |
| 1.25.1 | Jul 2026 | |
| 1.25.0 | Jul 2026 | |
| 1.24.0 | Jul 2026 | |
| 1.23.0 | Jul 2026 | |
| 1.22.0 | Jul 2026 | |
| 1.21.0 | Jun 2026 | |
| 1.20.1 | Jun 2026 | |
| 1.20.0 | Jun 2026 | |
| 1.19.0 | Jun 2026 | |
| 1.18.0 | Jun 2026 |
25 older releases
| Version | Published | License |
|---|---|---|
| 1.17.0 | May 2026 | |
| 1.16.4 | May 2026 | |
| 1.16.3 | May 2026 | |
| 1.16.1 | May 2026 | |
| 1.16.0 | May 2026 | |
| 1.15.0 | May 2026 | |
| 1.14.0 | May 2026 | |
| 1.13.0 | Apr 2026 | |
| 1.12.2 | Apr 2026 | |
| 1.12.1 | Apr 2026 | |
| 1.12.0 | Apr 2026 | |
| 1.11.0 | Apr 2026 | |
| 1.10.2 | Apr 2026 | |
| 1.10.1 | Apr 2026 | |
| 1.10.0 | Apr 2026 | |
| 1.9.2 | Apr 2026 | |
| 1.9.1 | Apr 2026 | |
| 1.9.0 | Apr 2026 | |
| 1.8.0 | Mar 2026 | |
| 1.7.2 | Mar 2026 | |
| 1.7.1 | Mar 2026 | |
| 1.7.0 | Mar 2026 | |
| 1.6.0 | Mar 2026 | |
| 1.5.0 | Feb 2026 | |
| 0.36.2 | Feb 2026 |
Latest pre-release: 2.4.0rc0 (Oct 2026). Pre-releases (canary, beta, release candidate and similar) are not listed.
pip install huggingface-hub resolves to the 2.x line today. Older major lines may still receive fixes.
Dependencies
Direct dependencies
9 direct dependencies, 14 in total including transitive. Licenses across the full tree are summarized under Licenses.
| Package | Version range | License |
|---|---|---|
| click | <9.0.0,>=8.4.2 | BSD-3-Clause |
| filelock | >=3.10.0 | MIT |
| fsspec | >=2023.5.0 | BSD-3-Clause |
| hf-xet | <2.0.0,>=1.6.0 | Apache-2.0 |
| httpx2 | <3,>=2.0.0 | BSD-3-Clause |
| packaging | >=20.9 | Apache-2.0 OR BSD-2-Clause |
| pyyaml | >=5.1 | MIT |
| tqdm | >=4.42.1 | MIT AND MPL-2.0 |
| typing-extensions | >=4.1.0 | PSF-2.0 |
Dependents
- transformers
- datasets
Based on what each package declares in its published metadata. The dependencies your build actually installs can differ, and a FOSSA scan of your project resolves the full tree.
Popularity
- Downloads last month
- 232.6M
- Known dependents in this corpus
- 17,518
- GitHub stars
- 4k
- OpenSSF score
- 6.9 / 10
FAQ
- What is the latest version of huggingface-hub?
- The latest version of huggingface-hub is 2.4.0, published October 2026.
- What license is huggingface-hub under?
- huggingface-hub declares Apache-2.0 as its top-level declared license. Its dependency tree spans 7 distinct licenses.
- Does huggingface-hub have known vulnerabilities?
- No known CVEs are recorded against published versions of huggingface-hub.
- How do I install huggingface-hub?
- Install huggingface-hub with pip install huggingface-hub.
- How do I generate an SBOM that includes huggingface-hub?
- FOSSA's SBOM generator produces SPDX or CycloneDX output for a codebase that includes huggingface-hub. Generate an SPDX or CycloneDX SBOM free.