Command line client for interaction with DANDI archive elements
Project description
DANDI Client
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 archive's web API from Python
- Delete data in the DANDI archive
- Perform other auxiliary operations with data or the DANDI archive
Note: This project is under heavy 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, the DANDI archive.
$> 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 files according to the metadata.
shell-completion Emit shell script for enabling command completion.
upload Upload Dandiset files to DANDI Archive.
validate Validate files for NWB and DANDI compliance.
validate-bids Validate BIDS paths.
Run dandi --help
or dandi <subcommand> --help
(e.g. dandi upload --help
) to see manual pages.
Resources
-
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 handbook (specifically the sections on using the CLI to download and upload
Dandisets
). -
To get help:
- ask a question: https://github.com/dandi/helpdesk/discussions
- file a feature request or bug report: https://github.com/dandi/helpdesk/issues/new/choose
- contact the DANDI team: help@dandiarchive.org
-
To understand how to contribute to the dandi-cli repository, see the DEVELOPMENT.md file.
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
Built Distribution
File details
Details for the file dandi-0.56.0.tar.gz
.
File metadata
- Download URL: dandi-0.56.0.tar.gz
- Upload date:
- Size: 297.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bc6993a4552dc3d532f277d93c71decffe6df03d58070dd53da780b32ea67313 |
|
MD5 | c97fe17428e9de178e62c2bdd869854e |
|
BLAKE2b-256 | 4ddd83f26613b41e6df3da795345192f108c3e551977a638be7c7c243e336d39 |
Provenance
File details
Details for the file dandi-0.56.0-py3-none-any.whl
.
File metadata
- Download URL: dandi-0.56.0-py3-none-any.whl
- Upload date:
- Size: 297.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 097c3e06ee46b44c0e2d2a827ef1d3de61a82b0a91eb3565c706fa8a1be98e9d |
|
MD5 | 170072a7e8c1c480b9e53fee9374e73d |
|
BLAKE2b-256 | 5d31b68e518bb135538031bfda140db823a52a067c66c5fd424b0b58d1fd4d40 |