Skip to main content

DANDI Client

Tests codecov.io pre-commit.ci status 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

To validate or upload Zarr assets, install the zarr extra, which adds zarr-python 3 and zarr-metadata:

pip install "dandi[zarr]"

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.

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

Resources

Metadata

Release files for dandi 0.84.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dandi 0.84.0
File Size Uploaded Provenance Actions
dandi-0.84.0.tar.gz 499.6 kB Without provenance Details for dandi-0.84.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dandi 0.84.0
File Interpreter ABI Platform Actions
dandi-0.84.0-py3-none-any.whl Python 3 none any Details for dandi-0.84.0-py3-none-any.whl

Total release size: 1.0 MB

Release files / dandi-0.84.0.tar.gz

Download URL dandi-0.84.0.tar.gz
Size 499.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6e635aad52457fc5932604f37a70b7ba7fc268dfa1d372a72ac93ef6dd74e19a
BLAKE2b-256 checksum
How to use checksums
1e7519ac5bcd3ec4a39adb8a85dc60f6d4c05556119ba4759898dabaaf30a3e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Release files / dandi-0.84.0-py3-none-any.whl

Download URL dandi-0.84.0-py3-none-any.whl
Size 502.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d65341f34b82ad9944f97d29bad4fd56c24f174b24d385046e5076afccb8fff
BLAKE2b-256 checksum
How to use checksums
a8948109fb7ecc29a16dea1ed738fea27de657ea2182813df13cabd61758f13a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.18

Security for dandi 0.84.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.84.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page