Skip to main content

SDK for haina datahub platform.

Project description

haina-datahub

简介

haina-datahub sdk为开发者提供更便捷、快速、使用编程方式与平台的数据和模型进行交互的能力。支持用户使用Python编程的方式完成以下任务:

1、上传文件、文件夹至数据集或模型仓库

2、下载数据集文件或模型文件

3、流式读取数据集文件

4、针对maxcompte等数据库类型的数据集,支持sql查询任务

(注:以数据连接方式创建的数据集不支持上传操作)

除了Python编程的方式,还提供多样的使用方式:

1、CLI命令行工具:可以直接从终端(terminal)与平台进行交互

2、文件系统:支持基于fuse的数据集挂载,直接在服务器访问数据

快速使用

下载数据集

import haina_datahub
from haina_datahub.dataset import download

haina_datahub.login(ak='thisisak', sk='thisissk')

download(dataset_repo='xx/xxx', target_path='/home/dataset')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

haina_datahub-1.0.1-py3-none-any.whl (89.5 kB view details)

Uploaded Python 3

File details

Details for the file haina_datahub-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: haina_datahub-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 89.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.8

File hashes

Hashes for haina_datahub-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 86663df98286c35a24d127262c7db769f043298449b5ec2a2b8e7f7c28799d08
MD5 08ae3c7fcd825e930b83d83e58cd7885
BLAKE2b-256 87a984f22ce7833234ffe1d915df15ad38a6b72675850a31f1103ca34fa5b0e7

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