Skip to main content

A python SDK for ioc-ic

Project description

python SDK

接口设计

getFileLocalPath() 方法

  • 功能描述:获取文件地址
  • 输入参数:DO标识,如:"ids:dataset/999a2b6ca6ce8a0d0c88ca99b602613e83d926daf9de1c72bca5db15a399c986"
  • 输出:文件地址,如:"C:/ada/icc"
  • 调用Java端接口toLocalPath

downloadFileDO() 方法

  • 功能描述:输入DO标识作为参数,下载文件
  • 输入参数:DO标识,如:"ids:dataset/999a2b6ca6ce8a0d0c88ca99b602613e83d926daf9de1c72bca5db15a399c986"
  • 输出:无
  • 调用Java端接口downloadFileDO

batchDownloadFileDO() 方法

  • 功能描述:批量下载
  • 输入参数:DO标识组
  • 输出:无
  • 调用Java端接口downloadFileDO

getDownloadProgress() 方法

  • 功能描述:获取下载进度
  • 输入参数:DO标识,如:"ids:dataset/999a2b6ca6ce8a0d0c88ca99b602613e83d926daf9de1c72bca5db15a399c986"
  • 输出:实时下载进度结果
  • 调用Java端接口getDownloadProgress

Python SDK设计步骤

http://127.0.0.1:21030/SCIDE/SCManager?action=executeContract&contractID=IODIC&operation=downloadFileDO&arg={"dpml":"ids:dataset/999a2b6ca6ce8a0d0c88ca99b602613e83d926daf9de1c72bca5db15a399c986"}

mime

pypi

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

package_filedo-0.1.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

package_fileDO-0.1.2-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file package_filedo-0.1.2.tar.gz.

File metadata

  • Download URL: package_filedo-0.1.2.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.1

File hashes

Hashes for package_filedo-0.1.2.tar.gz
Algorithm Hash digest
SHA256 700c81ea591e1555e54067f8c956dc6872fc4dd3736c3c17eb678f9aa8b4d379
MD5 620d5327738bb88c0f6878a1b857a4a8
BLAKE2b-256 44494102b689c59f48c105b3a420218eac7b3202d0dbcce256ffeb6c312c78ba

See more details on using hashes here.

File details

Details for the file package_fileDO-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for package_fileDO-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b8f793ae47d0c9493465ef942a6b9d9920c92208b3c5b81fe48a18b1a32ccf87
MD5 8c0b76ce6714a18ad5d6f2e99e2197c7
BLAKE2b-256 1cccde2929cae3c789deb934037a6348f11f1e4e51f7aa6160dfe5da0f44a39c

See more details on using hashes here.

Supported by

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