Installation

hfmirror is currently hosted on PyPI. It required python >= 3.7.

You can simply install hfmirror from PyPI with the following command:

pip install hfmirror

You can also install with the newest version through GitHub:

pip install -U git+https://github.com/narugo1992/hfmirror.git@main

After installation, run this python code, and version information of hfmirror should be shown.

1
2
3
4
5
6
from hfmirror.config.meta import __TITLE__, __VERSION__, __AUTHOR__, __DESCRIPTION__

if __name__ == '__main__':
    print(__TITLE__, __VERSION__)
    print(__DESCRIPTION__)
    print('Powered by', __AUTHOR__)
1
2
3
hfmirror 0.0.5
Mirror for resources to local and huggingface.
Powered by narugo1992

hfmirror is still under development, you can also check out the documents in stable version through https://narugo1992.github.io/hfmirror/.