Local-first visual builder for data and ML workflows that exports clean pandas/polars Python
Project description
Local-first visual data and ML workflows that export clean Python.
Build on a canvas. Preview every step. Run locally. Export readable pandas, Polars, or lazy Polars code with no proprietary runtime.
Docs · Quick Start · Plugins · Discussions · Contributing
If this looks like something you'd use, a ⭐ on GitHub genuinely helps an alpha project like this get discovered.
What Is Ciaren?
Ciaren is an open-core, plugin-first platform for building data engineering and lightweight machine-learning workflows visually, then exporting them as ordinary Python.
It is built for people who want the speed of a visual tool without giving up the clarity, portability, and reviewability of code.
python -m pip install ciaren
ciaren serve
Open http://localhost:8055. The PyPI wheel bundles the React editor, so users
do not install a separate frontend package. One install starts the API,
scheduler, and web UI.
Alpha software. Ciaren is under active development. APIs, workflow formats, generated code, plugin interfaces, and internal data models may change before
1.0.0. Use it for learning, prototypes, and controlled internal workflows before relying on it for critical production jobs.
Why It Feels Different
| You get | Why it matters |
|---|---|
| Visual workflow building | Design pipelines faster than writing every dataframe step by hand. |
| Live node previews | Inspect data samples and schema changes before running the full flow. |
| Clean Python export | Generate standalone pandas, Polars, or lazy Polars scripts you can review and run outside Ciaren. |
| Local-first execution | SQLite works out of the box, and your data does not need to leave your machine. |
| Data engineering + ML | Ingest, clean, validate, engineer features, train, evaluate, predict, and export from one canvas. |
| Plugin-first architecture | Add custom nodes, connectors, engines, model providers, validators, and exporters outside core. |
Ciaren is not a hosted no-code black box. Every node maps to understandable dataframe behavior, every run leaves inspectable results, and every flow can become code.
Quickstart
Install From PyPI
python -m pip install --upgrade pip
python -m pip install ciaren
ciaren serve
Open http://localhost:8055, then open Projects -> Demo. The first start
seeds sample datasets and working example flows, so you can preview, run, and
export something real before uploading your own data.
For repeatable evaluation, pin the release version:
python -m pip install "ciaren==0.1.0"
Run With Docker
git clone https://github.com/ciaren-labs/Ciaren.git
cd Ciaren
docker compose up --build
Open http://localhost:8055.
Run From Source
Use this path when contributing to the backend, frontend, docs, or plugin SDK.
Requirements: Python 3.12+, Node.js 18+, and Git.
git clone https://github.com/ciaren-labs/Ciaren.git
cd Ciaren/backend
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -e .
ciaren serve
In a second terminal:
cd Ciaren/frontend
npm install
npm run dev
Open http://localhost:5173 for the live development frontend. The backend API
and Swagger docs stay on http://localhost:8055.
What You Can Build
- Input and output: CSV, TSV, Excel, Parquet, JSON/JSONL, text, SQL databases, S3, GCS, and Azure Blob.
- Cleaning: drop/fill nulls, remove duplicates, rename/select/drop columns, cast types, replace values.
- Transformation: filters, joins, group by, aggregate, calculated columns, maps, pivots, windows, sorting, sampling.
- Data quality: assert not-null, unique, value ranges, row count, expressions, and allowed values.
- Machine learning: split, train, cross-validate, predict, evaluate, feature engineering, importance, and MLflow tracking.
- Operations: run history, scheduling, REST API, CLI, webhook trigger, and Python SDK.
Exported Code Is the Escape Hatch
A simple read -> clean -> aggregate -> write flow can export to code like this:
import polars as pl
df_1 = pl.read_csv("sales.csv")
df_1 = df_1.drop_nulls(subset=["amount"])
df_1 = df_1.group_by(["region"]).agg([pl.col("amount").sum().alias("amount")])
df_1.write_csv("summary.csv")
The same flow can also export pandas or lazy Polars variants where supported. That makes Ciaren useful for prototyping, teaching, code review, and migration from visual exploration into normal Python projects.
Built for Extension
Ciaren's open core stays focused on the shared workflow platform. Specialized integrations should usually be plugins, not one-off patches to core.
| Extension point | Examples |
|---|---|
| Nodes | Custom transforms, validators, AI-assisted steps, domain-specific operations |
| Connectors and storage | Internal APIs, SaaS tools, warehouses, object stores, document databases |
| Model providers | Local models, scikit-learn estimators, organization-specific training logic |
| Execution engines | Alternative dataframe engines and future runtime targets |
| Exporters | Code targets, deployment bundles, validation reports |
Plugins can be packaged as .ciarenplugin files, signed, inspected, installed,
enabled, disabled, and distributed independently.
Start here:
Who It Is For
- Data analysts: clean, reshape, validate, and export datasets without writing every step by hand.
- Data engineers: prototype repeatable local pipelines, inspect generated code, then automate with CLI/API/SDK workflows.
- Python learners: see how visual dataframe operations become pandas and Polars code.
- ML practitioners: try lightweight ML flows with local MLflow tracking.
- Plugin authors: ship custom nodes, connectors, engines, and model providers without maintaining a fork.
- Open-source contributors: help polish the editor, execution engine, transformations, docs, tests, and plugin SDK.
Documentation
- Installation - PyPI, Docker, source installs, extras, and troubleshooting.
- Quick Start - build your first flow in five minutes.
- Demo Project & Tutorials - walk through the seeded example flows.
- Examples - end-to-end workflow walkthroughs.
- Machine Learning Quick Start - train and evaluate a model on the canvas.
- Plugin Guide - build your first plugin.
- Roadmap
- Security
- Contributing
Optional Extras
The base install includes the core app, pandas, Polars, scikit-learn models, MLflow tracking, and the bundled web UI.
Install extras only when you need specific drivers or optional model families:
python -m pip install "ciaren[postgres]"
python -m pip install "ciaren[s3]"
python -m pip install "ciaren[ml]" # XGBoost and LightGBM choices
python -m pip install "ciaren[keyring]" # recommended: store connection secrets in the OS keychain
python -m pip install "ciaren[signing]" # plugin signing support
On a desktop install, ciaren[keyring] is the recommended way to hold
database and API secrets: the connection form (and the ciaren secret set
command) stores the value in your OS keychain — Windows Credential Manager,
macOS Keychain, or Secret Service on Linux — and the connection keeps only a
keyring:NAME reference. Ciaren never writes the secret to its database.
Without the extra, connections still work with environment-variable
(env:/PG_PASSWORD) or secret-file (file:/run/secrets/...) references.
The separate ciaren-client package is only for scripts that need to call a
running Ciaren server. It is not required to use the visual app.
Contributing
Ciaren is early, and useful contributions are welcome: reproducible bugs, example flows, docs improvements, transformation nodes, plugin SDK improvements, frontend workflow polish, tests, and focused core fixes.
The open core is intentionally lightweight. New niche databases, SaaS products, internal APIs, proprietary storage systems, and organization-specific model logic should normally be built as plugins. If the SDK blocks that work, open an SDK-focused issue or discussion.
Start with CONTRIBUTING.md. Questions and ideas can go to GitHub Discussions, and reproducible bugs or focused feature requests can go to GitHub Issues.
Security
Ciaren is alpha software intended for local-first experimentation, prototyping, and controlled self-hosted workflows. Review exported Python code, test flows before using important data, and add appropriate operational controls before using Ciaren in sensitive or critical environments.
Please report vulnerabilities using the process in SECURITY.md.
Licensing
- Ciaren Core: AGPL-3.0-only.
- Public Plugin API / SDK: Apache-2.0.
- Plugins: may use their own compatible license, depending on the plugin author and distribution model.
- Future cloud or hosted services: not necessarily covered by this open source repository license.
In plain language: using Ciaren — locally or self-hosted inside your organization — does not obligate you to open-source anything, your flows and exported Python are yours, and the Apache-2.0 SDK means plugin authors choose their own license. And a standing commitment: capabilities that ship in the open core stay in the open core — commercial offerings, if they ever exist, add on top rather than carving features out.
See LICENSE, NOTICE, and LICENSES/ for the complete license texts and notices, and the licensing FAQ for common questions.
Project Status
- Current stage: Alpha (pre-1.0) — the API and data model may change
before
1.0.0. Pin a version for production use. - First public release:
0.1.0-alpha.1— see the CHANGELOG for what's included. - Breaking changes are expected before
1.0.0
Made for data practitioners who value local workflows, transparent execution, and Python they can actually read.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ciaren-0.1.0a1.tar.gz.
File metadata
- Download URL: ciaren-0.1.0a1.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
007420916bc9a326d0c1acdf37497ce70334f97038784bba3d793429d10c2886
|
|
| MD5 |
701493cdff016917a9fe9a97cb00b2dc
|
|
| BLAKE2b-256 |
64d0589126aef007e64944ea4b65806faf3122daca877c810f57cf068f353e78
|
Provenance
The following attestation bundles were made for ciaren-0.1.0a1.tar.gz:
Publisher:
package.yml on ciaren-labs/Ciaren
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ciaren-0.1.0a1.tar.gz -
Subject digest:
007420916bc9a326d0c1acdf37497ce70334f97038784bba3d793429d10c2886 - Sigstore transparency entry: 2168579722
- Sigstore integration time:
-
Permalink:
ciaren-labs/Ciaren@aa690c51bd69241798f8a2d98e57483693e618a5 -
Branch / Tag:
refs/tags/0.1.0-alpha.1 - Owner: https://github.com/ciaren-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yml@aa690c51bd69241798f8a2d98e57483693e618a5 -
Trigger Event:
push
-
Statement type:
File details
Details for the file ciaren-0.1.0a1-py3-none-any.whl.
File metadata
- Download URL: ciaren-0.1.0a1-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cefaba69cdb0a9eb36c84bed8dc4c62fa4c0a1a65a8962691182909678d57e8d
|
|
| MD5 |
9036d31071c1cd5d5ce14a8e20cbb06a
|
|
| BLAKE2b-256 |
1e29cd2dd21776a89774412b18ec87d20d5458da1a97f57c2a162712616f8d9f
|
Provenance
The following attestation bundles were made for ciaren-0.1.0a1-py3-none-any.whl:
Publisher:
package.yml on ciaren-labs/Ciaren
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ciaren-0.1.0a1-py3-none-any.whl -
Subject digest:
cefaba69cdb0a9eb36c84bed8dc4c62fa4c0a1a65a8962691182909678d57e8d - Sigstore transparency entry: 2168579964
- Sigstore integration time:
-
Permalink:
ciaren-labs/Ciaren@aa690c51bd69241798f8a2d98e57483693e618a5 -
Branch / Tag:
refs/tags/0.1.0-alpha.1 - Owner: https://github.com/ciaren-labs
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
package.yml@aa690c51bd69241798f8a2d98e57483693e618a5 -
Trigger Event:
push
-
Statement type: