# PRQL/prql

PRQL is a modern language for transforming data — a simple, powerful, pipelined SQL replacement

Repository: https://github.com/PRQL/prql
Canonical: https://ross.abutalabs.com/products/prql
Homepage: https://prql-lang.org
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: data, pipeline, sql
Last push: 2026-08-26T15:03:24+00:00

## Health v2 (maintenance only)
Score: 93/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 82, longevity 100
- inputs: {"age_days": 1689, "days_push": 7, "days_rel": 40, "gap_med": 39, "n_releases_24m": 14}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 10900, forks 255 (observed 2026-08-28T04:10:44.629660+00:00)

## What it is
PRQL (Pipelined Relational Query Language) is a modern query language for transforming data that compiles to SQL, letting users write readable, pipelined queries with variables and functions. It is implemented in Rust with bindings for Python, JS, R, and Rust, plus integrations with tools like Jupyter, DuckDB, and Prefect.

## Use cases
- write sql queries without sql syntax
- compile pipelined queries to sql dialects
- query csv and parquet files with duckdb
- explore data in jupyter notebooks with prql magic
- replace verbose sql in data pipelines
- prototype analytical queries in a playground

## When to choose
- you write lots of analytical SQL and want a more composable, readable language
- you need database-agnostic queries that compile to many SQL dialects
- you want pipelined transformations similar to dplyr but targeting databases

## When to avoid
- your team is already fluent in SQL and has no pain points with it
- you need transactional or highly database-specific SQL features
- you require a battle-tested language with mature tooling everywhere

## Facets
- artifact type: library
- maturity: active
- function: parser, compiler, database, developer-tools
- domain: databases, programming-languages, analytics, developer-tools
- platform: rust, python, jvm, cross-platform, cli
- tags: sql-replacement, query-language, pipelined-queries, data-transformation, compiles-to-sql, database-agnostic, duckdb, jupyter, data-engineering, nodejs

## Member repositories
- PRQL/prql (main) score 93

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:10:44.629660+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:17:25.569446+00:00, confidence not recorded.
  - readme: https://github.com/PRQL/prql (fetched 2026-08-28T04:10:44.629660+00:00, sha 75e9ebb02a64)
  - homepage: https://prql-lang.org (fetched 2026-08-29T08:16:17.930672+00:00, sha 7c5069d73317)
  - site_page: https://prql-lang.org/book (fetched 2026-08-29T08:16:17.940398+00:00, sha 742e6c23de0f)
  - site_page: https://prql-lang.org/faq (fetched 2026-08-29T08:16:17.942233+00:00, sha c2fad641131e)
  - site_page: https://prql-lang.org/book/project/integrations/prefect.html (fetched 2026-08-29T08:16:17.944239+00:00, sha 2c2c4f4760a8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
