Skip to content
Snippets Groups Projects
Verified Commit 757662b2 authored by sunpoet's avatar sunpoet
Browse files

databases/py-sqlglot: Add py-sqlglot 5.3.1

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.

WWW: https://github.com/tobymao/sqlglot
parent a6bf1fb9
No related branches found
No related tags found
No related merge requests found
......@@ -833,6 +833,7 @@
SUBDIR += py-sqlalchemy12
SUBDIR += py-sqlalchemy13
SUBDIR += py-sqlalchemy14
SUBDIR += py-sqlglot
SUBDIR += py-sqlite-fts4
SUBDIR += py-sqlite-utils
SUBDIR += py-sqlite3
......
PORTNAME= sqlglot
PORTVERSION= 5.3.1
CATEGORIES= databases python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Easily customizable SQL parser and transpiler
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= python:3.7+
USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
.include <bsd.port.mk>
TIMESTAMP = 1662212102
SHA256 (sqlglot-5.3.1.tar.gz) = 615d7bf589ed167972d98edc74657e2063254ebea0812eb6e06245dd928193fb
SIZE (sqlglot-5.3.1.tar.gz) = 90651
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.
WWW: https://github.com/tobymao/sqlglot
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment