queryparser-python3 0.7.1__py3-none-any.whl → 0.7.3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- queryparser/__init__.py +1 -1
- queryparser/adql/adqltranslator.py +2 -2
- queryparser/common/common.py +322 -151
- queryparser/postgresql/PostgreSQLLexer.py +992 -937
- queryparser/postgresql/PostgreSQLParser.py +1692 -1486
- queryparser/postgresql/PostgreSQLParserListener.py +18 -0
- queryparser/postgresql/postgresqlprocessor.py +5 -5
- {queryparser_python3-0.7.1.dist-info → queryparser_python3-0.7.3.dist-info}/METADATA +6 -2
- {queryparser_python3-0.7.1.dist-info → queryparser_python3-0.7.3.dist-info}/RECORD +12 -12
- {queryparser_python3-0.7.1.dist-info → queryparser_python3-0.7.3.dist-info}/WHEEL +1 -1
- {queryparser_python3-0.7.1.dist-info → queryparser_python3-0.7.3.dist-info}/licenses/LICENSE +0 -0
- {queryparser_python3-0.7.1.dist-info → queryparser_python3-0.7.3.dist-info}/top_level.txt +0 -0
|
@@ -755,6 +755,24 @@ class PostgreSQLParserListener(ParseTreeListener):
|
|
|
755
755
|
pass
|
|
756
756
|
|
|
757
757
|
|
|
758
|
+
# Enter a parse tree produced by PostgreSQLParser#polygon.
|
|
759
|
+
def enterPolygon(self, ctx:PostgreSQLParser.PolygonContext):
|
|
760
|
+
pass
|
|
761
|
+
|
|
762
|
+
# Exit a parse tree produced by PostgreSQLParser#polygon.
|
|
763
|
+
def exitPolygon(self, ctx:PostgreSQLParser.PolygonContext):
|
|
764
|
+
pass
|
|
765
|
+
|
|
766
|
+
|
|
767
|
+
# Enter a parse tree produced by PostgreSQLParser#point.
|
|
768
|
+
def enterPoint(self, ctx:PostgreSQLParser.PointContext):
|
|
769
|
+
pass
|
|
770
|
+
|
|
771
|
+
# Exit a parse tree produced by PostgreSQLParser#point.
|
|
772
|
+
def exitPoint(self, ctx:PostgreSQLParser.PointContext):
|
|
773
|
+
pass
|
|
774
|
+
|
|
775
|
+
|
|
758
776
|
# Enter a parse tree produced by PostgreSQLParser#spoint.
|
|
759
777
|
def enterSpoint(self, ctx:PostgreSQLParser.SpointContext):
|
|
760
778
|
pass
|
|
@@ -6,18 +6,18 @@ used in a query.
|
|
|
6
6
|
|
|
7
7
|
"""
|
|
8
8
|
|
|
9
|
-
from __future__ import
|
|
9
|
+
from __future__ import absolute_import, print_function
|
|
10
10
|
|
|
11
11
|
__all__ = ["PostgreSQLQueryProcessor"]
|
|
12
12
|
|
|
13
|
+
from ..common import SQLQueryProcessor
|
|
13
14
|
from .PostgreSQLLexer import PostgreSQLLexer
|
|
14
15
|
from .PostgreSQLParser import PostgreSQLParser
|
|
15
16
|
from .PostgreSQLParserListener import PostgreSQLParserListener
|
|
16
17
|
|
|
17
|
-
from ..common import SQLQueryProcessor
|
|
18
|
-
|
|
19
18
|
|
|
20
19
|
class PostgreSQLQueryProcessor(SQLQueryProcessor):
|
|
21
20
|
def __init__(self, query=None):
|
|
22
|
-
super().__init__(
|
|
23
|
-
|
|
21
|
+
super().__init__(
|
|
22
|
+
PostgreSQLLexer, PostgreSQLParser, PostgreSQLParserListener, '"', query
|
|
23
|
+
)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: queryparser-python3
|
|
3
|
-
Version: 0.7.
|
|
3
|
+
Version: 0.7.3
|
|
4
4
|
Summary: Package for parsing PostgreSQL/MySQL and translating ADQL to PostgreSQL/MySQL.
|
|
5
5
|
Author-email: Gal Matijevic <gmatijevic@aip.de>
|
|
6
|
-
Maintainer-email: Kirill Makan <kmakan@aip.de>
|
|
6
|
+
Maintainer-email: Kirill Makan <kmakan@aip.de>, Simeon Reusch <sreusch@aip.de>
|
|
7
7
|
License: Apache-2.0
|
|
8
8
|
Project-URL: Repository, https://github.com/aipescience/queryparser.git
|
|
9
9
|
Project-URL: Issues, https://github.com/aipescience/queryparser/issues
|
|
@@ -24,6 +24,10 @@ Requires-Dist: antlr4-python3-runtime==4.13.1
|
|
|
24
24
|
Provides-Extra: test
|
|
25
25
|
Requires-Dist: pytest~=8.2.0; extra == "test"
|
|
26
26
|
Requires-Dist: PyYAML~=6.0; extra == "test"
|
|
27
|
+
Provides-Extra: dev
|
|
28
|
+
Requires-Dist: build; extra == "dev"
|
|
29
|
+
Requires-Dist: ruff; extra == "dev"
|
|
30
|
+
Requires-Dist: twine; extra == "dev"
|
|
27
31
|
Dynamic: license-file
|
|
28
32
|
|
|
29
33
|
queryparser
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
queryparser/__init__.py,sha256=
|
|
1
|
+
queryparser/__init__.py,sha256=i5zhgfscuWC8vabp6pP1S6z_O5355x2aIv0so00_cmo,22
|
|
2
2
|
queryparser/adql/ADQLLexer.py,sha256=JVQ_TseEuYMaNr3kHBw50oKMuu4Au1vWak8u1dQAavs,89907
|
|
3
3
|
queryparser/adql/ADQLParser.py,sha256=_kswLJMJIR9EwMhpS17xRC2hcSZo8O1ygkXlHc7Vd0s,370976
|
|
4
4
|
queryparser/adql/ADQLParserListener.py,sha256=V80PMXEy6hoQMwRqExOFRvJocH2eBIdR3BbxW1t14Dk,39836
|
|
5
5
|
queryparser/adql/ADQLParserVisitor.py,sha256=YpDeQorBMJG4AWeBQk7Gxdijmf302WuY83iWu5taOZo,23612
|
|
6
6
|
queryparser/adql/__init__.py,sha256=QjRobun31YF-F8qf66RtwjRgRgRiQjLIao4jaIE5Lv8,108
|
|
7
|
-
queryparser/adql/adqltranslator.py,sha256=
|
|
7
|
+
queryparser/adql/adqltranslator.py,sha256=6NJnSY9AkW-BrQmo97Td84dNqmTOEN5NXOlt0unlAAQ,25592
|
|
8
8
|
queryparser/common/__init__.py,sha256=k1jnIaxY1TYG8dVXokbsT9Q56msjKRfOSTPEhWbo3GE,214
|
|
9
|
-
queryparser/common/common.py,sha256=
|
|
9
|
+
queryparser/common/common.py,sha256=DTX0PXHUvbU5YboXcFrvE18qx5-vOdqx9Hji_m5ts7o,38098
|
|
10
10
|
queryparser/exceptions/__init__.py,sha256=zVJsC5p3_CfpC0wDdVbS0-HLIbRGz6-xMa5K5_qX82A,247
|
|
11
11
|
queryparser/mysql/MySQLLexer.py,sha256=spBkNK5d1cgpAeCxYaw7E3lhFI1qAlx5q40pO2MyLXA,339457
|
|
12
12
|
queryparser/mysql/MySQLParser.py,sha256=moVPn_tOYGWKBuMJqioeb3KkF4cnx31xGGRkv9uyeZI,320949
|
|
@@ -14,14 +14,14 @@ queryparser/mysql/MySQLParserListener.py,sha256=c6YPErBcvas9gxg62y5ZYW82eGfT4r7a
|
|
|
14
14
|
queryparser/mysql/__init__.py,sha256=eH7URYmOEqLxyZyZV2L60UH6qsFQXD4-SjIzyzI13o0,108
|
|
15
15
|
queryparser/mysql/mysqllisteners.py,sha256=D-W-p7QO6-eQDWO-mg-WbAOyodZ6-VU79hg1mvvxWbY,67
|
|
16
16
|
queryparser/mysql/mysqlprocessor.py,sha256=iF9CUUm3Hnw_mkmp3ncaXc_iAd48pr6WM0p0Tmn4Vnw,648
|
|
17
|
-
queryparser/postgresql/PostgreSQLLexer.py,sha256=
|
|
18
|
-
queryparser/postgresql/PostgreSQLParser.py,sha256=
|
|
19
|
-
queryparser/postgresql/PostgreSQLParserListener.py,sha256=
|
|
17
|
+
queryparser/postgresql/PostgreSQLLexer.py,sha256=vza2Kl2aLCD9CGBaAcer3G1Oohqac7kuf9dlNKfS5AQ,77264
|
|
18
|
+
queryparser/postgresql/PostgreSQLParser.py,sha256=S7dmeLBVCiLIafBwwHsjGvJQ5i3XotyS1ufrq0a1BFU,333042
|
|
19
|
+
queryparser/postgresql/PostgreSQLParserListener.py,sha256=s6nN_aiPJnawUZS5yRDg_sBWo36RAGnB2OK5KMhKOAo,32328
|
|
20
20
|
queryparser/postgresql/__init__.py,sha256=Y06UttOdTusJH1hHDdmm1XOwNP1K03c7K1iNJrh7Yyw,123
|
|
21
21
|
queryparser/postgresql/postgresqllisteners.py,sha256=wCyqDsNPQ2Hl0odXy-ZZmI3HB_6CY7LvwkQDogOLONg,72
|
|
22
|
-
queryparser/postgresql/postgresqlprocessor.py,sha256=
|
|
23
|
-
queryparser_python3-0.7.
|
|
24
|
-
queryparser_python3-0.7.
|
|
25
|
-
queryparser_python3-0.7.
|
|
26
|
-
queryparser_python3-0.7.
|
|
27
|
-
queryparser_python3-0.7.
|
|
22
|
+
queryparser/postgresql/postgresqlprocessor.py,sha256=x5qG9A93oGx9hnarnFIevJ1WNBhjc8Ao6v_bizmVpIw,702
|
|
23
|
+
queryparser_python3-0.7.3.dist-info/licenses/LICENSE,sha256=oRiVx4r69ZT4QO-yy0V8lx8xhGm_OudJKSjd-Q6NL9Q,25853
|
|
24
|
+
queryparser_python3-0.7.3.dist-info/METADATA,sha256=k09HdsySGcAEMVH_WJfwWObZQYCjUJ9pd3FmPbDYEFI,5699
|
|
25
|
+
queryparser_python3-0.7.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
26
|
+
queryparser_python3-0.7.3.dist-info/top_level.txt,sha256=SsQ3yI4UEjGsc6tHaZTmHTdvhAk4Itp5BGQ-J-zvx7U,12
|
|
27
|
+
queryparser_python3-0.7.3.dist-info/RECORD,,
|
{queryparser_python3-0.7.1.dist-info → queryparser_python3-0.7.3.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|