Adam Bandel


List Import Studio

Oct 2025
Type: desktop
Code: 48k lines
Files: 269
Active: Oct 2025 to Oct 2025
Stack:
TypeScriptReact 19Tauri 2PythonPolarsSQLite
Tags:
datadeveloper-toolsautomation

Overview

List Import Studio is a desktop app for importing, cleaning and enriching tabular data through a visual pipeline. It loads CSV and XLSX files, maps their columns to a reference schema, and runs them through a graph of nodes that filter, branch and derive new fields. Running the pipeline handles deduplication and fuzzy record matching, and it stops at review gates where a person checks the edge cases.

The frontend is React and TypeScript running in Tauri, and the heavy data processing happens in a Python sidecar using Polars. The two talk JSON-RPC over stdio, which avoids the overhead of HTTP.

Screenshots

Plan Canvas

Dataset Mapping

Transform Editor

Problem

For my work, I do a lot of list cleaning and importing of contacts and companies into our database. That takes a lot of matching and normalization, to make sure an import isn’t overwriting or duplicating something. Phone numbers come in inconsistent formats, emails need validating, company names need standardizing, and duplicates need finding. There are lots of tools for this, and probably some better ones, but I wanted a node-based flow.

I also wanted to be able to save a workflow that comes up often and run it again. Trade show leads are an example. If a company does trade shows several times a month, that import comes up constantly, and each one is different: the lead scanner formats differ, the sales reps’ formats and notes differ, and so does how much data each event hands over. The goal was to have a lot of the boilerplate taken care of.

The pipeline is built visually, without writing code. It applies fuzzy matching with configurable blocking rules and scoring ensembles, pauses at review gates so a person can verify the edge cases, and tracks lineage so it can explain how any output row was derived.

Approach

Stack

Challenges

Outcomes

I use it consistently, and it saves me hours on each list I have to upload.

Implementation Notes

JSON-RPC Protocol

Frontend and sidecar communicate via JSON-RPC 2.0 over stdio:

// Frontend: src/services/sidecar/client.ts
export async function callRpc<T>(method: string, params: unknown): Promise<T> {
  const response = await Command.create('sidecar', ['--rpc'])
    .execute(JSON.stringify({ jsonrpc: '2.0', method, params, id: generateId() }));
  return JSON.parse(response.stdout).result;
}
# Sidecar: sidecar/rpc/dispatcher.py
def dispatch(request: dict) -> dict:
    handler = REGISTRY.get(request['method'])
    result = handler(**request.get('params', {}))
    return {'jsonrpc': '2.0', 'result': result, 'id': request['id']}

Plan Execution Engine

The plan engine traverses the node graph, caching results at each stage:

# sidecar/plan_engine.py
def execute_node(node: PlanNode, context: PlanContext) -> DataFrame:
    cache_key = compute_stable_key(node, context.upstream_data)

    if cached := context.cache.get(cache_key):
        return cached

    match node.type:
        case 'transform':
            result = apply_standardizers(context.upstream_data, node.config.operations)
        case 'filter':
            result = apply_filter_conditions(context.upstream_data, node.config.conditions)
        case 'branch':
            # Returns dict of outcome -> DataFrame
            result = route_by_conditions(context.upstream_data, node.config.branches)
        case 'match':
            result = score_candidates(context.upstream_data, node.config.ensemble)

    context.cache.set(cache_key, result)
    return result

Blocking Rules for Matching

Fuzzy matching at scale requires blocking to avoid O(n*m) comparisons:

# sidecar/match/blocking.py
def build_blocking_index(records: DataFrame, rules: list[BlockingRule]) -> dict:
    """Group records by blocking keys for efficient candidate generation."""
    index = defaultdict(list)
    for row in records.iter_rows(named=True):
        for rule in rules:
            key = normalize_blocking_key(row, rule)
            index[key].append(row['_row_ref'])
    return index

State Persistence

Workspace state saves to SQLite automatically on navigation, so work picks up where it left off:

// Frontend: src/features/workspace/hooks/useProjectPersistence.ts
const saveState = useCallback(async () => {
  const snapshot = {
    plan: planState,
    datasets: datasetState,
    mapping: mappingState,
    settings: settingsState,
  };
  await rpc.project.saveState(projectId, snapshot);
}, [projectId, planState, datasetState, mappingState, settingsState]);

Related Posts