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.4.tar.gz (97.4 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.4-py3-none-any.whl (144.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: shangshanai-0.1.4.tar.gz
  • Upload date:
  • Size: 97.4 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.4.tar.gz
Algorithm Hash digest
SHA256 f3464661cc12ecb91a698494335f3bce025f3b4c0083f60c8701635b8ad7e239
MD5 cf0b88b30dce7e1aafe6b9ee54367774
BLAKE2b-256 aaf8fdf0112bdbbd265beb60ee2cdb35e97c8de4daebce3fafd4869411a8fe34

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shangshanAI-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 144.1 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f370376a2e2df2b99fa0cb657c0b21da07292cfe3b3d2442a1fda6d8e8c52c4e
MD5 6075365c5c7807190a0ed56b8ea3f9eb
BLAKE2b-256 1974391dfd35e55ff00a90bca4e7a561086966dc4a444c32024cfb67e5c0bcc5

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