dandi/dandi-cli(opens in a new tab)
Language: Python
DANDI command line client to facilitate common operations
- stars
- 28
- watchers
- 3
- forks
- 37
- open issues
- 210
- Last updated
- 10/30/2026
Language: Python
DANDI command line client to facilitate common operations
The DANDI Python client allows you to:
Dandisets and individual subject folders or filesDandisetsNote: This project is under active development. See the issues log or Work-in-Progress (WiP).
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
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.
Run dandi --help or dandi <subcommand> --help (e.g. dandi upload --help) to see manual pages.
To learn how to interact with the DANDI Archive and for examples on how to use the DANDI Client in various use cases,
see the DANDI Docs
(specifically the sections on using the CLI to
download and
upload Dandisets).
To get help:
To understand how to contribute to the dandi-cli repository, see the DEVELOPMENT.md file.