huggingface-hub
PyPIv1.30.0Client library to download and publish models, datasets and other repos on the huggingface.co hub
Safe to adopt
Yes — huggingface-hub scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 6 days ago. 50 releases in the last 2 years.
- ?Adoption: grade ?, Not reported by this registry.
No download data reported for this package yet.
- AMaintenance: grade A, Excellent.
Last published 6 days ago. 50 releases in the last 2 years.
- BWeight: grade B, Good.
Pulls in 17 transitive packages, about 5.8 MB installed (at least — some of the tree is still being crawled).
- BSupply chain: grade B, Good.
This package has a single maintainer (bus factor of 1).
- ALicense: grade A, Excellent.
Apache-2.0 — permissive, with no copyleft found in the dependency tree.
Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.
Install cost
What you actually take on by adding huggingface-hub to a project.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
Longest resolved dependency chain below this package.
Part of this dependency tree has not been crawled yet, so these figures are a lower bound rather than a final total.
Licenses in the dependency tree
Every license you inherit by installing huggingface-hub, not just its own. Check this before a legal review, not after.
Compatibility
- Python
- python >=3.10.0
Quick start
A usage example from the huggingface-hub README.
from huggingface_hub import hf_hub_download
hf_hub_download(repo_id="zai-org/GLM-5.2", filename="config.json")Dependencies
Declared by huggingface-hub v1.30.0. Runtime dependencies are installed with the package; dev dependencies are not.
Used by
Popular packages that depend on huggingface-hub.
Relationship graph
Dependencies (left) and dependents (right) of huggingface-hub.
Frequently installed together
Fundamental package for array computing in Python
Fast, Extensible Progress Meter
Core utilities for Python packages
Alternative regular expression module, to replace re.
No description provided.
Typer, build great CLIs. Easy to code. Based on Python type hints.
No description provided.
Release history
50 releases in the last two years, typically about 0 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 1.30.0latest | 6 days ago | 778 KB | Apache-2.0 |
| 1.30.0rc0 | 6 days ago | 778 KB | Apache-2.0 |
| 1.29.0 | 13 days ago | 777 KB | Apache-2.0 |
| 1.29.0rc1 | 13 days ago | 777 KB | Apache-2.0 |
| 1.28.0 | 22 days ago | 775 KB | Apache-2.0 |
| 1.28.0rc0 | 22 days ago | 775 KB | Apache-2.0 |
| 1.27.0 | 1 month ago | 767 KB | Apache-2.0 |
| 1.27.0rc0 | 1 month ago | 767 KB | Apache-2.0 |
| 1.26.1 | 1 month ago | 762 KB | Apache-2.0 |
| 1.26.0 | 1 month ago | 762 KB | Apache-2.0 |
| 1.26.0rc2 | 1 month ago | 762 KB | Apache-2.0 |
| 1.26.0rc1 | 1 month ago | 762 KB | Apache-2.0 |
| 1.26.0rc0 | 1 month ago | 762 KB | Apache-2.0 |
| 1.25.1 | 1 month ago | 757 KB | Apache-2.0 |
| 1.25.0 | 1 month ago | 757 KB | Apache-2.0 |
Overview
huggingface-hub is an PyPI package that client library to download and publish models, datasets and other repos on the huggingface.co hub. It has 2 known dependents in the graph. The latest version is 1.30.0, released under the Apache-2.0 license.
Who should use it
Teams working in the PyPI ecosystem who need client library to download and publish models, datasets and other repos on the huggingface.co hub and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your PyPI stack.
Pros
- Clear open-source license (Apache-2.0).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Maintainers
Frequently asked questions
Should I use huggingface-hub?
Yes — huggingface-hub scores well across adoption, maintenance, weight, supply chain, and licensing. No download data reported for this package yet. Last published 6 days ago. 50 releases in the last 2 years.
How do I install huggingface-hub?
Run `pip install huggingface-hub` to add huggingface-hub to your PyPI project.
How many dependencies does huggingface-hub have?
huggingface-hub declares 9 direct dependencies and pulls in 17 packages in total once its runtime tree is resolved totalling about 5.8 MB on disk.
What license is huggingface-hub released under?
huggingface-hub is distributed under the Apache-2.0 license. Its dependency tree also includes: BSD-3-Clause, MIT, MPL-2.0, MPL-2.0 AND MIT.
How popular is huggingface-hub?
PyPI does not publish download counts. Within PackageGraph's crawl, 2 known packages depend on huggingface-hub.
Is huggingface-hub still maintained?
The most recent release of huggingface-hub (v1.30.0) was published 6 days ago.