Skip to main content

Command line client for interaction with LINC Brain archive elements

Project description

LINC Brain Client

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.

Project details


Download files

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

Source Distribution

lincbrain_cli-0.11.3.tar.gz (288.7 kB view details)

Uploaded Source

Built Distribution

lincbrain_cli-0.11.3-py3-none-any.whl (307.4 kB view details)

Uploaded Python 3

File details

Details for the file lincbrain_cli-0.11.3.tar.gz.

File metadata

  • Download URL: lincbrain_cli-0.11.3.tar.gz
  • Upload date:
  • Size: 288.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.18

File hashes

Hashes for lincbrain_cli-0.11.3.tar.gz
Algorithm Hash digest
SHA256 df98ee3772889d16c9f763213524c47c55f9a2f157c1c49c983d16ba8941e9e3
MD5 dafa5a9e0973770d39b1c58d38978eba
BLAKE2b-256 24f809a2b575b4cf231414ef1504fe20f56fabba9b24c5b114dcf476704b3b1c

See more details on using hashes here.

File details

Details for the file lincbrain_cli-0.11.3-py3-none-any.whl.

File metadata

File hashes

Hashes for lincbrain_cli-0.11.3-py3-none-any.whl
Algorithm Hash digest
SHA256 402d28a6345a074a36c85d69759c712c806e50ffaf01813b2b35e21fb834ec0f
MD5 0b4a5a3bfa73e99fbb4383fd190d20ec
BLAKE2b-256 161c24bbb6edf065813ddb463be004fe4dbe9e79e519df766b0904c0c5030238

See more details on using hashes here.

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