sqlakit 0.2.0__tar.gz → 0.3.0__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.
- {sqlakit-0.2.0 → sqlakit-0.3.0}/PKG-INFO +5 -3
- {sqlakit-0.2.0 → sqlakit-0.3.0}/README.md +1 -1
- {sqlakit-0.2.0 → sqlakit-0.3.0}/pyproject.toml +3 -2
- {sqlakit-0.2.0 → sqlakit-0.3.0}/pyproject.toml.orig +7 -2
- {sqlakit-0.2.0 → sqlakit-0.3.0}/LICENSE +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/__init__.py +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/_base.py +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/_db.py +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/_discovery.py +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/_model.py +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/_query.py +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/_recording.py +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/_registry.py +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/_routing.py +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/_sql.py +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/asyncio/__init__.py +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/asyncio/_db.py +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/asyncio/_registry.py +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/asyncio/orm.py +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/asyncio/sql.py +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/exceptions.py +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/orm.py +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/py.typed +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/sql.py +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/testing.py +0 -0
- {sqlakit-0.2.0 → sqlakit-0.3.0}/sqlakit/types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sqlakit
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: A toolkit for SQLAlchemy applications.
|
|
5
5
|
Keywords: sqlalchemy,database,orm,sql,asyncio
|
|
6
6
|
Author: Anton Ruhlov
|
|
@@ -18,12 +18,14 @@ Classifier: Programming Language :: Python :: 3.14
|
|
|
18
18
|
Classifier: Topic :: Database
|
|
19
19
|
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
20
20
|
Classifier: Typing :: Typed
|
|
21
|
-
Requires-Dist: sqlalchemy
|
|
21
|
+
Requires-Dist: sqlalchemy>=2.0.22
|
|
22
|
+
Requires-Dist: sqlalchemy[asyncio]>=2.0.22 ; extra == 'asyncio'
|
|
22
23
|
Requires-Dist: sqlparse>=0.6.0 ; extra == 'debug'
|
|
23
24
|
Requires-Dist: jinja2sql>=0.11.0 ; extra == 'sql'
|
|
24
25
|
Requires-Python: >=3.11
|
|
25
26
|
Project-URL: Repository, https://github.com/antonrh/sqlakit
|
|
26
27
|
Project-URL: Documentation, https://github.com/antonrh/sqlakit
|
|
28
|
+
Provides-Extra: asyncio
|
|
27
29
|
Provides-Extra: debug
|
|
28
30
|
Provides-Extra: sql
|
|
29
31
|
Description-Content-Type: text/markdown
|
|
@@ -329,7 +331,7 @@ with db.using("replica").connect():
|
|
|
329
331
|
## The async API
|
|
330
332
|
|
|
331
333
|
The async API is identical: the same classes, the same methods. Only the import
|
|
332
|
-
changes:
|
|
334
|
+
changes. It needs the `sqlakit[asyncio]` extra:
|
|
333
335
|
|
|
334
336
|
```python
|
|
335
337
|
from sqlakit.asyncio import Database
|
|
@@ -299,7 +299,7 @@ with db.using("replica").connect():
|
|
|
299
299
|
## The async API
|
|
300
300
|
|
|
301
301
|
The async API is identical: the same classes, the same methods. Only the import
|
|
302
|
-
changes:
|
|
302
|
+
changes. It needs the `sqlakit[asyncio]` extra:
|
|
303
303
|
|
|
304
304
|
```python
|
|
305
305
|
from sqlakit.asyncio import Database
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "sqlakit"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.3.0"
|
|
4
4
|
description = "A toolkit for SQLAlchemy applications."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "MIT"
|
|
@@ -26,7 +26,7 @@ classifiers = [
|
|
|
26
26
|
"Typing :: Typed",
|
|
27
27
|
]
|
|
28
28
|
requires-python = ">=3.11"
|
|
29
|
-
dependencies = ["sqlalchemy
|
|
29
|
+
dependencies = ["sqlalchemy>=2.0.22"]
|
|
30
30
|
|
|
31
31
|
[[project.authors]]
|
|
32
32
|
name = "Anton Ruhlov"
|
|
@@ -37,6 +37,7 @@ Repository = "https://github.com/antonrh/sqlakit"
|
|
|
37
37
|
Documentation = "https://github.com/antonrh/sqlakit"
|
|
38
38
|
|
|
39
39
|
[project.optional-dependencies]
|
|
40
|
+
asyncio = ["sqlalchemy[asyncio]>=2.0.22"]
|
|
40
41
|
sql = ["jinja2sql>=0.11.0"]
|
|
41
42
|
debug = ["sqlparse>=0.6.0"]
|
|
42
43
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "sqlakit"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.3.0"
|
|
4
4
|
description = "A toolkit for SQLAlchemy applications."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
license = "MIT"
|
|
@@ -22,7 +22,7 @@ classifiers = [
|
|
|
22
22
|
]
|
|
23
23
|
requires-python = ">=3.11"
|
|
24
24
|
dependencies = [
|
|
25
|
-
"sqlalchemy
|
|
25
|
+
"sqlalchemy>=2.0.22",
|
|
26
26
|
]
|
|
27
27
|
|
|
28
28
|
[project.urls]
|
|
@@ -30,6 +30,11 @@ Repository = "https://github.com/antonrh/sqlakit"
|
|
|
30
30
|
Documentation = "https://github.com/antonrh/sqlakit"
|
|
31
31
|
|
|
32
32
|
[project.optional-dependencies]
|
|
33
|
+
# `greenlet`, which the async API runs on. `SQLAlchemy` installs it by itself
|
|
34
|
+
# where a wheel exists, and this asks for it on the platforms where none does.
|
|
35
|
+
asyncio = [
|
|
36
|
+
"sqlalchemy[asyncio]>=2.0.22",
|
|
37
|
+
]
|
|
33
38
|
sql = [
|
|
34
39
|
"jinja2sql>=0.11.0",
|
|
35
40
|
]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|