Skip to main content

数据集管理平台SDK

Project description

打包

pip install build
python -m build

上传

twine upload --repository-url  dist/*

使用方法

CLI

安装和更新

pip install  nexadataset 
pip install  -U nexadataset   # 更新版本

####查看版本

nexadataset --version  

使用

nexadataset login --access-key <ACCESS KEY> --secret-key <SECRET KEY>  #从数据集管理平台获取

nexadataset info --dataset-repo nexadataset/<dataset-repo>   # 查看数据集详情

nexadataset download --dataset-repo nexadataset/<dataset-repo> [--version-num <version-num>] --target-path <target-dir>  # 下载数据集

nexadataset download --dataset-repo nexadataset/<dataset-repo> [--version-num <version-num>] --source-path /example.txt --target-path <target-dir>   #下载数据集中的文件

SDK

安装和更新

pip install  nexadataset 
pip install  -U nexadataset    # 更新版本

使用

import nexadataset
nexadataset.login(ak='<Access Key>', sk='<Secret Key>') # 进行登录,输入对应的AK/SK,可在个人中心添加AK/SK

from nexadataset.dataset import info
info(dataset_repo='nexadataset/<dataset-repo>') #数据集信息查看

from nexadataset.dataset import get
get(dataset_repo='nexadataset/<dataset-repo>', target_path='/path/to/local/folder/') # 数据集下载

from nexadataset.dataset import download
download(dataset_repo='nexadataset/<dataset-repo>',source_path='/README.md', target_path='/path/to/local/folder') #数据集文件下载

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

nexadataset-0.1.1.tar.gz (12.9 kB view details)

Uploaded Source

Built Distribution

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

nexadataset-0.1.1-py3-none-any.whl (16.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nexadataset-0.1.1.tar.gz
  • Upload date:
  • Size: 12.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for nexadataset-0.1.1.tar.gz
Algorithm Hash digest
SHA256 31652c630fd6f5f0d558b27f80a00e52f34b9731ea2112b6ca0a259268380f0f
MD5 c3e677ca3dea736b6b7853237d96ae92
BLAKE2b-256 06571252afee78ef0093fc4497c5e1aeba07144e7f93c48f7a16041a7f5b911d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nexadataset-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 16.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.16

File hashes

Hashes for nexadataset-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cbad5ac45f7c1ac96b6f376ce63093416240bdf093dbcaf9d6765cda47e37d3e
MD5 e8d702c6fd934fd34cf2de76490511db
BLAKE2b-256 2ed239e3dcd61a095af69c8d6dbb3bbe4eb2864a99b08068ab0a13704e4e8160

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