Skip to main content

No project description provided

Project description

HF Transfer

Speed up file transfers with the Hub.

Supports download and upload.

Contributing

python3 -m venv ~/.venv/hf_transfer
source ~/.venv/hf_transfer/bin/activate
pip install maturin
maturin develop

huggingface_hub

If you are working on changes with huggingface_hub

git clone git@github.com:huggingface/huggingface_hub.git
# git clone https://github.com/huggingface/huggingface_hub.git

cd huggingface_hub
python3 -m pip install -e ".[quality]"

You can use the following test script:

import os

# os.environ["HF_ENDPOINT"] = "http://localhost:5564"
os.environ["HF_HUB_ENABLE_HF_TRANSFER"] = "1"

from huggingface_hub import HfApi, logging

logging.set_verbosity_debug()
hf = HfApi()
hf.upload_file(path_or_fileobj="/path/to/my/repo/some_file", path_in_repo="some_file", repo_id="my/repo", repo_type="model")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hf_transfer-0.1.3.tar.gz (15.0 kB view details)

Uploaded Source

Built Distributions

hf_transfer-0.1.3-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.9 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

hf_transfer-0.1.3-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.9 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

hf_transfer-0.1.3-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.9 MB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

hf_transfer-0.1.3-cp311-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.11 Windows x86-64

hf_transfer-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

hf_transfer-0.1.3-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (3.2 MB view details)

Uploaded CPython 3.11 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

hf_transfer-0.1.3-cp310-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.10 Windows x86-64

hf_transfer-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

hf_transfer-0.1.3-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (3.2 MB view details)

Uploaded CPython 3.10 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

hf_transfer-0.1.3-cp39-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.9 Windows x86-64

hf_transfer-0.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

hf_transfer-0.1.3-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (3.2 MB view details)

Uploaded CPython 3.9 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

hf_transfer-0.1.3-cp38-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.8 Windows x86-64

hf_transfer-0.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

hf_transfer-0.1.3-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (3.2 MB view details)

Uploaded CPython 3.8 macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

hf_transfer-0.1.3-cp37-none-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.7 Windows x86-64

hf_transfer-0.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.9 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

hf_transfer-0.1.3-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl (3.2 MB view details)

Uploaded CPython 3.7m macOS 10.9+ universal2 (ARM64, x86-64) macOS 10.9+ x86-64 macOS 11.0+ ARM64

File details

Details for the file hf_transfer-0.1.3.tar.gz.

File metadata

  • Download URL: hf_transfer-0.1.3.tar.gz
  • Upload date:
  • Size: 15.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.14.15

File hashes

Hashes for hf_transfer-0.1.3.tar.gz
Algorithm Hash digest
SHA256 7afd7eb03efad7812a48591b639b2e3f3d1f93c1e9060c18cc63ebf08d7e193c
MD5 400d448fa4e0638ed3d7246ebe919860
BLAKE2b-256 d19f33013d415624f6fd9207105f7b81787ddde91fb6adc507676d8abaab79be

See more details on using hashes here.

File details

Details for the file hf_transfer-0.1.3-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hf_transfer-0.1.3-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 efb8b41360c7e3d7700c147b70688aed0a03e86fbe5bcfdee079b0e634f026f9
MD5 489546b3a688fc524ca34876fb752cf9
BLAKE2b-256 e273da9428ca270cab9014feb6666be6d6b0476029934690760d99ca000341a5

See more details on using hashes here.

File details

Details for the file hf_transfer-0.1.3-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hf_transfer-0.1.3-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8a7934c8e491bb395731f677f66dd5f6641432f338a3a9efc9f0b6c186d37cf8
MD5 ae440357b69f9a2e1e231f2b39191c8d
BLAKE2b-256 ce8054fda8236a8647767cbc681ed860b805df4c0c0d0c7bbaaca42ab2ae0cd7

See more details on using hashes here.

File details

Details for the file hf_transfer-0.1.3-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hf_transfer-0.1.3-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3ce6c5965a57d94db5e043aa488a4df929a32000db125d9c9a1d325e8c7006dc
MD5 cad2bfc2f3cd991eea303949b7f8ebef
BLAKE2b-256 01e0e201ed991d59703202489b7b94ac6f4c3980e9ea7032f8214d769eb49ead

See more details on using hashes here.

File details

Details for the file hf_transfer-0.1.3-cp311-none-win_amd64.whl.

File metadata

File hashes

Hashes for hf_transfer-0.1.3-cp311-none-win_amd64.whl
Algorithm Hash digest
SHA256 da92a1483a66cf2baa96de133c75e7d5d9a60e4a0e60d228f26c573c73a1feb6
MD5 df6a0acde34444cef6464f086bf21c5b
BLAKE2b-256 242dbb68c5eb88e2ad33080d8788a925254e9e47ebc6971033c3912fa664ae11

See more details on using hashes here.

File details

Details for the file hf_transfer-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hf_transfer-0.1.3-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 334862f4a82f8a09d6d3f550e67d7e498bb8882e678b7725638254fed3276801
MD5 65a68ffd07f731f64b4ef9b3f9eb883b
BLAKE2b-256 039d68c76c5116e62c03a7d1e116b46608f8c6bac553cf981cf265bab79488f3

See more details on using hashes here.

File details

Details for the file hf_transfer-0.1.3-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for hf_transfer-0.1.3-cp311-cp311-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 d53954ecfaadc84c15481bf5d4c7282323196b4b6df1d1be54208d4fdedfb407
MD5 2fc25d202fcee17b6b8ce7c78590772f
BLAKE2b-256 481a0da258de3b6d4f36d5428fba5bd3b7d60b421817f42a81dfcd6d7c4f386a

See more details on using hashes here.

File details

