Skip to main content

Hugging Face Downloader

A tool to download models from Hugging Face.

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

Metadata

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 Provenance Actions
hf_download-1.0.tar.gz 6.3 kB Without provenance Details for hf_download-1.0.tar.gz

Built distribution (wheel)

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

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

Security for hf-download 1.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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