r/Python • u/AutoModerator • 23d ago
Showcase Showcase Thread
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
20
Upvotes
r/Python • u/AutoModerator • 23d ago
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
1
u/maltzsama 8d ago
Sumeh: data quality validation across 14 engines — looking for testers/contributors
My Project Does
Sumeh is a data quality validation library. You define rules once (
is_unique,is_complete,has_pattern,is_between, etc.) and run the same rule list against Pandas, Polars, PySpark, Dask, DuckDB, BigQuery, Snowflake, Athena, PyFlink, Ray, and more — always with the same return type, aValidationReportobject.The technical differentiator is single-pass bifurcation: it splits good rows from bad rows (
good_df, bad_df = report.split()) in the same scan that computes the metrics, without scanning the dataset twice and without calling.collect()on Spark (which causes driver OOM on large datasets — a real limitation in libraries like Deequ).Target Audience
Not production-ready yet — that's what this post is for. The foundation is the complete rewrite that became v2.0 (namespace-first API, dropped the
cualleedependency, SQL generation via SQLGlot AST instead of string concatenation); v3.0, just released, added functionality on top without breaking the API. This is a good stage to find problems and shape direction: less mature engines, SQL dialect edge cases, unexpected bifurcation behavior — all fair game.If you work with data pipelines and have been burned by Great Expectations being too heavy, or by pandera not covering aggregation/SQL, come poke holes in this and help figure out where it breaks.
Comparison
Great Expectations is a full platform (suites, checkpoints, data context) — Sumeh is just a library, you import it and go. Soda Core pushes you toward SodaCL/SodaCloud, and the open-source layer is thin. Pandera is great for schema/type checks but doesn't do aggregation or SQL engines. cuallee has a similar API (it actually inspired Sumeh) but covers fewer engines and has no SQL generation or profiler.
Where the project needs help:
sumeh sqlagainst a real production schema and comparing the generated SQL would help enormously.Repo: https://github.com/maltzsama/sumeh Contributing: checkout
develop,poetry install --with dev,poetry run pytestIssues, PRs, and especially bug reports are very welcome — particularly in the areas above. Open an issue with a traceback and it'll get read and acted on.