BSD Ports

databases/py-sqloxide 0.61.1_1 FreeBSD

Python bindings for sqlparser-rs

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
9c878207a1
License
MIT
Categories
databases, python
Package size
2559.8 KiB, 11227.9 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

SystemPortVersion
FreeBSDdatabases/py-sqloxide0.61.1_1
DragonFlydatabases/py-sqloxide0.1.48_4

Install

Binary package:

pkg install py312-sqloxide

From the ports tree:

cd /usr/ports/databases/py-sqloxide/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-sqloxide>0:databases/py-sqloxide

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.61.10.61.1_1-0.1.48_70.61.1_1
FreeBSD:14:quarterly0.61.10.61.1n/a0.1.48_60.61.1
FreeBSD:15:latest0.61.1_10.61.1_1n/a0.1.48_70.1.48_7
FreeBSD:15:quarterly0.61.10.61.1n/an/an/a
FreeBSD:16:latest0.61.10.61.1_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 23
Run dependencies 7

No port depends on this one.

Configuration

No options to configure.

USES
cargo python
Service scripts
none

Files

distinfo 43
FileSizeSHA256
sqloxide-0.61.1.tar.gz308402ff1d48e6b59f2870e5e37d391eed82c126db001c30cd92383ea048cc69a5576
rust/crates/ar_archive_writer-0.5.1.crate853457eb93bbb63b9c227414f6eb3a0adfddca591a8ce1e9b60661bb08969b87e340b
rust/crates/cc-1.2.59.crate96779b7a4d3ec6524d28a329fc53654bbadc9bdd7b0431f5d65f1a56ffb28a1ee5283
rust/crates/cfg-if-1.0.4.crate93609330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801
rust/crates/find-msvc-tools-0.1.9.crate314935baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582
rust/crates/heck-0.5.0.crate115172304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea
rust/crates/libc-0.2.184.crate82017248f5d2a454e16a5ea0f4ced81bd44e4cfc7bd3a507b61887c99fd3538b28e4af
rust/crates/log-0.4.29.crate515155e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897
rust/crates/memchr-2.8.0.crate97780f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79
rust/crates/object-0.37.3.crate344032ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe
rust/crates/once_cell-1.21.4.crate350109f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50
rust/crates/portable-atomic-1.13.1.crate197001c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49
rust/crates/proc-macro2-1.0.106.crate597658fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934
rust/crates/psm-0.1.30.crate250613852766467df634d74f0b2d7819bf8dc483a0eb2e3b0f50f756f9cfe8b0d18d8
rust/crates/pyo3-0.28.3.crate1.204476e+0691fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12
rust/crates/pyo3-build-config-0.28.3.crate35961e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e
rust/crates/pyo3-ffi-0.28.3.crate808817f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e
rust/crates/pyo3-macros-0.28.3.crate8963df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813
rust/crates/pyo3-macros-backend-0.28.3.crate88063c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb
rust/crates/pythonize-0.28.0.crate210190b79f670c9626c8b651c0581011b57b6ba6970bb69faf01a7c4c0cfc81c43f95
Master sites 1
  • PYPI

Commit history 4

DateCommitCreditsLog message
9c878207a1 Mikael Urankar lang/rust: Bump revisions after 1.99.0
PR: 299016
350fe1be55 Po-Chuan Hsieh databases/py-sqloxide: Update to 0.61.1
Changes: https://github.com/wseaton/sqloxide/releases
7316461925 Mikael Urankar lang/rust: Bump revisions after 1.98.1
PR: 298139
9c892d2601 Mikael Urankar lang/rust: Bump revisions after 1.97.1
PR: 296645