ETLai
A local, AI-assisted data transformation engine built on Dagster. Install it, scaffold a project, and let Claude Code create new pipelines — from CSV transformations to API ingestion.
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, check env files |
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, single-unit-of-work transformation
- Form — first-run Tkinter UI that collects config (or passthrough for no-UI)
- Trigger — what causes the pipeline to run (file sensor, cron schedule, or both)
Trigger fires → load files (if any) → configure (form/config.json) → execute atom
├→ processed/ + output/ (success)
└→ rejected/ + *.error.txt (failure)
Pipeline types
File-based (CSV transformation)
Drop files into inbox/. Sensor detects stable files and triggers the pipeline.
name: vlookup_rollnumber
atom: vlookup
form: vlookup_column_picker
min_files: 2
API-based (data ingestion)
Fetch data from REST APIs on a schedule. No inbox files needed.
name: fetch_hr_data
atom: hr_api_fetch
form: passthrough
min_files: 0
env_file: ~/.etlai/secrets.env
requires_env:
- HR_API_TOKEN
trigger:
rules:
- type: schedule
cron: "0 8 * * *"
Composite (multi-step chains)
Chain multiple atoms. Output of each step feeds into the next.
name: vlookup_then_groupby
min_files: 2
steps:
- atom: vlookup
form: vlookup_column_picker
- atom: groupby
form: groupby_picker
Shipped atoms
| Atom | Description |
|---|---|
vlookup |
Left join two CSVs on specified columns with dtype validation |
groupby |
Group by column with count, sorted descending |
mock_generate |
Generate synthetic data from file headers using Faker |
api_fetch |
Generic REST API fetcher (JSON/XML/CSV, field mapping, env-based auth) |
Shipped forms
| Form | Description |
|---|---|
vlookup_column_picker |
Join + output column multi-select with dtype validation |
groupby_picker |
Single column selection |
passthrough |
No UI — reads config.json and passes to atom |
Key concepts
Reference folder
reference/ holds permanent data used across runs (lookup tables, previous API
snapshots). The framework passes reference file paths to atoms automatically.
Custom data paths
path: ask in a manifest prompts the user (via folder picker) during etlai sync
to choose where data folders live. Each pipeline can have its own location.
Credentials
API credentials live in env files outside the project (e.g. ~/.etlai/secrets.env).
The framework loads them before atom execution. etlai sync validates required
vars are present without printing values.
Adding pipelines with Claude Code
Open your project in Claude Code. The scaffolded CLAUDE.md teaches it to:
- Create atoms (or reuse shipped ones)
- Create forms (or use passthrough with pre-written config.json)
- Write manifest.yaml
- Run
etlai sync
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.
Development
git clone <repo>
pip install -e .
etlai init /tmp/test-project
cd /tmp/test-project
etlai run
Metadata
Release files for ETLai 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| etlai-0.3.2.tar.gz | 29.2 kB | Without provenance | Details for etlai-0.3.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| etlai-0.3.2-py3-none-any.whl | Python 3 | none | any | Details for etlai-0.3.2-py3-none-any.whl |
Total release size: 61.5 kB
Release files / etlai-0.3.2.tar.gz
| Download URL | etlai-0.3.2.tar.gz |
|---|---|
| Size | 29.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
041ed370a9cdf4d7d99088fc13dfb24f6a872b4b8ac13393b18f5b8408e9b298
|
|
BLAKE2b-256 checksum How to use checksums |
ccc185b93772cd2788b4bb1f67208fffddb708b200247daf874f61639963bdbb
|
| 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.3.2-py3-none-any.whl
| Download URL | etlai-0.3.2-py3-none-any.whl |
|---|---|
| Size | 32.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
73689e800c1ea1bbd60b4381a75059776ad8d36113834f09436f7b098571be54
|
|
BLAKE2b-256 checksum How to use checksums |
0b8089f85a9a3f3807d0791fcd02b405656bef3db797fc2201a50b00f5d92c76
|
| 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.3.2
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.