Details for the file hf_transfer-0.1.3-cp310-none-win_amd64.whl.

File metadata

File hashes

Hashes for hf_transfer-0.1.3-cp310-none-win_amd64.whl
Algorithm Hash digest
SHA256 c9faa88b3491c50d4aa75faf18ae24040cd91aa0565c7f7ba2357dbcbf8372f6
MD5 2f3603c0c2d6ff94a0a1ef13f8eedca7
BLAKE2b-256 e780504a0c0ccf935b990c2f46685b9424462d00946d079bccd53814d3d14cf3

See more details on using hashes here.

File details

Details for the file hf_transfer-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hf_transfer-0.1.3-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 569ef1ec6fec182e706ade4ea0c63f8510fd618ed7ced7c772efaafac7245b07
MD5 6b2c77f55c8d388085d7fa64c9733769
BLAKE2b-256 20be7b8f6270c697982cf2c10bd678aaeb9d3e9a5501138dfd4d2f6eff2475f5

See more details on using hashes here.

File details

Details for the file hf_transfer-0.1.3-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for hf_transfer-0.1.3-cp310-cp310-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 862b6ddba8e236bdc73408c20d020cfe5069cac3fd0b6de901c46f031df2b7d9
MD5 a0d284ec599c64bdb269bf3d61c98a6e
BLAKE2b-256 87065294d2d1a7e87925a08b6dbda72f29433d12928cc15fa02e19e4ca37ab77

See more details on using hashes here.

File details

Details for the file hf_transfer-0.1.3-cp39-none-win_amd64.whl.

File metadata

File hashes

Hashes for hf_transfer-0.1.3-cp39-none-win_amd64.whl
Algorithm Hash digest
SHA256 79099ac043423b263a2843a24213418f309d5c8bc458776622bffe012ebced73
MD5 0f2f4b629453ab2704e87a18f6b08c2c
BLAKE2b-256 9c3fb15e423b63bf2faf2c39e09183b4eb730f50c14261fd9d405e669544f431

See more details on using hashes here.

File details

Details for the file hf_transfer-0.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hf_transfer-0.1.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d935946791e338f748e05a23df877d74fbcd39dc7b537f0aa2e5a5841cf7dde8
MD5 ab3048c7ad98469643b7291c1d32b872
BLAKE2b-256 3d472ea4a5363d763294729b0a57073e796f0e6cbda02e7dd3902c925d813cc2

See more details on using hashes here.

File details

Details for the file hf_transfer-0.1.3-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for hf_transfer-0.1.3-cp39-cp39-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 9913f5ad2644a1f57c1b7755a7d959ca5e0189863bb0473817d0707af230bf6a
MD5 578f69f17e91aeb3ad62290aef7f94ac
BLAKE2b-256 fdecfb0890dbc4facf33959e91154853bddcc8893c6adb82d117c3fbf3a65141

See more details on using hashes here.

File details

Details for the file hf_transfer-0.1.3-cp38-none-win_amd64.whl.

File metadata

File hashes

Hashes for hf_transfer-0.1.3-cp38-none-win_amd64.whl
Algorithm Hash digest
SHA256 606f2fe436e5be73f07987a56cd97c695805413d29203ae39ebd9fc596405435
MD5 f6161d119b40ea89df7bb39ea159234f
BLAKE2b-256 fc78fe0b14c772123be4e4be29f1c3035f42d41ea3796111f94a953ccde65fa1

See more details on using hashes here.

File details

Details for the file hf_transfer-0.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hf_transfer-0.1.3-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0c1bdfa554f0b0936c1623b99058c6998a00fdcd86f75d9203f3f66572d2e30c
MD5 0d9183aaca46fd399d297dd6c79d65ee
BLAKE2b-256 bc92de1f9ead6ab543dde10ec14c1a7f47dc7527afbc916c0b05d2c6276939b1

See more details on using hashes here.

File details

Details for the file hf_transfer-0.1.3-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for hf_transfer-0.1.3-cp38-cp38-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 445edfcd9d59c9d2541957177a9c9225b1f0e8855f6311fb16e20f67c3426421
MD5 082f7afdb249bb0dc80ba6fe9f51af97
BLAKE2b-256 1e966cca780b400fc26f511f33efc9fb2469ad8b5a7dfec95530e494dcc12914

See more details on using hashes here.

File details

Details for the file hf_transfer-0.1.3-cp37-none-win_amd64.whl.

File metadata

File hashes

Hashes for hf_transfer-0.1.3-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 6e5201b648df6106c232fcdb507db734081fd6220dfb1c432bd27c6fa9453331
MD5 a6e53f00a5963dc08b65c418f1b21ad5
BLAKE2b-256 cd7974699729f8328ebb909a82f8764c9b6407f54d2992ec6d955c79db082e3a

See more details on using hashes here.

File details

Details for the file hf_transfer-0.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for hf_transfer-0.1.3-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ca218fb6efc5c22379d9e64989e84bff426fcf5664fdbbf7cd70aa8b79497652
MD5 1ea71bc0f1feeb78c2b6106fc77e0757
BLAKE2b-256 9a1c8220a8196f4988a109b1c139c21a6b8764c0f0fe6a5879dd3b5a81b06e64

See more details on using hashes here.

File details

Details for the file hf_transfer-0.1.3-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl.

File metadata

File hashes

Hashes for hf_transfer-0.1.3-cp37-cp37m-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl
Algorithm Hash digest
SHA256 617692a70cf299576d82cfc860923f29ec5c834a3f5242bc0853d4f106670398
MD5 b2778fd7d3699b3bbccf3a6d73859e95
BLAKE2b-256 145a3f6ea6a8ecceb0e3410d3d8863b06d78d02769bbcd972de7647358f571fc

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page