Skip to main content

Hugging Face Downloader

A tool to download models from Hugging Face.

Link to PyPI

You can find this package on PyPI: hf_download

Installation

pip install hf_download

Usage

hf_download user/repo filename

Obtaining a Hugging Face Token

  1. Go to the Hugging Face website.
  2. Log in to your account or create a new one.
  3. Navigate to your profile settings.
  4. Under the "Access Tokens" section, create a new token.
  5. Copy the generated token.

Now, set the token as an environment variable:

Setting Up Environment Variables

Linux/MacOS

export HF_TOKEN=your_huggingface_token_here

Windows

set HF_TOKEN=your_huggingface_token_here

Release files for hf-download 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hf-download 1.0
File Size Uploaded
hf_download-1.0.tar.gz 6.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hf-download 1.0
File Interpreter ABI Platform
hf_download-1.0-py3-none-any.whl Python 3 none any Details

Total release size:13.1 kB

Release files / hf_download-1.0.tar.gz

Download URL hf_download-1.0.tar.gz
Size 6.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c56fd72e657b51cf3cb8e21f0c749e46dcc7e28d5e439d455f482caec74aec8e
BLAKE2b-256 checksum
How to use checksums
68df1cdef6e909b1ac036d9820371c5b3c757aa6ab8c5138b0a8f770e22a001b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.8.18

Release files / hf_download-1.0-py3-none-any.whl

Download URL hf_download-1.0-py3-none-any.whl
Size 6.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
703650f1c0bda434c0e57393fafe6e8ee67fbef601389a6209a8f99982984158
BLAKE2b-256 checksum
How to use checksums
65fbacf26d456c650379384aaabd98f89a93a7cee611059218c5e414c5fe4550
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.8.18

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page