Skip to main content

Flowboard

Production-Grade Semantic Analytics Framework

Flowboard is a lightweight, intent-driven analytics engine that brings Power BI-style semantic modeling to Python. Build multi-table data models, query with natural intent, and visualize results—all with blazing-fast in-memory execution powered by DuckDB.

Why Flowboard?

  • Semantic First: Define dimensions and measures once, query with intent
  • DuckDB-Powered: Sub-millisecond analytics on datasets up to available RAM
  • Multi-Table: Built-in relationship management across tables
  • Zero Dependencies Hell: Minimal overhead, fast installation
  • Production Ready: Designed for embedded analytics and data apps

Installation

pip install flowboard

Requires Python 3.8+


Quick Start: 60-Second Example

import flowboard as fb

# 1. Load data
sales_table = fb.load_csv('sales.csv')

# 2. Define semantic model
model = fb.SemanticModel()
model.add_table(
    'sales',
    dimensions=['date', 'region', 'product'],
    measures={
        'revenue': 'SUM(amount)',
        'profit': 'SUM(amount - cost)',
        'units': 'COUNT(*)'
    }
)

# 3. Query with intent
result = fb.query("revenue by region", model)

# 4. Visualize
chart = fb.chart(result)
chart.show()

Core Features

📊 Multi-Format Data Loading

fb.load_csv('data.csv')      # CSV auto-detection
fb.load_parquet('data.parquet')  # Columnar format
fb.load_xlsx('data.xlsx')    # Excel spreadsheets

🎯 Intent-Driven Queries

fb.query("revenue by month", model)
fb.query("profit by region", model)
fb.query("units by product", model)

🔗 Relationship Management

model.add_relationship('sales', 'customer_id', 'customers', 'id')

📈 One-Line Visualization

chart = fb.chart(result)  # Returns interactive Plotly figure
chart.show()

Industry Use Cases

E-Commerce Analytics

model.add_table('orders', 
    dimensions=['date', 'category', 'region'],
    measures={'gmv': 'SUM(total)', 'orders': 'COUNT(*)'}
)
result = fb.query("gmv by category", model)

SaaS Metrics Dashboard

model.add_table('events',
    dimensions=['event_type', 'cohort', 'date'],
    measures={'dau': 'COUNT(DISTINCT user_id)', 'sessions': 'COUNT(*)'}
)
result = fb.query("dau by cohort", model)

Financial Reporting

model.add_table('transactions',
    dimensions=['account', 'quarter'],
    measures={'revenue': 'SUM(amount)', 'margin': 'SUM(profit)'}
)
result = fb.query("revenue by account", model)

Architecture

┌─────────────────────────────────────┐
│        Flowboard API Layer          │
│  (Semantic Model + Intent Query)    │
└──────────────┬──────────────────────┘
               │
┌──────────────▼──────────────────────┐
│     DuckDB Execution Engine         │
│    (Sub-ms Query Performance)       │
└──────────────┬──────────────────────┘
               │
┌──────────────▼──────────────────────┐
│    Data Loaders (CSV/Parquet/XLSX)  │
│         + Relationship Mgmt         │
└─────────────────────────────────────┘

API Reference

load_csv(path) → str

Load CSV file into DuckDB. Returns table name.

load_parquet(path) → str

Load Parquet file into DuckDB. Returns table name.

load_xlsx(path) → str

Load Excel file into DuckDB. Returns table name.

SemanticModel()

Define your data model.

Methods:

  • add_table(name, dimensions, measures) — Register a table with semantic metadata
  • add_relationship(t1, col1, t2, col2) — Define foreign key relationships

query(intent, model) → list[dict]

Execute semantic query. Format: "<measure> by <dimension>"

chart(result) → plotly.graph_objects.Figure

Generate interactive bar chart from query result.


Performance Characteristics

Dataset Size Query Latency Memory Usage
< 100MB < 1ms Minimal
< 1GB 1-10ms 1-2GB
< 10GB 10-100ms 5-15GB

Benchmarks on modern hardware (2023+)


Development

git clone https://github.com/gyanankur23/flowboard
cd flowboard
pip install -e .[dev]
pytest

License

MIT — See LICENSE file for details.


Contributing

Contributions welcome! Please open an issue or PR on GitHub.

For questions and discussions, reach out to: gyanankur9@gmail.com


Flowboard v0.1.1 | Built for data teams, by data builders.

Metadata

Release files for flowboard 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flowboard 0.1.2
File Size Uploaded Provenance Actions
flowboard-0.1.2.tar.gz 14.4 kB With provenance Details for flowboard-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for flowboard 0.1.2
File Interpreter ABI Platform Actions
flowboard-0.1.2-py3-none-any.whl Python 3 none any Details for flowboard-0.1.2-py3-none-any.whl

Total release size: 23.9 kB

Release files / flowboard-0.1.2.tar.gz

Download URL flowboard-0.1.2.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
3e0c156645948e9dba6bad065a32214e372ffea26033b94397333ace0e76b418
BLAKE2b-256 checksum
How to use checksums
e2c0c6a4ff34acefd9f60a12cc905ae2c7b4cd02dabfe579725c9e68b4ac1a2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 1, 2026.

Transparency log

Release files / flowboard-0.1.2-py3-none-any.whl

Download URL flowboard-0.1.2-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7c89d201006bf6b1455701b99a147e182b6c66d261a7f3c1399d0d2e6984906
BLAKE2b-256 checksum
How to use checksums
bf8c42609937203211d56d55cfc9695186920eb65a1633189a4352d9c704b5b1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 1, 2026.

Transparency log

Security for flowboard 0.1.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for flowboard-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jun 1, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page