Skip to main content

Data pipeline (ETL) framework for server and browser

Project description

AnkaFlow

Run your data pipelines in Python or the browser.
AnkaFlow is a YAML + SQL-powered data pipeline engine that works in local Python, JupyterLite, or fully in-browser via Pyodide.

🚀 Features

  • Run pipelines using DuckDB with SQL and optional Python
  • Supports Parquet, REST APIs, BigQuery, ClickHouse (server only)
  • Browser-compatible: works in JupyterLite, GitHub Pages, VS Code Web and more

📦 Install

# Server
pip install ankaflow[server]

# Dev
pip install -e .[dev,server]

🛠 Usage

> ankaflow /path/to/stages.yaml
from ankaflow import (
    ConnectionConfiguration,
    Stages,
    Flow,
)

connections = ConnectionConfiguration()

stages = Stages.load("path/to/stages.yaml")
flow = Flow(stages, connections)
flow.run()

🔁 What is Stages?

Stages is the object that holds your pipeline definition parsed from a YAML file.
Each stage is one of: tap, transform, or sink.

Example

- name: Extract Data
  kind: tap
  connection:
    kind: Parquet
    locator: input.parquet

- name: Transform Data
  kind: transform
  query: SELECT * FROM "Extract Data" WHERE "amount" > 100

- name: Load Data
  kind: sink
  connection:
    kind: Parquet
    locator: output.parquet

📖 Documentation


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

ankaflow-0.2.0.tar.gz (70.2 kB view details)

Uploaded Source

Built Distribution

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

ankaflow-0.2.0-py3-none-any.whl (85.5 kB view details)

Uploaded Python 3

File details

Details for the file ankaflow-0.2.0.tar.gz.

File metadata

  • Download URL: ankaflow-0.2.0.tar.gz
  • Upload date:
  • Size: 70.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ankaflow-0.2.0.tar.gz
Algorithm Hash digest
SHA256 94abf5126b7a4bf183d83dc644e0e5b0d3f7afb5ad4092e874a3d55661ffbe06
MD5 c29f282d2ca0f7270481592dbe674cb0
BLAKE2b-256 1de49f485bb716d5c900cd40f65005330d66d35f5a142107b06931b3e0fbccc4

See more details on using hashes here.

Provenance

The following attestation bundles were made for ankaflow-0.2.0.tar.gz:

Publisher: python-publish.yml on mudam/ankaflow

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

File details

Details for the file ankaflow-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ankaflow-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 85.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for ankaflow-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e50233050237555ebd7495cf77eb9cdc4101820b3f6ace981cdbae8273d1fa3
MD5 e8fa7b6287bffafde46fbbc88da2d996
BLAKE2b-256 3c09434946b9268af0a985c1984881f7121f0a024d3a4dec9c3620a1ef202a57

See more details on using hashes here.

Provenance

The following attestation bundles were made for ankaflow-0.2.0-py3-none-any.whl:

Publisher: python-publish.yml on mudam/ankaflow

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