Skip to main content

Download and cache a hf model for a given url, save to models dir

Project description

dl-hf-model

pytestpythonCode style: blackLicense: MITPyPI version

Download and cache a huggingface model given a url, save to models dir

Install it

pip install dl-hf-model
# pip install git+https://github.com/ffreemt/dl-hf-model
# poetry add git+https://github.com/ffreemt/dl-hf-model
# git clone https://github.com/ffreemt/dl-hf-model && cd dl-hf-model

Use it

from dl_hf_model import dl_hf_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

dl-hf-model-0.1.0a1.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

dl_hf_model-0.1.0a1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file dl-hf-model-0.1.0a1.tar.gz.

File metadata

  • Download URL: dl-hf-model-0.1.0a1.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.8.10 Windows/10

File hashes

Hashes for dl-hf-model-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 88644a4dcb707b677fb2ae5b07d0af0669a9f67b7d8c7c32f2e2ebdb37b99c7f
MD5 a783fe7161d33317c77aab7b3df25033
BLAKE2b-256 8021c14857e1fcfa5aa991e4abdaee85fead996021b8443a8f2da0939e779a03

See more details on using hashes here.

File details

Details for the file dl_hf_model-0.1.0a1-py3-none-any.whl.

File metadata

  • Download URL: dl_hf_model-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.1 CPython/3.8.10 Windows/10

File hashes

Hashes for dl_hf_model-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 dbec38a8dc51ecf0b0ea5f537e2ba8a20d157e4555a2c2c564bd202346edb983
MD5 dbb946b60a38edde3df330dcd5fc559e
BLAKE2b-256 317828e309aac4a70d0d66334580c5eb2de0d0105cfeeeec5caf8610529264da

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