Skip to main content

AnkaFlow pipeline runner 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

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.1.1.tar.gz (63.9 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.1.1-py3-none-any.whl (75.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ankaflow-0.1.1.tar.gz
Algorithm Hash digest
SHA256 fe81067892a2a3300aaa8ae8becd8acf4f1ea36bfd78668ee2beeeb43a6b6fdf
MD5 7f6a3da4d11d449da9763056bf4020c4
BLAKE2b-256 815bcc6405561f9a1d09866e34ce9f219de116236cae981855cf83e799906a4c

See more details on using hashes here.

Provenance

The following attestation bundles were made for ankaflow-0.1.1.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.1.1-py3-none-any.whl.

File metadata

  • Download URL: ankaflow-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 75.1 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aeaa71ca1ffe6e7459527ebe9942914eab3e79b1b176cf2874600cdd58ef48af
MD5 58a0a97f072d962f35e5e26808673fcf
BLAKE2b-256 ffb7adfd54cfb485ddec64adce7c3ad591420fd178a2f297aa89e333d235fc19

See more details on using hashes here.

Provenance

The following attestation bundles were made for ankaflow-0.1.1-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