Skip to main content

A package for openi pypi

Project description

OpenI

PYPI package for 启智 AI 协作平台。

安装

适配 python3.8 及以上版本

pip install openi

功能介绍

  • 支持进行本地上传与下载文件到启智社区
  • 支持代码调用函数,可在本地Python脚本或notebook使用;支持终端命令行,方便在服务器上使用。
  • 具体请参考 帮助文档

使用示例

# 可复制到 python 文件中直接运行,函数的返回值为下载文件的本地保存路径
from openi import download_file
path = download_file(
    file="MnistDataset_mindspore.zip",
    repo_id="OpenIOSSG/OpenI_Cloudbrain_Example",
)
  • 上述代码调用对应的终端命令(可直接复制到终端命令行中运行)
openi dataset download MnistDataset_mindspore.zip OpenIOSSG/OpenI_Cloudbrain_Example
  • 执行结果,显示下载进度条与本地保存路径
 MnistDataset_mindspore.zip: 100%|██████████████████████████████████████████████| 10.3M/10.3M [00:00<00:00, 24.7MB/s]
文件已下载到: D:\MnistDataset_mindspore.zip

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

openi-2.0.0b0.tar.gz (30.8 kB view details)

Uploaded Source

Built Distribution

openi-2.0.0b0-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

File details

Details for the file openi-2.0.0b0.tar.gz.

File metadata

  • Download URL: openi-2.0.0b0.tar.gz
  • Upload date:
  • Size: 30.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.8.16

File hashes

Hashes for openi-2.0.0b0.tar.gz
Algorithm Hash digest
SHA256 93b5d83441b961efd0ce3752cbc7460fdc482964bba125adf21533f61a883b27
MD5 a0c391b9d0e1143e5d227c10ae6cf5e2
BLAKE2b-256 fb5228023e6106343a13e6e64c368f05f1df9f04e21e5e2f6cd79c7dd8416067

See more details on using hashes here.

File details

Details for the file openi-2.0.0b0-py3-none-any.whl.

File metadata

  • Download URL: openi-2.0.0b0-py3-none-any.whl
  • Upload date:
  • Size: 36.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.8.16

File hashes

Hashes for openi-2.0.0b0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab89ca4ecb0db12058b846178c503787bef777af4bac4eb0ed46860dfdcab9e8
MD5 ded2338a4c2a4200be3c43d90edd8a69
BLAKE2b-256 7d97327f0657e592748d7c9d318728c4252c42f32671567aeea6e7b7ab409534

See more details on using hashes here.

Supported by

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