Skip to main content
FOSSA Logo
Skip to package details

huggingface-hub

PyPI4k GitHub stars

v2.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.

LicenseCategoryDependencies
BSD-3-ClausePermissive5 of 14
MITPermissive4 of 14
Apache-2.0Permissive1 of 14
Apache-2.0 OR BSD-2-ClausePermissive1 of 14
PSF-2.0Permissive1 of 14
MIT AND MPL-2.0Weak copyleft1 of 14
MPL-2.0Weak copyleft1 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 free

Vulnerabilities

No known CVEs across published versions

Version history

Published versions
VersionPublishedLicense
2.4.0Oct 2026Apache-2.0
2.3.0Oct 2026
2.2.0Oct 2026
2.1.1Oct 2026
2.1.0Oct 2026
2.0.0Sep 2026
1.33.0Sep 2026
1.32.0Sep 2026
1.31.0Sep 2026
1.30.0Sep 2026
1.29.0Aug 2026
1.28.0Aug 2026
1.27.0Aug 2026
1.26.1Aug 2026
1.26.0Jul 2026
1.25.1Jul 2026
1.25.0Jul 2026
1.24.0Jul 2026
1.23.0Jul 2026
1.22.0Jul 2026
1.21.0Jun 2026
1.20.1Jun 2026
1.20.0Jun 2026
1.19.0Jun 2026
1.18.0Jun 2026
25 older releases
Older published versions
VersionPublishedLicense
1.17.0May 2026
1.16.4May 2026
1.16.3May 2026
1.16.1May 2026
1.16.0May 2026
1.15.0May 2026
1.14.0May 2026
1.13.0Apr 2026
1.12.2Apr 2026
1.12.1Apr 2026
1.12.0Apr 2026
1.11.0Apr 2026
1.10.2Apr 2026
1.10.1Apr 2026
1.10.0Apr 2026
1.9.2Apr 2026
1.9.1Apr 2026
1.9.0Apr 2026
1.8.0Mar 2026
1.7.2Mar 2026
1.7.1Mar 2026
1.7.0Mar 2026
1.6.0Mar 2026
1.5.0Feb 2026
0.36.2Feb 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.

Direct dependencies
PackageVersion rangeLicense
click<9.0.0,>=8.4.2BSD-3-Clause
filelock>=3.10.0MIT
fsspec>=2023.5.0BSD-3-Clause
hf-xet<2.0.0,>=1.6.0Apache-2.0
httpx2<3,>=2.0.0BSD-3-Clause
packaging>=20.9Apache-2.0 OR BSD-2-Clause
pyyaml>=5.1MIT
tqdm>=4.42.1MIT AND MPL-2.0
typing-extensions>=4.1.0PSF-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.

Dependency graph and package metadata from deps.dev (Google Open Source Insights), used under CC BY 4.0.

Download counts from PyPI Stats, sourced from the Python Software Foundation download statistics. Counts cover the last 180 days and exclude known mirrors.

Repository stars from the GitHub API.

OpenSSF Scorecard results from deps.dev.

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.