MoffettHub CLI
MoffettHub CLI 是一个命令行工具,用于查询和下载 MoffettHub 上的模型文件。它提供了类似 Hugging Face CLI 的体验,让您可以方便地管理和下载模型。
功能特点
- 浏览和搜索模型仓库
- 下载模型文件
- 显示下载进度
- 支持并行下载
- 管理本地下载模型
安装要求
- Python >= 3.7
- pigz (用于并行解压缩,可选)
安装
# 安装 Python 包
pip install moffetthub
# 安装 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 文件
Metadata
Release files for moffetthub 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| moffetthub-0.7.0.tar.gz | 10.8 kB | Without provenance | Details for moffetthub-0.7.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| moffetthub-0.7.0-py3-none-any.whl | Python 3 | none | any | Details for moffetthub-0.7.0-py3-none-any.whl |
Total release size: 22.1 kB
Release files / moffetthub-0.7.0.tar.gz
| Download URL | moffetthub-0.7.0.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c9616bddc41ab334924d6657c157aa6c054192c77ec770a34164207dc95686b4
|
|
BLAKE2b-256 checksum How to use checksums |
3d1e8b46f323e9ef793aefc9765b411ac789d5ee6d4deabbc1256e5884cf78cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / moffetthub-0.7.0-py3-none-any.whl
| Download URL | moffetthub-0.7.0-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f8086b8226b490a07701feab3b09c381e0b84c8e474e53e4df27024a7cfc6d4e
|
|
BLAKE2b-256 checksum How to use checksums |
716e456b5d8599355933a30ccfe9d84b6b8f3d4582193fdc09a02e1054d780c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for moffetthub 0.7.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.