<commit_before># Data Export and Interoperability

We believe in using the best tool for the job and webKnossos makes it easy to download and export any annotation for further processing in third-party software.

## Data Export through Zarr Streaming 

Any dataset and volume annotation in webKnossos can also be accessed by third-party software through the Zarr streaming interface. In other words, webKnossos is a fully, capable server for streaming data according to the Zarr spec to any client and can be viewed as an alternative to cloud storage options such as S3/Google Cloud. 
As an additional benefit, you still retain all the other helpful webKnossos features for managing, searching, tagging, and securing datasets adhering to the FAIR (Findability, Accessibility, Interoperability, and Reuse of digital assets) principles.

Any webKnossos dataset/annotation can be accessed this way regardless of its original file format. webKnossos will automatically convert any data on the fly.


1. Click on the overflow menu (dropdown), next to the `Save` button in the webKnossos navbar
2. Select `Zarr Links` entry
3. Click `Create Zarr Link` to make the resource available through the Zarr streaming interface. Set the `Expiration Date` as required. The default duration is 1 month into the future.
4. Click on the little copy button (clipboard icon) to copy the Zarr web link. Copy the Due to the nature of the Zarr spec, if you need to individually copy a URL for each webKnossos layer.

TODO Image

A unique aspect of webKnossos of webKnossos Zarr streaming are private Zarr links. Any annotation shared through Zarr generates a web link containing a unique access token for authentication such that only allowed users and collaborators may access this data. This is akin to webKnossos ability to [privately share annotations through web URLs](./sharing.md#annotation-sharing). Zarr links can be revoked/deleted at any time (or time-limited by default) to retain control over your data.

## Data Export through the UI

The webKnossos UI comes with a fully featured `Download` panel offering a wide variety of download export options:
<commit_msg>Update docs/export.md<commit_after># Data Export and Interoperability

We believe in using the best tool for the job and webKnossos makes it easy to download and export any annotation for further processing in third-party software.

## Data Export through Zarr Streaming 

Any dataset and volume annotation in webKnossos can also be accessed by third-party software through the Zarr streaming interface. In other words, webKnossos is a fully, capable server for streaming data according to the Zarr spec to any client and can be viewed as an alternative to cloud storage options such as S3/Google Cloud. 
As an additional benefit, you still retain all the other helpful webKnossos features for managing, searching, tagging, and securing datasets adhering to the FAIR (Findability, Accessibility, Interoperability, and Reuse of digital assets) principles.

Any webKnossos dataset/annotation can be accessed this way regardless of its original file format. webKnossos will automatically convert any data on the fly.


1. Click on the overflow menu (dropdown), next to the `Save` button in the webKnossos navbar
2. Select `Zarr Links` entry
3. Click `Create Zarr Link` to make the resource available through the Zarr streaming interface. Set the `Expiration Date` as required. The default duration is 1 month into the future.
4. Click on the little copy button (clipboard icon) to copy the Zarr web link. Copy the Due to the nature of the Zarr spec, if you need to individually copy a URL for each webKnossos layer.

TODO Image

A unique aspect of webKnossos is private Zarr links. Any annotation shared through Zarr generates a web link containing a unique access token for authentication such that only allowed users and collaborators may access this data. This is akin to webKnossos ability to [privately share annotations through web URLs](./sharing.md#annotation-sharing). Zarr links can be revoked/deleted at any time (or time-limited by default) to retain control over your data.

## Data Export through the UI

The webKnossos UI comes with a fully featured `Download` panel offering a wide variety of download export options:

{'fraction_non_alphanumeric': 0.034080298786181136, 'fraction_numerical': 0.0028011204481792717, 'mean_word_length': 4.728609625668449, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 6, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4688567', 'n_tokens_mistral': 1060, 'n_tokens_neox': 997, 'n_words': 659}