Skip to main content

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-cli download deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B

查看本地下载模型

moffetthub-cli list-cache deepseek-ai/DeepSeek-R1-Distill-Qwen-1.5B

删除本地下载模型

moffetthub-cli remove-cache

许可证

本项目采用 MIT 许可证 - 详见 LICENSE 文件

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

moffetthub-0.2.0.tar.gz (10.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

moffetthub-0.2.0-py3-none-any.whl (11.1 kB view details)

Uploaded Python 3

File details

Details for the file moffetthub-0.2.0.tar.gz.

File metadata

  • Download URL: moffetthub-0.2.0.tar.gz
  • Upload date:
  • Size: 10.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for moffetthub-0.2.0.tar.gz
Algorithm Hash digest
SHA256 552d0db06cb78b87b802956c87ace810061e487f91e8bbbda406bb791d88b7e0
MD5 a70c65039135388264742e8ab9cc1b3b
BLAKE2b-256 cdc6456b2c9211639bd79726eb2183c8adce9ffbb96476e5bf062249de411794

See more details on using hashes here.

File details

Details for the file moffetthub-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: moffetthub-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for moffetthub-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 29a5e8593871dd9a5f23b9cce5925a9b086809afc0519377635c861414aab623
MD5 3814c343389c533c4ba54cd5d688c2df
BLAKE2b-256 c689cac5fb07d83ad9edb686f8e573cb5e3fa891f0233a86ac79aaff602bd56a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page