Skip to main content

ETLai

A local, AI-assisted CSV transformation engine built on Dagster. Install it, scaffold a project, and let Claude Code create new pipelines for you.

Install

pip install ETLai

Requires Python 3.10+ and Tkinter (ships with most Python installations).

Quick start

etlai init ~/my-etl
cd ~/my-etl
etlai sync
etlai run

This starts a Dagster dev server at http://localhost:3000. Enable sensors in the UI, then drop CSV files into pipelines/<name>/inbox/.

Commands

Command Purpose
etlai init <dir> Scaffold a new project with example pipelines
etlai sync Validate manifests, create folders, prompt for path: ask
etlai run Start the Dagster dev server
etlai list Show all registered pipelines

How it works

Each pipeline is defined by a manifest (pipelines/<name>/manifest.yaml) that wires together:

  • Atom — a reusable, domain-agnostic transformation (execute(params_json) -> result_json)
  • Form — a first-run Tkinter UI that collects user config (or passthrough for no-UI pipelines)
  • Sensor — watches the inbox folder for stable files
inbox/ → sensor (stability check) → staging/ → job runs
                                      ├→ processed/ + output/     (success)
                                      └→ rejected/ + *.error.txt  (failure)

Config is saved to config.json after first run. Subsequent runs are fully automated. Delete config.json to force reconfiguration.

Shipped atoms

Atom Input Description
vlookup 2 CSV Left join on specified columns with dtype validation
groupby 1 CSV Group by column with count, sorted descending
mock_generate 1+ CSV Generate synthetic data from file headers using Faker

Shipped forms

Form Description
vlookup_column_picker Join column + output column multi-select with dtype validation
groupby_picker Single column selection
passthrough No UI — reads config.json and passes it to atom

Example manifest

name: vlookup_rollnumber
atom: vlookup
form: vlookup_column_picker
min_files: 2
path: ask                     # prompts for folder location during etlai sync

Composite pipelines

Chain multiple atoms in sequence:

name: vlookup_then_groupby
min_files: 2
steps:
  - atom: vlookup
    form: vlookup_column_picker
  - atom: groupby
    form: groupby_picker

Output of each step becomes input to the next.

Custom data paths

Each pipeline can store its data anywhere. Set path in the manifest:

  • path: ask — etlai sync opens a folder picker dialog
  • path: /absolute/path — uses that path directly
  • Omitted — defaults to pipelines/<name>/ inside the project

Adding new pipelines with Claude Code

Open your project in Claude Code. The scaffolded CLAUDE.md teaches it how to:

  1. Create atoms in atoms/ (or reuse shipped ones)
  2. Create forms in forms/ (or use passthrough with a pre-written config.json)
  3. Write a manifest.yaml in pipelines/<name>/
  4. Run etlai sync to validate and create folders

For no-UI pipelines, Claude Code writes config.json directly with the business logic (e.g. {"group_column": "religion"}).

Resolution order

  • Atoms: ./atoms/<name>.py → etlai.atoms.<name> (package)
  • Forms: ./forms/<name>.py → etlai.forms.<name> (package)

User files take precedence over shipped ones.

Project structure after etlai init

my-etl/
  etlai.yaml              ← pipelines_root config
  dagster.yaml            ← auto-generated storage config
  definitions.py          ← 3-line auto-loader
  CLAUDE.md               ← instructions for Claude Code
  atoms/                  ← custom atoms (AI-generated)
  forms/                  ← custom forms (AI-generated)
  pipelines/
    <name>/
      manifest.yaml       ← wiring: atom + form + min_files + path
      config.json         ← saved config (from form UI or pre-written)
      inbox/              ← drop files here
      staging/            ← in-flight processing
      processed/          ← successfully processed source files
      rejected/           ← failed files + .error.txt
      output/             ← transformation results

Development

git clone <repo>
pip install -e .
etlai init /tmp/test-project
cd /tmp/test-project
etlai run

No automated tests or linter configured yet.

Metadata

Release files for ETLai 0.2.1

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

Source distribution (sdist)

Source distribution for ETLai 0.2.1
File Size Uploaded Provenance Actions
etlai-0.2.1.tar.gz 19.5 kB Without provenance Details for etlai-0.2.1.tar.gz

Built distribution (wheel)

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

Total release size: 45.1 kB

Release files / etlai-0.2.1.tar.gz

Download URL etlai-0.2.1.tar.gz
Size 19.5 kB
Tags Source
SHA-256 checksum
How to use checksums
d07c9ae30f0b24625a0192b0c2fc2e8735317b95c8a5e8f99beac17517b90f0f
BLAKE2b-256 checksum
How to use checksums
17b0469c258e4b841dbdf648cdddde0df026abbe16bf56774022cf334783b172
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Release files / etlai-0.2.1-py3-none-any.whl

Download URL etlai-0.2.1-py3-none-any.whl
Size 25.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
343392874049ae3a44da29af2c817257dea855bcfcc296afb470aad12d646242
BLAKE2b-256 checksum
How to use checksums
2ce1adb399d5116cac2899317040b84072ae4b836bad63f153969bffd56a4190
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.5

Security for ETLai 0.2.1

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.

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