plexus-python-common 1.1.93__py3-none-any.whl → 1.1.94__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.
@@ -3,9 +3,6 @@ import dataclasses
3
3
  from collections.abc import Callable, Sequence
4
4
  from typing import Any, Self
5
5
 
6
- import asyncpg
7
- import psycopg
8
- import pymysql
9
6
  import sqlalchemy
10
7
  import sqlalchemy.ext.asyncio
11
8
  import sqlalchemy.ext.compiler
@@ -37,9 +34,11 @@ class Dialects:
37
34
 
38
35
 
39
36
  class Drivers:
40
- psycopg = psycopg.__name__
41
- asyncpg = asyncpg.__name__
42
- pymysql = pymysql.__name__
37
+ # SQLAlchemy imports the selected driver lazily when creating an engine.
38
+ psycopg = "psycopg"
39
+ asyncpg = "asyncpg"
40
+ pymysql = "pymysql"
41
+ asyncmy = "asyncmy"
43
42
 
44
43
 
45
44
  dialects = Dialects
@@ -1,18 +1,21 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plexus-python-common
3
- Version: 1.1.93
3
+ Version: 1.1.94
4
4
  Classifier: Programming Language :: Python :: 3
5
5
  Classifier: Programming Language :: Python :: 3.12
6
6
  Classifier: Programming Language :: Python :: 3.13
7
7
  Classifier: Programming Language :: Python :: 3.14
8
8
  Requires-Python: <3.15,>=3.12
9
- Requires-Dist: asyncpg>=0.30
10
9
  Requires-Dist: numpy>=2.3
11
- Requires-Dist: psycopg>=3.2
12
- Requires-Dist: pymysql>=1.1
13
10
  Requires-Dist: sqlalchemy[asyncio]>=2.0
11
+ Provides-Extra: db-postgres
12
+ Requires-Dist: asyncpg>=0.30; extra == "db-postgres"
13
+ Requires-Dist: psycopg>=3.2; extra == "db-postgres"
14
+ Provides-Extra: db-mysql
15
+ Requires-Dist: asyncmy>=0.2; extra == "db-mysql"
16
+ Requires-Dist: pymysql>=1.1; extra == "db-mysql"
14
17
  Provides-Extra: all
15
- Requires-Dist: plexus-python-common; extra == "all"
18
+ Requires-Dist: plexus-python-common[db-mysql,db-postgres]; extra == "all"
16
19
  Provides-Extra: test
17
20
  Requires-Dist: ddt>=1.7; extra == "test"
18
21
  Requires-Dist: pytest-asyncio>=1.2; extra == "test"
@@ -3,7 +3,7 @@ plexus/common/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSu
3
3
  plexus/common/utils/argutils.py,sha256=L47g0zz6-4PHWdNof4w1cprukctHpF9iQdsFLqLYlgM,8645
4
4
  plexus/common/utils/config.py,sha256=Hc35GzKWyKU4jyjsay5JtGhAtQ9GReNWKJEOskJVe3s,4882
5
5
  plexus/common/utils/csvutils.py,sha256=quGN_F-WxtznhCLqst2coXaK-DVgxzwe2FA0qiiskf8,8344
6
- plexus/common/utils/dbutils.py,sha256=0GhnW1P1fJsqB4NjS4V6R-oV8d4R-ZZzi-IpiZCRjAs,16575
6
+ plexus/common/utils/dbutils.py,sha256=qzV-cmbbSMoFqnqnhItj-GIsYLIO6Aet-X7jl_fSU7M,16610
7
7
  plexus/common/utils/dtutils.py,sha256=A_upNJJJ3q6e3QZ2m5jXkDLwpAtUU9lEBY2MotAV5aY,12229
8
8
  plexus/common/utils/funcutils.py,sha256=fdWmQ3GG0RjBwe2kgx4BIrsBUIs89saa60VN5lvZb4I,9862
9
9
  plexus/common/utils/iterutils.py,sha256=JL8j8plIoc2hF8D-BY6dOHEBoeoFZ1nLrhw4dFth_lA,30988
@@ -17,7 +17,7 @@ plexus/common/utils/span.py,sha256=RqgUuupN01xCjm4l5uxrr8BFFrUrytRVGihmENUawpk,6
17
17
  plexus/common/utils/strutils.py,sha256=uB46pPgaO_UMulwfW-hO7QOpCyhB9AdupeWSsJR3wGA,5098
18
18
  plexus/common/utils/testutils.py,sha256=VuxLicsfHoGe9ESYX__BTU6Etsj4VKmhyreGFZ9h4Gs,6000
19
19
  plexus/common/utils/typeutils.py,sha256=RVkYkFRgDrx77OHFH7PavMV0AIB0S8ly40rs4g7JWE4,8220
20
- plexus_python_common-1.1.93.dist-info/METADATA,sha256=WiU-fMroTL3_Eer_cLZuRXNp0DSr0oBsJw7ib9KOYmA,880
21
- plexus_python_common-1.1.93.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
22
- plexus_python_common-1.1.93.dist-info/top_level.txt,sha256=ug_g7CVwaMQuas5UzAXbHUrQvKGCn8ezc6ZNvvRlJOE,7
23
- plexus_python_common-1.1.93.dist-info/RECORD,,
20
+ plexus_python_common-1.1.94.dist-info/METADATA,sha256=uPmLYJYhuewEeQgw80-zYZ_bevI-w2rMAkDel9MJh0M,1073
21
+ plexus_python_common-1.1.94.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
22
+ plexus_python_common-1.1.94.dist-info/top_level.txt,sha256=ug_g7CVwaMQuas5UzAXbHUrQvKGCn8ezc6ZNvvRlJOE,7
23
+ plexus_python_common-1.1.94.dist-info/RECORD,,