Skip to main content

Command line client for interaction with LINC Brain archive elements

Project description

LINC Brain Client

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

The LINC Brain Python client allows you to:

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

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

Installation

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

pip install lincbrain-cli

or

conda install -c conda-forge lincbrain-cli

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 LINC Brain archive.

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

  A client to support interactions with LINC Brain archive
  (https://lincbrain.org).

  To see help for a specific command, run

      lincbrain COMMAND --help

  e.g. lincbrain 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 datasets and assets from the server.
  digest            Calculate file digests
  download          Download a file or entire folder from LINC Brain Archive.
  instances         List known LINC Brain Archive instances that the CLI can...
  ls                List .nwb files and datasets metadata.
  move              Move or rename assets in a local Dataset and/or on...
  organize          (Re)organize files according to the metadata.
  shell-completion  Emit shell script for enabling command completion.
  upload            Upload Dataset files to LINC Brain Archive.
  validate          Validate files for NWB and LINC Brain compliance.
  validate-bids     Validate BIDS paths.

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

Resources

The LINC Brain ecosystem is forked from the DANDI Archive project. Resources there should point you towards common questions encountered within the LINC Brain project.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

lincbrain_cli-0.8.5-py3-none-any.whl (305.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page