Skip to main content

Command line client for interaction with DANDI instances

Project description

DANDI Client

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

The DANDI Python client allows you to:

  • Download Dandisets and individual subject folders or files
  • Validate data to locally conform to standards
  • Organize your data locally before upload
  • Upload Dandisets
  • Interact with the DANDI instance's web API from Python
  • Delete data in the DANDI instance
  • Perform other auxiliary operations with data on the DANDI instance

Note: This project is under active development. See the issues log or Work-in-Progress (WiP).

Installation

DANDI Client releases are available from PyPI and conda-forge. Install them in your Python (native, virtualenv, or conda) environment via

pip install dandi

or

conda install -c conda-forge dandi

CLI Tool

This package provides a command line utility with a basic interface to help you prepare and upload your data to, or obtain data from, a DANDI instance such as the DANDI Archive.

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

  A client to support interactions with DANDI instances, such as the 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 files or entire folders from DANDI.
  instances         List known DANDI instances that the CLI can interact...
  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.
  service-scripts   Various utility operations
  shell-completion  Emit shell script for enabling command completion.
  upload            Upload Dandiset files to DANDI Archive.
  validate          Validate files for data standards compliance.
  validate-bids     Validate BIDS paths.

Run dandi --help or dandi <subcommand> --help (e.g. dandi upload --help) to see manual pages.

Resources

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

dandi-0.76.4.tar.gz (393.9 kB view details)

Uploaded Source

Built Distribution

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

dandi-0.76.4-py3-none-any.whl (395.8 kB view details)

Uploaded Python 3

File details

Details for the file dandi-0.76.4.tar.gz.

File metadata

  • Download URL: dandi-0.76.4.tar.gz
  • Upload date:
  • Size: 393.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for dandi-0.76.4.tar.gz
Algorithm Hash digest
SHA256 6765fe91a18dcc8a3331fdc24c26f24536fc7b96f2daa4f6a59523740900e4e9
MD5 a2dc7db860fc62d524f338c1513d10c2
BLAKE2b-256 33d95b155945810282ce7215fed3c9080480501190877083aabdf3e86a045a71

See more details on using hashes here.

File details

Details for the file dandi-0.76.4-py3-none-any.whl.

File metadata

  • Download URL: dandi-0.76.4-py3-none-any.whl
  • Upload date:
  • Size: 395.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.20

File hashes

Hashes for dandi-0.76.4-py3-none-any.whl
Algorithm Hash digest
SHA256 33eae199d4689b21e4f7cd40b6ab33d8ceaffd1ab24565448be2230541c52798
MD5 3947e3eece649324132a55b742d33cbf
BLAKE2b-256 8bd0054610fa46ee82103c7b93afd2d7466684c7fe0d0ca063ce3b82bb4471da

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