GeoAlchemy2 0.14.5__py3-none-any.whl → 0.14.7__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.
- {GeoAlchemy2-0.14.5.dist-info → GeoAlchemy2-0.14.7.dist-info}/METADATA +4 -1
- {GeoAlchemy2-0.14.5.dist-info → GeoAlchemy2-0.14.7.dist-info}/RECORD +7 -7
- {GeoAlchemy2-0.14.5.dist-info → GeoAlchemy2-0.14.7.dist-info}/WHEEL +1 -1
- geoalchemy2/admin/dialects/mysql.py +3 -3
- geoalchemy2/types/__init__.py +4 -4
- {GeoAlchemy2-0.14.5.dist-info → GeoAlchemy2-0.14.7.dist-info}/COPYING.rst +0 -0
- {GeoAlchemy2-0.14.5.dist-info → GeoAlchemy2-0.14.7.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: GeoAlchemy2
|
3
|
-
Version: 0.14.
|
3
|
+
Version: 0.14.7
|
4
4
|
Summary: Using SQLAlchemy with Spatial Databases
|
5
5
|
Home-page: https://geoalchemy-2.readthedocs.io/en/stable/
|
6
6
|
Author: Eric Lemoine
|
@@ -43,6 +43,9 @@ GeoAlchemy 2
|
|
43
43
|
:target: https://geoalchemy-2.readthedocs.io/en/latest/?badge=latest
|
44
44
|
:alt: Documentation Status
|
45
45
|
|
46
|
+
.. image:: https://zenodo.org/badge/5638538.svg
|
47
|
+
:target: https://zenodo.org/doi/10.5281/zenodo.10808783
|
48
|
+
|
46
49
|
GeoAlchemy 2 is a Python toolkit for working with spatial databases. It is
|
47
50
|
based on the gorgeous `SQLAlchemy <http://www.sqlalchemy.org/>`_.
|
48
51
|
|
@@ -14,18 +14,18 @@ geoalchemy2/admin/__init__.py,sha256=QwqC-IaQRm_vXV4ZBOuPk3C2byeno65IGzkAdQ5URDc
|
|
14
14
|
geoalchemy2/admin/dialects/__init__.py,sha256=1QYO2ET6emC-uB30CC97_4_td-O6SOudoEPsJOfo4IE,366
|
15
15
|
geoalchemy2/admin/dialects/common.py,sha256=bIAkd1TUnn24XEaJU6_OZ_eSHOOlMKthOEkBJ4p6Z4k,2935
|
16
16
|
geoalchemy2/admin/dialects/geopackage.py,sha256=AX3Jq2-yJW5SzZJDLUytNGsqs05x4NwxHifPirO500o,13468
|
17
|
-
geoalchemy2/admin/dialects/mysql.py,sha256=
|
17
|
+
geoalchemy2/admin/dialects/mysql.py,sha256=p4GSudDUMRDc2usyPCJ--JWQkyV08yuitxhrNKJPGXE,6866
|
18
18
|
geoalchemy2/admin/dialects/postgresql.py,sha256=GTUoWKGEhkNiC0tVHkfIcXpNwd-JumY9kaqoBivKXLo,6190
|
19
19
|
geoalchemy2/admin/dialects/sqlite.py,sha256=oAx6_XFVqAcL82IyUl19QM4XjMrt-Ofc-OmMsAbjfyI,13596
|
20
|
-
geoalchemy2/types/__init__.py,sha256=
|
20
|
+
geoalchemy2/types/__init__.py,sha256=T4Ph7Zr02PMe7drqtquIdzEPKBBEXUybQIDPuhWSoRM,14185
|
21
21
|
geoalchemy2/types/dialects/__init__.py,sha256=Z9GgQc7pEbOMnPglXnU0tBSY7DynB5uszCwfw2CGT_k,358
|
22
22
|
geoalchemy2/types/dialects/common.py,sha256=gxKaRQhIODJhu_yBurlvFNAqGh3LfPNu_DcObEG1wlU,138
|
23
23
|
geoalchemy2/types/dialects/geopackage.py,sha256=V7XFYNQrSukCj1mIaPIDYuMZRcXolj0CWMEy057t2VY,146
|
24
24
|
geoalchemy2/types/dialects/mysql.py,sha256=I37iC1Gl78p9BF3f3RB-zBjmQcT64bN60RFXitvVsiI,1789
|
25
25
|
geoalchemy2/types/dialects/postgresql.py,sha256=4B2IPoZfV99w7KUYkazSJs7c6LjF1cALVhFgB7atKCk,1116
|
26
26
|
geoalchemy2/types/dialects/sqlite.py,sha256=e3gj-JuxVP7bHU9BjsKRjjYJK_6OYJlwGaFA3VumamM,835
|
27
|
-
GeoAlchemy2-0.14.
|
28
|
-
GeoAlchemy2-0.14.
|
29
|
-
GeoAlchemy2-0.14.
|
30
|
-
GeoAlchemy2-0.14.
|
31
|
-
GeoAlchemy2-0.14.
|
27
|
+
GeoAlchemy2-0.14.7.dist-info/COPYING.rst,sha256=-bQKftq9uMOROzF7oN65kYBBIJKxTmBuDoftp27IC3I,1056
|
28
|
+
GeoAlchemy2-0.14.7.dist-info/METADATA,sha256=R_-087iq69pLYKswY-c3IRIGfybISvtPDHW6xhAtPDw,2087
|
29
|
+
GeoAlchemy2-0.14.7.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
30
|
+
GeoAlchemy2-0.14.7.dist-info/top_level.txt,sha256=3kGUTcfBeXd61zFpof6-qiuw1peNF_HuZabgHQgrdis,12
|
31
|
+
GeoAlchemy2-0.14.7.dist-info/RECORD,,
|
@@ -176,19 +176,19 @@ def _compile_GeomFromWKB_MySql(element, compiler, **kw):
|
|
176
176
|
|
177
177
|
|
178
178
|
@compiles(functions.ST_GeomFromText, "mysql") # type: ignore
|
179
|
-
@compiles(functions.
|
179
|
+
@compiles(functions.ST_GeomFromText, "mariadb") # type: ignore
|
180
180
|
def _MySQL_ST_GeomFromText(element, compiler, **kw):
|
181
181
|
return _compile_GeomFromText_MySql(element, compiler, **kw)
|
182
182
|
|
183
183
|
|
184
184
|
@compiles(functions.ST_GeomFromEWKT, "mysql") # type: ignore
|
185
|
-
@compiles(functions.
|
185
|
+
@compiles(functions.ST_GeomFromEWKT, "mariadb") # type: ignore
|
186
186
|
def _MySQL_ST_GeomFromEWKT(element, compiler, **kw):
|
187
187
|
return _compile_GeomFromText_MySql(element, compiler, **kw)
|
188
188
|
|
189
189
|
|
190
190
|
@compiles(functions.ST_GeomFromWKB, "mysql") # type: ignore
|
191
|
-
@compiles(functions.
|
191
|
+
@compiles(functions.ST_GeomFromWKB, "mariadb") # type: ignore
|
192
192
|
def _MySQL_ST_GeomFromWKB(element, compiler, **kw):
|
193
193
|
return _compile_GeomFromWKB_MySql(element, compiler, **kw)
|
194
194
|
|
geoalchemy2/types/__init__.py
CHANGED
@@ -114,14 +114,14 @@ class _GISType(UserDefinedType):
|
|
114
114
|
|
115
115
|
def __init__(
|
116
116
|
self,
|
117
|
-
geometry_type="GEOMETRY",
|
117
|
+
geometry_type: Optional[str] = "GEOMETRY",
|
118
118
|
srid=-1,
|
119
119
|
dimension=2,
|
120
120
|
spatial_index=True,
|
121
121
|
use_N_D_index=False,
|
122
|
-
use_typmod=None,
|
123
|
-
from_text=None,
|
124
|
-
name=None,
|
122
|
+
use_typmod: Optional[bool] = None,
|
123
|
+
from_text: Optional[str] = None,
|
124
|
+
name: Optional[str] = None,
|
125
125
|
nullable=True,
|
126
126
|
_spatial_index_reflected=None,
|
127
127
|
) -> None:
|
File without changes
|
File without changes
|