The official Python client for the Huggingface Hub.
CLI Documentation: https://huggingface.co/docs/huggingface_hub/guides/cli
Source Code: https://github.com/huggingface/huggingface_hub
[!TIP] This package provides a clean CLI interface via
uvx hf. It is not meant to be used as a package in scripts. Usehuggingface_hubinstead.
Usage
Install and use the CLI with uv:
uvx hf version
uvx hf auth whoami
uvx hf download MiniMaxAI/MiniMax-M2
Note
The legacy hf package (which provided a Mapping interface to HuggingFace) has been moved to hfdol.
Release files for hf 1.28.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hf-1.28.0-py3-none-any.whl | Python 3 | none | any | Details |
Release files / hf-1.28.0-py3-none-any.whl
| Download URL | hf-1.28.0-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
af5264733a95c90fb62cf3a0636962c1b6665bb4570e2e2cef5c84c197c360ca
|
|
BLAKE2b-256 checksum How to use checksums |
58719e59544a49567dfef5e08e69da526d8c083b1b3306d8418bbeede2f0463e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 18, 2026.
Transparency log