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
| System | Port | Version |
|---|---|---|
| FreeBSD | databases/py-sqloxide | 0.61.1_1 |
| DragonFly | databases/py-sqloxide | 0.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.61.1 | 0.61.1_1 | - | 0.1.48_7 | 0.61.1_1 |
| FreeBSD:14:quarterly | 0.61.1 | 0.61.1 | n/a | 0.1.48_6 | 0.61.1 |
| FreeBSD:15:latest | 0.61.1_1 | 0.61.1_1 | n/a | 0.1.48_7 | 0.1.48_7 |
| FreeBSD:15:quarterly | 0.61.1 | 0.61.1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.61.1 | 0.61.1_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 1
${PYTHON_PKGNAMEPREFIX}maturin>=1.0<2.0: devel/py-maturin
The full lists below include those, and their dependencies in turn.
Build dependencies 23
- archivers/brotli
- archivers/liblz4
- archivers/zstd
- devel/gettext-runtime
- devel/libffi
- devel/libunistring
- devel/py-build
- devel/py-installer
- devel/py-maturin
- devel/py-packaging
- devel/py-pyproject-hooks
- devel/readline
- dns/libidn2
- dns/libpsl
- ftp/curl
- lang/python312
- lang/python315
- lang/rust
- math/mpdecimal
- print/indexinfo
- security/libssh2
- textproc/expat2
- www/libnghttp2
Run dependencies 7
No port depends on this one.
Configuration
No options to configure.
- USES
- cargo python
- Service scripts
- none
Files
distinfo 43
| File | Size | SHA256 |
|---|---|---|
| sqloxide-0.61.1.tar.gz | 30840 | 2ff1d48e6b59f2870e5e37d391eed82c126db001c30cd92383ea048cc69a5576 |
| rust/crates/ar_archive_writer-0.5.1.crate | 85345 | 7eb93bbb63b9c227414f6eb3a0adfddca591a8ce1e9b60661bb08969b87e340b |
| rust/crates/cc-1.2.59.crate | 96779 | b7a4d3ec6524d28a329fc53654bbadc9bdd7b0431f5d65f1a56ffb28a1ee5283 |
| rust/crates/cfg-if-1.0.4.crate | 9360 | 9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801 |
| rust/crates/find-msvc-tools-0.1.9.crate | 31493 | 5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582 |
| rust/crates/heck-0.5.0.crate | 11517 | 2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea |
| rust/crates/libc-0.2.184.crate | 820172 | 48f5d2a454e16a5ea0f4ced81bd44e4cfc7bd3a507b61887c99fd3538b28e4af |
| rust/crates/log-0.4.29.crate | 51515 | 5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897 |
| rust/crates/memchr-2.8.0.crate | 97780 | f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79 |
| rust/crates/object-0.37.3.crate | 344032 | ff76201f031d8863c38aa7f905eca4f53abbfa15f609db4277d44cd8938f33fe |
| rust/crates/once_cell-1.21.4.crate | 35010 | 9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50 |
| rust/crates/portable-atomic-1.13.1.crate | 197001 | c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49 |
| rust/crates/proc-macro2-1.0.106.crate | 59765 | 8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934 |
| rust/crates/psm-0.1.30.crate | 25061 | 3852766467df634d74f0b2d7819bf8dc483a0eb2e3b0f50f756f9cfe8b0d18d8 |
| rust/crates/pyo3-0.28.3.crate | 1.204476e+06 | 91fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12 |
| rust/crates/pyo3-build-config-0.28.3.crate | 35961 | e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e |
| rust/crates/pyo3-ffi-0.28.3.crate | 80881 | 7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e |
| rust/crates/pyo3-macros-0.28.3.crate | 8963 | df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813 |
| rust/crates/pyo3-macros-backend-0.28.3.crate | 88063 | c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb |
| rust/crates/pythonize-0.28.0.crate | 21019 | 0b79f670c9626c8b651c0581011b57b6ba6970bb69faf01a7c4c0cfc81c43f95 |
Master sites 1
- PYPI