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",