Skip to main content

Chaldene

PyPI Package Teaser Tutorial Use Cases Binder License

Notebook-Embedded Visual Workflow Authoring for Scientific Image Processing

Chaldene teaser

Key Features

  • Low-barrier, drag-and-drop node-based authoring with an explicit, reusable workflow representation
  • Image-specific inspection and comparison support, including branching, stepwise views, synchronized viewing, cursor linking, and difference overlays, with intermediate images captured as a visual trace
  • Co-locates workflow structure, parameter settings, outputs, and narrative context within a single notebook artifact during authoring

Installation

Local Installation

The only external requirement is OpenJDK 11 (required for PyImageJ), for example with Conda:

conda install -c conda-forge "openjdk=11"

Then install Chaldene and launch JupyterLab:

pip install chaldene
jupyter lab

Use Without Local Installation

Chaldene targets practitioners with limited programming experience, so it is not intended to require manual installation and configuration by each end user. Instead, it can be provided through preconfigured environments, such as Binder, managed JupyterHub/JupyterLab servers, or lab-maintained software images, allowing practitioners to focus on workflow authoring rather than software administration.

Quick Start

  1. Create a new notebook

    • Click "+" to create a new notebook
    • Add a Visual Code cell from the cell toolbar
  2. Start building workflows

    • Drag and drop nodes to create your image processing workflows
    • Connect nodes to build workflows
    • Adjust parameters and inspect the outputs to refine the workflows

Examples

📂 Examples are available in the use_cases/ folder

Below are two representative workflows created by users, demonstrating Chaldene's capabilities for interactive image processing:

Workflow 1: Image Analysis Pipeline

Workflow 2: Processing Chain

More Features

Publish to Zenodo

Archive your workflow files or results to Zenodo and mint a citable DOI, directly from JupyterLab.

  1. Create a Zenodo personal access token with the deposit:write and deposit:actions scopes.
  2. In the JupyterLab file browser, right-click the empty area and choose Publish to Zenodo.
  3. In the dialog, select one or more files/folders to publish (folders are zipped automatically).
  4. Enter your access token, then a title, author(s), and description.
  5. All selected items are uploaded to a single Zenodo record and the minted DOI is shown when publishing completes.

Python API

ChaldeneClient lets you control VP cells from Python — useful for driving parameters with ipywidgets, running parameter sweeps, or integrating VP cells into larger notebook workflows.

from chaldene import ChaldeneClient

client = ChaldeneClient()

Once a VP cell is visible in the notebook, client.get_ready_cell_ids() returns its ID. From there you can update node inputs and re-run the cell:

cell_id = client.get_ready_cell_ids()[-1]
client.set_input(cell_id, node_id='1', handle_id='in1', value=[0.2, 0.8])
client.run(cell_id)

Combine with ipywidgets.interact for live parameter control:

import ipywidgets as widgets

@widgets.interact(threshold=widgets.FloatSlider(min=0.0, max=1.0, step=0.05))
def update(threshold):
    ids = client.get_ready_cell_ids()
    if ids:
        client.set_input(ids[-1], '1', 'in1', [threshold, 0.9])
        client.run(ids[-1])

See api_tutorials/ for full working examples.

Development

Metadata

Release files for chaldene 0.2.0

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

Source distribution (sdist)

Source distribution for chaldene 0.2.0
File Size Uploaded Provenance Actions
chaldene-0.2.0.tar.gz 3.9 MB Without provenance Details for chaldene-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for chaldene 0.2.0
File Interpreter ABI Platform Actions
chaldene-0.2.0-py3-none-any.whl Python 3 none any Details for chaldene-0.2.0-py3-none-any.whl

Total release size: 4.6 MB

Release files / chaldene-0.2.0.tar.gz

Download URL chaldene-0.2.0.tar.gz
Size 3.9 MB
Tags Source
SHA-256 checksum
How to use checksums
1a0c9da10196eb5a0db877a077a8d386a39d1e6080d6aa6654b22ede5f286aaf
BLAKE2b-256 checksum
How to use checksums
10cae7fc9b428fd776b0f626d135c800336ad9076af7538f0a938503bb261e49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / chaldene-0.2.0-py3-none-any.whl

Download URL chaldene-0.2.0-py3-none-any.whl
Size 737.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
684438fd39d27c585374ecde57600d543c718298b4e5f155fc68805ddafb89df
BLAKE2b-256 checksum
How to use checksums
e7b86b36daf551113433dfb454e468d4495cccc41edc86fc62bf20a612c35f71
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Security for chaldene 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

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