machow/siuba
Python library for using dplyr like syntax with pandas and SQL observed · 2026-08-28
Health v2 · maintenance only
42/100
- Activity 43
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2762
- days_rel: n/a
- days_push: 344
- n_releases_24m: 0
Adoption not part of the score
1183 stars · 54 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
siuba is a Python library that ports R's dplyr syntax to pandas DataFrames and SQL databases, using pipe (>>) chaining and lazy expressions. The same analysis code runs on local DataFrames or generates SQL queries against backends like postgres, sqlite, duckdb, and snowflake.
Use cases
- analyze pandas dataframes with dplyr-style verbs
- write data analysis code that runs on both pandas and SQL
- generate SQL queries from Python expressions
- group and summarize tabular data with a concise pipe syntax
- port R dplyr workflows to Python
- avoid verbose pandas lambda syntax
- run the same analysis on a local dataframe and a remote database
When to choose
- you know dplyr and want similar ergonomics in Python
- you want one analysis codebase for pandas and SQL backends
- you find pandas method chaining with lambdas too verbose
- you need lazy SQL query generation from dataframe-style code
When to avoid
- you prefer idiomatic pandas or polars APIs
- you need a mature, widely-adopted tool with large ecosystem support
- your SQL backend is not among the supported dialects
- you need advanced pandas features outside siuba's verb set
Facets
library · maturity active
data-science etl database-driver data-science databases python cross-platform dplyr pandas sql dataframe tidyverse data-analysis sql-query-generation data-engineering
5 sources
- readme: https://github.com/machow/siuba · fetched 2026-08-28 · 6e9e58d92495
- homepage: https://siuba.org · fetched 2026-08-29 · 027ed6027b7f
- site_page: https://siuba.org/about/key_features · fetched 2026-08-29 · 79ac31f4f976
- site_page: https://siuba.org/guide/basics-sql · fetched 2026-08-29 · a4477c34c8b0
- registry_pypi: https://pypi.org/pypi/siuba/json · fetched 2026-08-29 · b1b70fd7b3ec
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| machow/siuba | main | 42 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem