EvgSkv/logica
Logica is a logic programming language that compiles to SQL. It runs on DuckDB, Google BigQuery, PostgreSQL and SQLite. observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 2154
- days_rel: n/a
- days_push: 10
- n_releases_24m: 0
Adoption not part of the score
2130 stars · 112 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Logica is an open-source declarative logic programming language in the Datalog family that compiles to SQL. It lets users write logic-style predicates that run on DuckDB, Google BigQuery, PostgreSQL, SQLite, Trino and Presto engines.
Use cases
- write bigquery queries with logic programming syntax
- compile datalog rules to sql
- run logic programs on postgres or sqlite
- learn logic programming applied to data analysis
- replace complex nested sql queries with declarative predicates
- run datalog-style analytics on duckdb locally
When to choose
- you prefer logic programming syntax over sql for data queries
- your data lives in BigQuery, PostgreSQL, SQLite or DuckDB
- you want to learn Datalog with real big-data backends
- your SQL queries have complex non-trivial logic
When to avoid
- your team is SQL-only and won't learn a new language
- you need a SQL engine or dialect not supported by Logica
- you need mature tooling and a large ecosystem around your query language
Facets
cli-tool · maturity active
compiler programming-language database parser programming-languages databases data-science big-data analytics python cli cross-platform datalog logic-programming sql bigquery duckdb postgresql sqlite prolog query-language datawarehousing
3 sources
- readme: https://github.com/EvgSkv/logica · fetched 2026-08-28 · 6ba67fdc988d
- homepage: https://logica.dev · fetched 2026-08-29 · 8470cc13d5f3
- registry_pypi: https://pypi.org/pypi/logica/json · fetched 2026-08-29 · 123387648374
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| EvgSkv/logica | main | 77 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem