</>PackageGraphPackageGraph

huggingface-hub

PyPIv1.30.0

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

9
Direct dependencies

Runtime packages this one declares itself.

17
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

5.8 MB
Install size

Unpacked size of this package plus its entire runtime tree.

3
Tree depth

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

BSD-3-ClauseMITMPL-2.0MPL-2.0 AND MIT

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

Release history

50 releases in the last two years, typically about 0 days apart.

Recent versions of huggingface-hub
VersionPublishedSizeLicense
1.30.0latest6 days ago778 KBApache-2.0
1.30.0rc06 days ago778 KBApache-2.0
1.29.013 days ago777 KBApache-2.0
1.29.0rc113 days ago777 KBApache-2.0
1.28.022 days ago775 KBApache-2.0
1.28.0rc022 days ago775 KBApache-2.0
1.27.01 month ago767 KBApache-2.0
1.27.0rc01 month ago767 KBApache-2.0
1.26.11 month ago762 KBApache-2.0
1.26.01 month ago762 KBApache-2.0
1.26.0rc21 month ago762 KBApache-2.0
1.26.0rc11 month ago762 KBApache-2.0
1.26.0rc01 month ago762 KBApache-2.0
1.25.11 month ago757 KBApache-2.0
1.25.01 month ago757 KBApache-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

Keywords

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.