Port details on branch 2022Q2 |
- py-sqlglot Easily customizable SQL parser and transpiler
- 17.16.2_1 databases =0 17.16.2_1Version of this port present on the latest quarterly branch.
- Maintainer: sunpoet@FreeBSD.org
- Port Added: 2022-09-04 03:54:32
- Last Update: 2024-03-23 14:31:10
- Commit Hash: 3323b88
- Also Listed In: python
- License: MIT
- WWW:
- https://github.com/tobymao/sqlglot
- Description:
- SQLGlot is a no dependency Python SQL parser, transpiler, and optimizer. It can
be used to format SQL or translate between different dialects like DuckDB,
Presto, Spark, and BigQuery. It aims to read a wide variety of SQL inputs and
output syntactically correct SQL in the targeted dialects.
It is a very comprehensive generic SQL parser with a robust test suite. It is
also quite performant while being written purely in Python.
You can easily customize the parser, analyze queries, traverse expression trees,
and programmatically build SQL.
Syntax errors are highlighted and dialect incompatibilities can warn or raise
depending on configurations.
- ¦ ¦ ¦ ¦
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - There is no configure plist information for this port.
- Dependency lines:
-
- ${PYTHON_PKGNAMEPREFIX}sqlglot>0:databases/py-sqlglot@${PY_FLAVOR}
- To install the port:
- cd /usr/ports/databases/py-sqlglot/ && make install clean
- To add the package, run one of these commands:
- pkg install databases/py-sqlglot
- pkg install py39-sqlglot
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py39-sqlglot listed in the above command, you can pick from the names under the Packages section.- PKGNAME: py39-sqlglot
- Package flavors (<flavor>: <package>)
- distinfo:
- TIMESTAMP = 1693333947
SHA256 (sqlglot-17.16.2.tar.gz) = a3447e81da039e8fd3741ca9021141ae51f6909f1de43c18a93a679160538549
SIZE (sqlglot-17.16.2.tar.gz) = 8562390
Packages (timestamps in pop-ups are UTC):
- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- py39-setuptools>=0 : devel/py-setuptools@py39
- py39-setuptools-scm>=0 : devel/py-setuptools-scm@py39
- py39-wheel>=0 : devel/py-wheel@py39
- python3.9 : lang/python39
- py39-build>=0 : devel/py-build@py39
- py39-installer>=0 : devel/py-installer@py39
- Test dependencies:
-
- python3.9 : lang/python39
- Runtime dependencies:
-
- python3.9 : lang/python39
- This port is required by:
- for Run
-
- databases/py-mycli
Configuration Options:
- No options to configure
- Options name:
- databases_py-sqlglot
- USES:
- python
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|