Metadata-Version: 2.1
Name: dl-hf-model
Version: 0.1.0a0
Summary: Download and cache a hf model for a given url, save to models dir
Home-page: https://github.com/ffreemt/dl-hf-model
License: MIT
Author: ffreemt
Requires-Python: >=3.10,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Requires-Dist: huggingface-hub (>=0.16.4,<0.17.0)
Requires-Dist: install (>=1.3.5,<2.0.0)
Requires-Dist: loguru (>=0.7.0,<0.8.0)
Requires-Dist: set-loglevel (>=0.1.2,<0.2.0)
Requires-Dist: typer (>=0.4.1,<0.5.0)
Project-URL: Repository, https://github.com/ffreemt/dl-hf-model
Description-Content-Type: text/markdown

# dl-hf-model
[![pytest](https://github.com/ffreemt/dl-hf-model/actions/workflows/routine-tests.yml/badge.svg)](https://github.com/ffreemt/dl-hf-model/actions)[![python](https://img.shields.io/static/v1?label=python+&message=3.8%2B&color=blue)](https://www.python.org/downloads/)[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)[![PyPI version](https://badge.fury.io/py/dl_hf_model.svg)](https://badge.fury.io/py/dl_hf_model)

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

## Install it

```shell
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
```python
from dl_hf_model import dl_hf_model

```

