Hub
Python client for the Hugging Face Hub API
Mon
Wed
Fri
JulAugSepOctNovDecJanFebMarAprMayJunJul
LessMore
Releases23Avg Interval4dAvg Cadence7/mo
v1.22.0
Sandboxes introduce isolated cloud VMs with live-streamed output, file transfer, and a proxy for reaching in-sandbox servers. Snapshot downloads now cache repo file listings on disk for a single-network-call re-download. The CLI was rebuilt on Click, deprecating Typer. Breaking changes include case-sensitive pattern matching on all platforms, removal of six inference providers, and deprecation of upload_large_folder.
v1.20.0
Browser-based OAuth Device Code flow is now the default login method, and hf upload uses a streamed multi-commit pipeline for faster, resumable large folder uploads. Also adds job wait commands, SSH access to running Jobs, and custom-container deployment for Inference Endpoints, with breaking changes around multi-commit uploads and non-detached job exit codes.
v1.19.0
Keyless CI/CD authentication is now supported via Trusted Publishers, allowing workflows to authenticate without storing an HF_TOKEN secret. The CLI now accepts hf:// URIs for uploading and downloading, and jobs can expose container ports through the public jobs proxy.
v1.18.0
A new unified hf cp command handles all file-copy workflows (upload, download, remote-to-remote) with consistent hf:// URI syntax and rsync-style semantics. parse_hf_uri now accepts Hugging Face web URLs directly. Fixed a data corruption bug where concurrent hf_hub_download calls could append to the same .incomplete file on Lustre, GPFS, and some NFS mounts where flock(2) provides no mutual exclusion; downloads now use fresh temporary files instead of resuming incomplete ones, making the download path safe even when file locking is broken. This is a breaking change: resuming previously failed partial downloads is no longer possible.
v1.17.0
You can now copy files or entire folders between different repositories without downloading or re-uploading, with LFS blobs deduplicated server-side. Added hf spaces ssh to open SSH sessions directly into a Space's Dev Mode container, and hf repos ls to list all your repositories with storage size and usage sorting. CLI tables now auto-fit to terminal width with per-column width caps and automatically right-align numeric columns.
v1.16.4
Capped typer below 0.26.0 to resolve CLI incompatibility, and added click as an explicit dependency.
v1.15.0
The create_bucket and create_repo APIs now accept an optional region argument ("us" or "eu") to pin new resources to a specific cloud region, with matching --region flags on the CLI. A new hf skills list command lists all available marketplace skills and shows which are already installed across project, global, and Claude locations. Help output now uses ANSI styling with underlined section headings and bold option names for better readability in terminals.
v1.14.0
🖥️ Manage Space secrets and variables from the CLI
You can now manage Space secrets and environment variables directly from the command line with two new hf spaces subgroups: secrets and variables. Use hf spaces secrets to add, list, and delete write-only secrets,…
v1.13.0
🖥️ New CLI commands: repo cards, file listings, and dataset leaderboards
This release adds three new CLI capabilities for exploring Hub content. hf models card, hf datasets card, and hf spaces card fetch the README of any repo and print it to stdout, with…
v1.12.2
- [Inference Providers] Add DeepInfra support in https://github.com/huggingface/huggingface_hub/pull/4114 by @hanouticelina
Full Changelog: https://github.com/huggingface/huggingface_hub/compare/v1.12.1...v1.12.2
v1.12.0
🖥️ Unified output format for hf buckets commands
All hf buckets commands now use the unified --format [auto|human|agent|json|quiet] flag and the out singleton for consistent, scriptable output. The previous --quiet and --format table|json flags have been…
v1.11.0
🔍 Semantic search for Spaces
Discover Spaces using natural language. The new search_spaces() API and hf spaces search CLI use embedding-based semantic search to find relevant Spaces based on what they do - not just keyword matching on their name.
>>>…v1.10.2
- Fix reference cycle in hf_raise_for_status causing delayed object destruction by @Wauplin in #4092
Full Changelog: https://github.com/huggingface/huggingface_hub/compare/v1.10.1...v1.10.2
v1.10.1
- Fix copy file to folder (#4075)
- [CLI ]Improving a bit hf CLI discoverability (#4079)
- Support kernels in list_liked_repos (#4078)
Full Changelog: https://github.com/huggingface/huggingface_hub/compare/v1.10.0...v1.10.1