Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
/ linc-cli Public archive
forked from dandi/dandi-cli

LINC Client to facilitate common operations

License

Notifications You must be signed in to change notification settings

lincbrain/linc-cli

 
 

Repository files navigation

LINC Brain Client

The LINC Brain Client has been deprecated as of November 2024. Users should instead use the DANDI Client (dandi) with the -i linc argument. See the DANDI Client PyPI package and GitHub repository. For further details, please refer to the LINC Docs - Upload page.

Tests GitHub release PyPI version fury.io

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 Data Platform's web API from Python
  • Delete data in the LINC Data Platform
  • Perform other auxiliary operations with data or the LINC Data Platform

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. Install them in your Python (native, virtualenv, or conda) environment via

pip install 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 Data Platform.

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

  A client to support interactions with the LINC Data Platform
  (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 the LINC Data Platform.
  instances         List known LINC Data Platform 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 the LINC Data Platform.
  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.

About

LINC Client to facilitate common operations

Resources

License

Stars

Watchers

Forks

Languages

  • Python 100.0%