Skip to main content

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.

Metadata

Release files for lincbrain-cli 0.11.4

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

Source distribution (sdist)

Source distribution for lincbrain-cli 0.11.4
File Size Uploaded
lincbrain_cli-0.11.4.tar.gz 288.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for lincbrain-cli 0.11.4
File Interpreter ABI Platform
lincbrain_cli-0.11.4-py3-none-any.whl Python 3 none any Details

Total release size: 596.5 kB

Release files / lincbrain_cli-0.11.4.tar.gz

Download URL lincbrain_cli-0.11.4.tar.gz
Size 288.9 kB
Tags Source
SHA-256 checksum
How to use checksums
def5e136b28e9b75362077294a7509b955afa6df8bdac16e918c7e1b3d4ec750
BLAKE2b-256 checksum
How to use checksums
4b0625de47d0ff1b8cb2700c667a9b4441e33c52e6a6e9e6920b36a575bfc736
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.18

Release files / lincbrain_cli-0.11.4-py3-none-any.whl

Download URL lincbrain_cli-0.11.4-py3-none-any.whl
Size 307.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
261286c90f6953b1dbaa11077b873252f39ae62b772f265fb92012162d958092
BLAKE2b-256 checksum
How to use checksums
613cc6a966d476af93c8adbd020b45c6d0d50b103e3348b9abd42e49af504a8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.8.18

Release history Release notifications | RSS feed

This release

0.11.4 This release

2 release files

0.11.3

2 release files

0.11.2

2 release files

0.10.0

2 release files

0.8.6

1 release file

0.8.5

1 release file

0.8.4

1 release file

0.8.3

1 release file

0.8.2

1 release file

0.8.1

1 release file

0.8.0

1 release file

0.7.0

1 release file

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

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