{"library":"huggingface-hub","type":"library","category":null,"description":"Official Python client for the Hugging Face Hub. Handles model/dataset/Space downloading, uploading, caching, repo management, and Hub API interactions. Used as a dependency by transformers, datasets, sentence-transformers, and most HF ecosystem packages. The CLI was previously huggingface-cli; in v1.x it was rebranded as hf (also available as a standalone pip install hf package for CLI-only use). Import name: huggingface_hub (underscore). Package name: huggingface-hub (hyphen). These are different from the hf CLI package.","language":"python","status":"active","version":"1.5.0","tags":["huggingface","huggingface-hub","model-download","model-hub","hf-cli","cache","upload","pretrained-models","gated-models"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install huggingface-hub","imports":["from huggingface_hub import hf_hub_download","from huggingface_hub import snapshot_download","from huggingface_hub import login"]},{"cmd":"pip install huggingface-hub[hf-xet]","imports":[]},{"cmd":"pip install huggingface-hub[torch]","imports":[]},{"cmd":"uvx hf version","imports":[]}],"homepage":"https://huggingface.co/docs/hub","github":"https://github.com/huggingface/huggingface_hub","docs":null,"changelog":null,"pypi":"https://pypi.org/project/huggingface-hub/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":90,"avg_install_s":24.3,"avg_import_s":0.84,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/huggingface-hub/compatibility"}}