A CLI tool for querying and downloading files from MoffettHub.
Project description
MoffettHub CLI
MoffettHub CLI 是一个命令行工具,用于查询和下载 MoffettHub 上的模型文件。它提供了类似 Hugging Face CLI 的体验,让您可以方便地管理和下载模型。
功能特点
- 浏览和搜索模型仓库
- 下载模型文件
- 显示下载进度
- 支持并行下载
- 管理本地下载模型
安装要求
- Python >= 3.7
- pigz (用于并行解压缩,可选)
安装
# 安装 Python 包
pip install moffetthub-cli
# 安装 pigz (Ubuntu/Debian)
sudo apt install pigz
# 安装 pigz (macOS)
brew install pigz
使用示例
列出模型仓库内容
moffetthub-cli list
下载模型(默认下载路径为 ~/.moffetthub_cache)
moffetthub-cli download deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B
查看本地下载模型
moffetthub-cli list-cache
删除本地下载模型
moffetthub-cli remove-cache deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B
许可证
本项目采用 MIT 许可证 - 详见 LICENSE 文件
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
moffetthub-0.6.0.tar.gz
(10.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file moffetthub-0.6.0.tar.gz.
File metadata
- Download URL: moffetthub-0.6.0.tar.gz
- Upload date:
- Size: 10.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
74196e9f87e65517a937db1605199810cee8a8e8e81ae227f813c93c8395cd7a
|
|
| MD5 |
ef79840422fa501a36d7b205e1e9dbe9
|
|
| BLAKE2b-256 |
09831780d49d336c42b210d4d7cb4fa1d33a0df73c2e0bb8ea45736252d515c8
|
File details
Details for the file moffetthub-0.6.0-py3-none-any.whl.
File metadata
- Download URL: moffetthub-0.6.0-py3-none-any.whl
- Upload date:
- Size: 11.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
43c50061240c26f7905b1701cc7714e1f820613fc5c24f37a97a5d733db2c208
|
|
| MD5 |
efb1fa5329a238dd15e15a931720046d
|
|
| BLAKE2b-256 |
53bbf063153c975e0a70f749d9535b8eecb86945f88c8c8eabfc56c26dd6696c
|