跳转到主要内容

与DANDI存档元素交互的命令行客户端

项目描述

DANDI客户端

Tests codecov.io Conda Gentoo (::science) GitHub release PyPI version fury.io Documentation Status

《DANDI Python客户端 允许您

  • 下载 Dandisets 和单个受试者文件夹或文件
  • 验证数据以确保本地符合标准
  • 在上传前在本地组织数据
  • 上传 Dandisets
  • 使用Python与DANDI存档的Web API交互
  • 删除DANDI存档中的数据
  • 对数据或DANDI存档执行其他辅助操作

注意:此项目正在积极开发中。请参阅问题日志进行中(WiP)

安装

DANDI客户端版本可在PyPIconda-forge上获取。您可以通过以下方式在Python(原生、虚拟环境或conda)环境中安装它们

pip install dandi

conda install -c conda-forge dandi

CLI工具

此包提供了一款命令行实用程序,具有基本界面,可帮助您将数据准备并上传到,或从DANDI存档获取数据。

$> dandi
Usage: dandi [OPTIONS] COMMAND [ARGS]...

  A client to support interactions with DANDI archive
  (http://dandiarchive.org).

  To see help for a specific command, run

      dandi COMMAND --help

  e.g. dandi upload --help

Options:
  --version
  -l, --log-level [DEBUG|INFO|WARNING|ERROR|CRITICAL]
                                  Log level (case insensitive).  May be
                                  specified as an integer.  [default: INFO]
  --pdb                           Fall into pdb if errors out
  --help                          Show this message and exit.

Commands:
  delete            Delete dandisets and assets from the server.
  digest            Calculate file digests
  download          Download a file or entire folder from DANDI.
  instances         List known Dandi Archive instances that the CLI can...
  ls                List .nwb files and dandisets metadata.
  move              Move or rename assets in a local Dandiset and/or on...
  organize          (Re)organize NWB files according to their metadata.
  shell-completion  Emit shell script for enabling command completion.
  upload            Upload Dandiset files to DANDI Archive.
  validate          Validate files for data standards compliance.

运行 dandi --helpdandi <subcommand> --help(例如 dandi upload --help)以查看手册页面。

资源

项目详情


发布历史 发布通知 | RSS源

下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分布

dandi-0.63.1.tar.gz (310.9 kB 查看哈希值)

上传时间

构建分布

dandi-0.63.1-py3-none-any.whl (306.8 kB 查看哈希值)

上传时间 Python 3

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面