pgsqlasync2fast-fastapi 0.1.2__py3-none-any.whl → 0.2.0__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.
- pgsqlasync2fast_fastapi/__version__.py +1 -1
- pgsqlasync2fast_fastapi/connection.py +3 -2
- pgsqlasync2fast_fastapi/database.py +0 -1
- pgsqlasync2fast_fastapi/dependencies.py +2 -1
- {pgsqlasync2fast_fastapi-0.1.2.dist-info → pgsqlasync2fast_fastapi-0.2.0.dist-info}/METADATA +2 -1
- pgsqlasync2fast_fastapi-0.2.0.dist-info/RECORD +11 -0
- pgsqlasync2fast_fastapi-0.1.2.dist-info/RECORD +0 -11
- {pgsqlasync2fast_fastapi-0.1.2.dist-info → pgsqlasync2fast_fastapi-0.2.0.dist-info}/WHEEL +0 -0
- {pgsqlasync2fast_fastapi-0.1.2.dist-info → pgsqlasync2fast_fastapi-0.2.0.dist-info}/licenses/LICENSE +0 -0
- {pgsqlasync2fast_fastapi-0.1.2.dist-info → pgsqlasync2fast_fastapi-0.2.0.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "0.
|
|
1
|
+
__version__ = "0.2.0"
|
|
@@ -2,9 +2,10 @@
|
|
|
2
2
|
Database connection and engine management
|
|
3
3
|
"""
|
|
4
4
|
|
|
5
|
-
from typing import
|
|
5
|
+
from typing import Dict, Optional
|
|
6
6
|
|
|
7
|
-
from
|
|
7
|
+
from sqlmodel.ext.asyncio.session import AsyncSession
|
|
8
|
+
from sqlalchemy.ext.asyncio import AsyncEngine, create_async_engine
|
|
8
9
|
from sqlalchemy.ext.asyncio import async_sessionmaker
|
|
9
10
|
from sqlalchemy import text
|
|
10
11
|
|
|
@@ -5,7 +5,8 @@ FastAPI dependencies for database functionality
|
|
|
5
5
|
from typing import AsyncGenerator, Optional
|
|
6
6
|
|
|
7
7
|
from fastapi import Depends
|
|
8
|
-
from
|
|
8
|
+
from sqlmodel.ext.asyncio.session import AsyncSession
|
|
9
|
+
from sqlalchemy.ext.asyncio import AsyncEngine
|
|
9
10
|
|
|
10
11
|
from .connection import DatabaseManager, get_manager
|
|
11
12
|
from .settings import DatabaseSettings, settings
|
{pgsqlasync2fast_fastapi-0.1.2.dist-info → pgsqlasync2fast_fastapi-0.2.0.dist-info}/METADATA
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pgsqlasync2fast-fastapi
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.2.0
|
|
4
4
|
Summary: Simple and fast PostgreSQL async module for FastAPI with multi-database support
|
|
5
5
|
Author-email: Angel Daniel Sanchez Castillo <angeldaniel.sanchezcastillo@gmail.com>
|
|
6
6
|
License: MIT License
|
|
@@ -47,6 +47,7 @@ Requires-Dist: fastapi>=0.100.0
|
|
|
47
47
|
Requires-Dist: pydantic>=2.0.0
|
|
48
48
|
Requires-Dist: pydantic-settings>=2.0.0
|
|
49
49
|
Requires-Dist: sqlalchemy>=2.0.0
|
|
50
|
+
Requires-Dist: sqlmodel>=0.0.22
|
|
50
51
|
Requires-Dist: asyncpg>=0.29.0
|
|
51
52
|
Requires-Dist: greenlet>=3.0.0
|
|
52
53
|
Dynamic: license-file
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
pgsqlasync2fast_fastapi/__init__.py,sha256=TYLh-ERPDG9HGvoQbFcy3Kwj7EyoVlibZC_vAHMEvqY,1351
|
|
2
|
+
pgsqlasync2fast_fastapi/__version__.py,sha256=Zn1KFblwuFHiDRdRAiRnDBRkbPttWh44jKa5zG2ov0E,22
|
|
3
|
+
pgsqlasync2fast_fastapi/connection.py,sha256=vyR3SLpLTENYGKWkEoou0ud5IwUOJ9ksfkysUW5tz-I,6168
|
|
4
|
+
pgsqlasync2fast_fastapi/database.py,sha256=t6i8V4Bbec0sPoWYsBPScSqQpde1tVkqGx0CBRnAupk,8856
|
|
5
|
+
pgsqlasync2fast_fastapi/dependencies.py,sha256=jgX14S6h6i4Uk6edMDGh-wiDpxTlB16qvYMlIm1QofQ,4444
|
|
6
|
+
pgsqlasync2fast_fastapi/settings.py,sha256=9SAmEVtotKJYlbTjI4qkKBjEOghTTtaICAFBBrR-eHk,6678
|
|
7
|
+
pgsqlasync2fast_fastapi-0.2.0.dist-info/licenses/LICENSE,sha256=CkISX1hNEwxxrPTOXet3IYMEH28Bn7SoUyKniRjg68I,1086
|
|
8
|
+
pgsqlasync2fast_fastapi-0.2.0.dist-info/METADATA,sha256=FJibseebbvRLouGwUQm4ufrHxAvbbUIJtj3Ry9fDJns,9889
|
|
9
|
+
pgsqlasync2fast_fastapi-0.2.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
10
|
+
pgsqlasync2fast_fastapi-0.2.0.dist-info/top_level.txt,sha256=7pllDm9nlFGWKJDtG5zukxqdADqjZddU-GzaQJPLMVc,24
|
|
11
|
+
pgsqlasync2fast_fastapi-0.2.0.dist-info/RECORD,,
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
pgsqlasync2fast_fastapi/__init__.py,sha256=TYLh-ERPDG9HGvoQbFcy3Kwj7EyoVlibZC_vAHMEvqY,1351
|
|
2
|
-
pgsqlasync2fast_fastapi/__version__.py,sha256=YvuYzWnKtqBb-IqG8HAu-nhIYAsgj9Vmc_b9o7vO-js,22
|
|
3
|
-
pgsqlasync2fast_fastapi/connection.py,sha256=B06MfPoPCWh0MU4Mu0mxYtzbraDbJ0YTtmksZ26gE_M,6144
|
|
4
|
-
pgsqlasync2fast_fastapi/database.py,sha256=onV5BOdp3xXo_B6l70mxr_XHZkqhzQ7LKn0Rf5raeqk,8903
|
|
5
|
-
pgsqlasync2fast_fastapi/dependencies.py,sha256=C7CVOP06FZbwcJ3p3xhBmOCa8Fi5d2o3MtvA-AkM6Vc,4404
|
|
6
|
-
pgsqlasync2fast_fastapi/settings.py,sha256=9SAmEVtotKJYlbTjI4qkKBjEOghTTtaICAFBBrR-eHk,6678
|
|
7
|
-
pgsqlasync2fast_fastapi-0.1.2.dist-info/licenses/LICENSE,sha256=CkISX1hNEwxxrPTOXet3IYMEH28Bn7SoUyKniRjg68I,1086
|
|
8
|
-
pgsqlasync2fast_fastapi-0.1.2.dist-info/METADATA,sha256=lSxhqE0f_v6oXQaiPhZcCt8NXoQGMgo1suIKlt2Nel8,9857
|
|
9
|
-
pgsqlasync2fast_fastapi-0.1.2.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
10
|
-
pgsqlasync2fast_fastapi-0.1.2.dist-info/top_level.txt,sha256=7pllDm9nlFGWKJDtG5zukxqdADqjZddU-GzaQJPLMVc,24
|
|
11
|
-
pgsqlasync2fast_fastapi-0.1.2.dist-info/RECORD,,
|
|
File without changes
|
{pgsqlasync2fast_fastapi-0.1.2.dist-info → pgsqlasync2fast_fastapi-0.2.0.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{pgsqlasync2fast_fastapi-0.1.2.dist-info → pgsqlasync2fast_fastapi-0.2.0.dist-info}/top_level.txt
RENAMED
|
File without changes
|