opnsense-ports/databases/py-sqloxide/pkg-descr
Franco Fichtner 5ac47551bc */*: sync with upstream
Taken from: FreeBSD
2024-10-01 00:28:51 +02:00

9 lines
588 B
Text

sqloxide wraps rust bindings for sqlparser-rs into a python package using pyO3.
The original goal of this project was to have a very fast, efficient, and
accurate SQL parser I could use for building data lineage graphs across large
code bases (think hundreds of auto-generated .sql files). Most existing sql
parsing approaches for python are either very slow or not accurate (especially
in regards to deeply nested queries, sub-selects and/or table aliases). Looking
to the rust community for support, I found the excellent sqlparser-rs crate
which is quite easy to wrap in python code.