databases/py-sqloxide 0.1.48_4 DragonFly
Python bindings for sqlparser-rs
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- License
- MIT
- Categories
- databases, python
- Package size
- 1176.6 KiB, 5155.8 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | databases/py-sqloxide | 0.1.48_4 |
| FreeBSD | databases/py-sqloxide | 0.61.1_1 |
Install
Binary package:
pkg install py311-sqloxide
From DPorts:
cd /usr/dports/databases/py-sqloxide && make install clean
Dependencies
Run dependencies 1
No port depends on this one.