Skip to main content

Local-first visual builder for data and ML workflows that exports clean pandas/polars Python

Project description

Ciaren

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

PyPI Backend Tests Frontend CI Docker License: AGPL-3.0 Plugin API: Apache-2.0 Python 3.12+ Status: Alpha GitHub stars

Ciaren editor: a File Input (CSV) and a SQL Input joined, cleaned, and fed through Scale Features, Train/Test Split, a Random Forest classifier and Predict — previewed on real data and exported to clean Polars code

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

Ciaren editor with a canvas of connected nodes and a live data preview table

  • 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

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 — 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ciaren-0.1.0.tar.gz (1.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ciaren-0.1.0-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file ciaren-0.1.0.tar.gz.

File metadata

  • Download URL: ciaren-0.1.0.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

Hashes for ciaren-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ef57588cc3933e7deeb2c9e78eca9e84478dcccc451a049bc8081ab992dc4a69
MD5 94a649e834c087ea492a9f7420ee8e0d
BLAKE2b-256 3c329f9c7ab5e4418c398df642076bbedc4da7d623419aade99ea1a147b24dcf

See more details on using hashes here.

Provenance

The following attestation bundles were made for ciaren-0.1.0.tar.gz:

Publisher: package.yml on ciaren-labs/Ciaren

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ciaren-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: ciaren-0.1.0-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

Hashes for ciaren-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7eb0477be8d448855ad8f578395934a0760c5650524f9d586fffff00668159b5
MD5 8e70dcf0639dff9ba76b79f477688210
BLAKE2b-256 36e7341e021586b5f6064588f0e236ab6604e691d1313002a56ba742104e9500

See more details on using hashes here.

Provenance

The following attestation bundles were made for ciaren-0.1.0-py3-none-any.whl:

Publisher: package.yml on ciaren-labs/Ciaren

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page