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

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.83.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.83.0
File Size Uploaded Provenance Actions
dandi-0.83.0.tar.gz 496.3 kB Without provenance Details for dandi-0.83.0.tar.gz

Built distribution (wheel)

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

Total release size: 995.1 kB

Release files / dandi-0.83.0.tar.gz

Download URL dandi-0.83.0.tar.gz
Size 496.3 kB
Tags Source
SHA-256 checksum
How to use checksums
88093b3cd73fb1b9e64c435d19399f0623629d1b30d3ea214b615ee4bd952bb7
BLAKE2b-256 checksum
How to use checksums
51232fb19793b5acd15e1d7983289f3e82a4aa60b4e9ada03027c039597cc875
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.83.0-py3-none-any.whl

Download URL dandi-0.83.0-py3-none-any.whl
Size 498.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb68ea2e44cd0185325891786c56b40ff1258b89cd274ec97adbf7beef122261
BLAKE2b-256 checksum
How to use checksums
4c6533ca3a721855609d45dd36877075d7b194842e18f08da2b178d726fe6356
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.83.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.83.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