queryparser-python3 0.7.1__tar.gz → 0.7.3__tar.gz
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_python3-0.7.1/lib/queryparser_python3.egg-info → queryparser_python3-0.7.3}/PKG-INFO +6 -2
- queryparser_python3-0.7.3/lib/queryparser/__init__.py +1 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/adql/adqltranslator.py +2 -2
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/common/common.py +322 -151
- queryparser_python3-0.7.3/lib/queryparser/postgresql/PostgreSQLLexer.py +1247 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/postgresql/PostgreSQLParser.py +1692 -1486
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/postgresql/PostgreSQLParserListener.py +18 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/postgresql/postgresqlprocessor.py +5 -5
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3/lib/queryparser_python3.egg-info}/PKG-INFO +6 -2
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser_python3.egg-info/requires.txt +5 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/pyproject.toml +21 -20
- queryparser_python3-0.7.1/lib/queryparser/__init__.py +0 -1
- queryparser_python3-0.7.1/lib/queryparser/postgresql/PostgreSQLLexer.py +0 -1192
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/LICENSE +0 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/README.md +0 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/adql/ADQLLexer.py +0 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/adql/ADQLParser.py +0 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/adql/ADQLParserListener.py +0 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/adql/ADQLParserVisitor.py +0 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/adql/__init__.py +0 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/common/__init__.py +0 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/exceptions/__init__.py +0 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/mysql/MySQLLexer.py +0 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/mysql/MySQLParser.py +0 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/mysql/MySQLParserListener.py +0 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/mysql/__init__.py +0 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/mysql/mysqllisteners.py +0 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/mysql/mysqlprocessor.py +0 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/postgresql/__init__.py +0 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/postgresql/postgresqllisteners.py +0 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser_python3.egg-info/SOURCES.txt +0 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser_python3.egg-info/dependency_links.txt +0 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser_python3.egg-info/top_level.txt +0 -0
- {queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/setup.cfg +0 -0
{queryparser_python3-0.7.1/lib/queryparser_python3.egg-info → queryparser_python3-0.7.3}/PKG-INFO
RENAMED
|
@@ -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
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = '0.7.3'
|
{queryparser_python3-0.7.1 → queryparser_python3-0.7.3}/lib/queryparser/adql/adqltranslator.py
RENAMED
|
@@ -205,7 +205,7 @@ class ADQLGeometryTranslationVisitor(ADQLParserVisitor):
|
|
|
205
205
|
if derived_column is not None:
|
|
206
206
|
ctx_text = f"spoint_to_array_deg({ctx_text})"
|
|
207
207
|
if not (any([isinstance(child, ADQLParser.As_clauseContext) for child in derived_column.children])):
|
|
208
|
-
ctx_text = f"{ctx_text} AS
|
|
208
|
+
ctx_text = f"{ctx_text} AS adql_point"
|
|
209
209
|
else:
|
|
210
210
|
ctx_text = ''
|
|
211
211
|
|
|
@@ -297,7 +297,7 @@ class ADQLGeometryTranslationVisitor(ADQLParserVisitor):
|
|
|
297
297
|
if derived_column is not None:
|
|
298
298
|
ctx_text = f"spoly_to_array_deg({ctx_text})"
|
|
299
299
|
if not (any([isinstance(child, ADQLParser.As_clauseContext) for child in derived_column.children])):
|
|
300
|
-
ctx_text = f"{ctx_text} AS
|
|
300
|
+
ctx_text = f"{ctx_text} AS adql_polygon"
|
|
301
301
|
else:
|
|
302
302
|
ctx_text = ''
|
|
303
303
|
|