Skip to main content

一个用于从GitLab下载和处理模型的Python SDK

Project description

ShangshanAI SDK

一个用于下载和处理数据的Python SDK。

安装

pip install shangshanAI

下载模型

from shangshanAI import snapshot_download
model_dir = snapshot_download('testuser/model_llm')
print(model_dir)

功能特性

  • 支持文件下载
  • 自动重试机制
  • 进度显示

许可证

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

shangshanai-0.1.7.tar.gz (97.7 kB view details)

Uploaded Source

Built Distribution

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

shangshanAI-0.1.7-py3-none-any.whl (144.3 kB view details)

Uploaded Python 3

File details

Details for the file shangshanai-0.1.7.tar.gz.

File metadata

  • Download URL: shangshanai-0.1.7.tar.gz
  • Upload date:
  • Size: 97.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for shangshanai-0.1.7.tar.gz
Algorithm Hash digest
SHA256 5ac60c422404f015b2db2e390849ab48edcf5c7b6f768b882c1e4e486acf69f6
MD5 d38edbade4cbc61c9ca4519530badb8a
BLAKE2b-256 01c327dfcf4e2813aabe6d638e50a65e428932ae2b204869ca38b3f6449a4faa

See more details on using hashes here.

File details

Details for the file shangshanAI-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: shangshanAI-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 144.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for shangshanAI-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 6d8f09a0447866dde5ec029b0ee8ce860dfea18db736bd2345a709b17ce25922
MD5 44a04d53768ae810a040612dc31850b7
BLAKE2b-256 ca6fbfe1e88448e3f96b1281242d3c036ed52bf845934d06444b8dbe027d9b78

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