From 75a7e33fa47579c6eeeabe71b3830cc2d80b3a0d Mon Sep 17 00:00:00 2001 From: changxing <1278729001@qq.com> Date: Thu, 30 May 2024 08:39:44 +0800 Subject: [PATCH] =?UTF-8?q?0.6.0=20=E7=89=88=E6=9C=AC=E6=89=93=E5=8C=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- demo_2.py | 17 ----------------- setup.py | 4 ++-- 2 files changed, 2 insertions(+), 19 deletions(-) delete mode 100644 demo_2.py diff --git a/demo_2.py b/demo_2.py deleted file mode 100644 index 25581ce..0000000 --- a/demo_2.py +++ /dev/null @@ -1,17 +0,0 @@ -""" -解析 MySQL 建表语句 -""" - -from metasequoia_sql import SQLParser -from scripts.demo_sql.sql_basic_tutorial import SBT_CH08_18 -from metasequoia_sql import * -from metasequoia_sql.analyzer import * -from metasequoia_sql.analyzer.node import StandardColumn -from metasequoia_sql.common import ordered_distinct -from scripts.demo_sql.sql_basic_tutorial import * - -if __name__ == "__main__": - statement = SQLParser.parse_select_statement(SBT_CH08_18) - print(statement) - print(CurrentUsedQuoteColumn.handle(statement)) - print(CurrentGroupByClauseUsedQuoteColumn.handle(statement)) diff --git a/setup.py b/setup.py index a29719c..33db6cb 100644 --- a/setup.py +++ b/setup.py @@ -7,8 +7,8 @@ setup( name="metasequoia-sql", - version="0.5.0", - description="SQL语法解析器,包含词法树解析、语法树解析和语法树分析功能。", + version="0.6.0", + description="metasequoia-sql 是一款注重性能的 SQL 语法的解析和分析器,适用于 SQL 的格式化、执行和分析场景,致力于打造性能最高的 Python 版 SQL 解析器。", long_description=long_description, long_description_content_type="text/markdown", author="changxing",