Skip to main content

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

Project description

Shangshan SDK

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

安装

pip install shangshan

使用

from shangshan import download

download('testuser/model_llm')

下载模型

from shangshan 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

shangshan-0.1.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

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

shangshan-0.1.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

Details for the file shangshan-0.1.1.tar.gz.

File metadata

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

File hashes

Hashes for shangshan-0.1.1.tar.gz
Algorithm Hash digest
SHA256 aedfd68821bebdaa72424548b69e882b74f1c7f707f0c2663daa824903417611
MD5 95c25cc20591db2041b67316c85aad86
BLAKE2b-256 0fa1deb879ac2db225d60bf2ce34a4a914a74698a38621621cb6d5eed5d656c1

See more details on using hashes here.

File details

Details for the file shangshan-0.1.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for shangshan-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 501ac71136c788d1824f75d399a74b68a92edaa7b58df32934b935bd1c97bd7a
MD5 e003eafa96b0b4b9d5abc687fbcdc85d
BLAKE2b-256 048c3fcb855a8e99ffe285e6e98c93cf2f373d73fffdfb983341a74eaaba50dd

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