pyprql
dbt-prql
pyprql | dbt-prql | |
---|---|---|
1 | 2 | |
89 | 92 | |
- | - | |
9.1 | 7.1 | |
6 days ago | 20 days ago | |
Python | Python | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
pyprql
-
PRQL, Pipelined Relational Query Language
Not quite what you're asking for but DuckDB has both PRQL [1] and Postgres [2] extensions, so you could probably query your Postgres database with PRQL from there.
There's also a DBeaver plugin [3] which we still need to document better and simplify the usage of but you could potentially also use that to query Postgres with PRQL.
Finally there is pyprql [4] with which you could query Postgres from a Jupyter notebook.
[1]: https://github.com/ywelsch/duckdb-prql
[2]: https://duckdb.org/docs/extensions/postgres_scanner.html
[3]: https://github.com/PRQL/prql/issues/1643
[4]: https://github.com/PRQL/pyprql
(Disclaimer: I'm a PRQL contributor.)
dbt-prql
-
PRQL, Pipelined Relational Query Language
Totally agree. This was a high priority goal for us and @maximilianroos did a lot of work putting something together. In the end, I believe it was really fighting against how dbt is set up though as it is so tightly interwoven with Jinja2. Perhaps with the introduction of the Python dbt models, things might have changed now and it's worth taking another look.
https://github.com/PRQL/dbt-prql
(Disclaimer: I'm a PRQL contributor.)
- Show HN: PRQL 0.2 – Releasing a better SQL
What are some alternatives?
chdb - chDB is an embedded OLAP SQL Engine 🚀 powered by ClickHouse
owoof - A program for querying and modifying information in a datalog-like format backed by SQLite.
Kusto-Query-Language - Kusto Query Language is a simple and productive language for querying Big Data.
duckdb-prql - PRQL as a DuckDB extension
logica - Logica is a logic programming language that compiles to SQL. It runs on Google BigQuery, PostgreSQL and SQLite.
SQLpage - SQL-only webapp builder, empowering data analysts to build websites and applications quickly
ClickBench - ClickBench: a Benchmark For Analytical Databases
mentat - A persistent, relational store inspired by Datomic and DataScript.
Preql - An interpreted relational query language that compiles to SQL.