$npx skillfedfor your agent

huggingface-hub

Client library to download and publish models, datasets and other repos on the huggingface.co hub

Worth itPyPI Artificial IntelligenceReleased Aug 2026442.4M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — huggingface_hub-1.27.0-py3-none-any.whl
v1.27.0 · released 2026-08-07 · Python >=3.10.0 · 9 runtime deps: click, filelock, fsspec, hf-xet, httpx, packaging, pyyaml, tqdm

Yes. The package is actively maintained, has no known vulnerabilities, uses a permissive license, and is ranked in the top 100 PyPI packages by downloads. Install friction is low, dependencies are stable and widely used, and it is the official client for a major ML platform. Install it if you work with Hugging Face Hub models or datasets.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low friction install with a wheel distribution.
  • Active maintenance with a release 7 days ago and last commit on 2026-08-13.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and state significant changes.

last release 2026-08-07 (7 days) · last repo commit 2026-08-13 · 3,799 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 442,399,796 downloads/mo, #93 on PyPI

Verify before relying

pip install huggingface_hub

from huggingface_hub import hf_hub_download
hf_hub_download(repo_id="zai-org/GLM-5.2", filename="config.json")
  • Whether optional dependencies (e.g., mcp) are required for specific use cases beyond the core install.
  • Performance characteristics for very large file downloads or uploads.
  • Caching behavior and disk space requirements for downloaded models.
Same gist for agents: .md · .json

What it is and what it does

huggingface_hub is the official Python client and command-line interface for the Hugging Face Hub, a platform hosting open-source machine learning models, datasets, and applications. It provides two interfaces—a Python library and an `hf` CLI—that let you download pre-trained models and datasets, upload your own repositories, manage model cards and documentation, run inference on deployed models, and execute jobs on Hugging Face infrastructure. The library is designed to work with both human users and AI agents, adapting its output format accordingly.

The package wraps HTTP interactions with the Hub via httpx, manages local caching with filelock and fsspec, and provides command-line utilities through click. It handles authentication via tokens, supports repository operations (create, upload, download, sync), and integrates with the Hub's Xet storage backend for efficient large-file versioning. Installation is straightforward with pip, and the package maintains broad Python version support from 3.10 onward.

Use it for

  • Download pre-trained models or datasets from the Hub for use in your ML pipeline or research.
  • Upload trained models and datasets to your own Hub repository for sharing and versioning.
  • Manage model repositories programmatically—create repos, update files, and handle metadata.
  • Run inference on models deployed to the Hub without managing your own inference infrastructure.
  • Execute training or evaluation jobs on Hugging Face cloud infrastructure from your local environment.
  • Search and discover models, datasets, and community projects hosted on the Hub.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no known vulnerabilities, uses a permissive license, and is ranked in the top 100 PyPI packages by downloads. Install friction is low, dependencies are stable and widely used, and it is the official client for a major ML platform. Install it if you work with Hugging Face Hub models or datasets.

Install

huggingface-hub on PyPI

Before you install

Low friction install with a wheel distribution. Active maintenance with a release 7 days ago and last commit on 2026-08-13. Supports Python 3.10 through 3.14. Nine runtime dependencies are all common utilities (click, httpx, fsspec, pyyaml, tqdm, packaging, filelock, typing-extensions, hf-xet).

Requires Python 3.10 or later.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you must include a copy of the license and state significant changes.

Quickstart

pip install huggingface_hub

from huggingface_hub import hf_hub_download
hf_hub_download(repo_id="zai-org/GLM-5.2", filename="config.json")

Verify before relying

  • Whether optional dependencies (e.g., mcp) are required for specific use cases beyond the core install.
  • Performance characteristics for very large file downloads or uploads.
  • Caching behavior and disk space requirements for downloaded models.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
9 packages
clickfilelockfsspechf-xethttpxpackagingpyyamltqdmtyping-extensions
MaintenanceActively maintained 7 days since the last release
Last repo commit
First released
Downloads442,399,796 / month, #93 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering :: Artificial Intelligence

Evidence: huggingface_hub-1.27.0-py3-none-any.whl

Tags

Capabilities
hugging face hub clientdownload models from hubupload to hugging facemodel repository managementhuggingface cli toolmachine learning model hostingdataset download and upload
Topics
model-hubmachine-learningcli-tool
PyPI keywords
model-hubmachine-learningmodelsnatural-language-processingdeep-learningpytorchpretrained-models

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “download models from hub”

  • huggingface-hubClient library and CLI tool for downloading, uploading, and managing…
  • hfA command-line interface for interacting with the Hugging Face…
  • modelscope-hubDownload, upload, and manage AI models, datasets, and other assets on…

Give your agent the search over MCP, or paste the wish link into any chat.

More Artificial Intelligence packages

litellm With conditions
PyPI · Artificial Intelligence · released Aug 2026

LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.

Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.

MITcompiled wheel
682.8Mdownloads / mo
langchain Worth it
PyPI · Python Modules · released Aug 2026

LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.

MITpure Python
315.4Mdownloads / mo
hf-xet With conditions
PyPI · Artificial Intelligence · released Aug 2026

hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.

Apache-2.0compiled wheel · 3.8+
258.4Mdownloads / mo
tokenizers Worth it
PyPI · Artificial Intelligence · released Apr 2026

Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.

Apache-2.0compiled wheel · 3.10+
222.9Mdownloads / mo
transformers Worth it
PyPI · Artificial Intelligence · released Aug 2026

Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.

Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.

permissive licensepure Python · 3.10.0+
186.6Mdownloads / mo
langchain-core Worth it
PyPI · Python Modules · released Aug 2026

LangChain Core provides the foundational abstractions and interfaces for building LLM applications, enabling modular composition of language model chains, agents, and tools across the LangChain ecosystem.

Install it if you are building any LLM application that benefits from modular abstractions and ecosystem interoperability.

MITpure Python
176.0Mdownloads / mo

See also hf · modelscope-hub · spaces · kagglehub · datasets · truss-transfer · hf-transfer · huggingface · text-generation