Skip to content

WEBKNOSSOS CLI

Python CLI for creating and working with WEBKNOSSOS WKW or Zarr datasets. WKW is a container format for efficiently storing large, scale 3D image data as found in (electron) microscopy. Zarr is a community-driven, cloud-native data format for n-dimensional datasets.

Installation

To install and run the WEBKNOSSOS CLI the webknossos package is required. Please refer to the Installation Guide for detailed instructions.

Features

The WEBKNOSSOS CLI offers many useful commands to work with WEBKNOSSOS datasets:

Environment Variables

To get access to services that require authentication, you can set the environment variables:

  • WK_TOKEN
  • WK_URL
  • AWS_ACCESS_KEY_ID
  • AWS_SECRET_ACCESS_KEY
  • S3_ENDPOINT_URL
  • HTTP_BASIC_USER
  • HTTP_BASIC_PASSWORD

Parallelization

Most tasks can be configured to be executed in a parallelized manner. Via --distribution-strategy you can pass multiprocessing, slurm or kubernetes. The first can be further configured with --jobs and the latter via --job-resources '{"mem": "10M"}'. For a more detailed overview take a look at our distribution strategies page.

License

AGPLv3 Copyright scalable minds