{"id":31959475,"url":"https://github.com/huggingface/hf_transfer","last_synced_at":"2025-10-14T15:32:40.871Z","repository":{"id":149173215,"uuid":"579013401","full_name":"huggingface/hf_transfer","owner":"huggingface","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-11T16:06:13.000Z","size":118,"stargazers_count":511,"open_issues_count":17,"forks_count":37,"subscribers_count":33,"default_branch":"main","last_synced_at":"2025-09-30T18:02:28.447Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/huggingface.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-12-16T12:50:20.000Z","updated_at":"2025-09-28T06:57:29.000Z","dependencies_parsed_at":"2023-11-06T12:30:31.130Z","dependency_job_id":"a1be6f11-bb72-4437-bc9a-b666087652d5","html_url":"https://github.com/huggingface/hf_transfer","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/huggingface/hf_transfer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huggingface%2Fhf_transfer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huggingface%2Fhf_transfer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huggingface%2Fhf_transfer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huggingface%2Fhf_transfer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/huggingface","download_url":"https://codeload.github.com/huggingface/hf_transfer/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/huggingface%2Fhf_transfer/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279019322,"owners_count":26086711,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-14T15:31:48.885Z","updated_at":"2025-10-14T15:32:40.866Z","avatar_url":"https://github.com/huggingface.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"# HF Transfer\n\nSpeed up file transfers with the Hub.\n\n# DISCLAIMER\n\nThis library is a power user tool, to go beyond `~500MB/s` on very high bandwidth\nnetwork, where Python cannot cap out the available bandwidth.\n\nThis is *not* meant to be a general usability tool.\nIt purposefully lacks progressbars and comes generally as-is.\n\nPlease file issues *only* if there's an issue on the underlying downloaded file.\n\n## Contributing\n\n```sh\npython3 -m venv ~/.venv/hf_transfer\nsource ~/.venv/hf_transfer/bin/activate\npip install maturin\nmaturin develop\n```\n\n### `huggingface_hub`\n\nIf you are working on changes with `huggingface_hub`\n\n```sh\ngit clone git@github.com:huggingface/huggingface_hub.git\n# git clone https://github.com/huggingface/huggingface_hub.git\n\ncd huggingface_hub\npython3 -m pip install -e \".[quality]\"\n```\n\nYou can use the following test script:\n\n```py\nimport os\n\n# os.environ[\"HF_ENDPOINT\"] = \"http://localhost:5564\"\nos.environ[\"HF_HUB_ENABLE_HF_TRANSFER\"] = \"1\"\n\nfrom huggingface_hub import HfApi, logging\n\nlogging.set_verbosity_debug()\nhf = HfApi()\nhf.upload_file(path_or_fileobj=\"/path/to/my/repo/some_file\", path_in_repo=\"some_file\", repo_id=\"my/repo\", repo_type=\"model\")\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuggingface%2Fhf_transfer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhuggingface%2Fhf_transfer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhuggingface%2Fhf_transfer/lists"}