psqlpy 0.11.3__cp311-cp311-musllinux_1_2_i686.whl → 0.11.4__cp311-cp311-musllinux_1_2_i686.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.
Potentially problematic release.
This version of psqlpy might be problematic. Click here for more details.
- psqlpy/_internal.cpython-311-i386-linux-musl.so +0 -0
- psqlpy-0.11.4.dist-info/METADATA +31 -0
- {psqlpy-0.11.3.dist-info → psqlpy-0.11.4.dist-info}/RECORD +6 -6
- {psqlpy-0.11.3.dist-info → psqlpy-0.11.4.dist-info}/WHEEL +1 -1
- psqlpy-0.11.3.dist-info/METADATA +0 -110
- {psqlpy-0.11.3.dist-info → psqlpy-0.11.4.dist-info}/entry_points.txt +0 -0
- {psqlpy-0.11.3.dist-info → psqlpy-0.11.4.dist-info}/licenses/LICENSE +0 -0
|
Binary file
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: psqlpy
|
|
3
|
+
Version: 0.11.4
|
|
4
|
+
Classifier: Typing :: Typed
|
|
5
|
+
Classifier: Topic :: Database
|
|
6
|
+
Classifier: Development Status :: 4 - Beta
|
|
7
|
+
Classifier: Programming Language :: Rust
|
|
8
|
+
Classifier: Programming Language :: Python
|
|
9
|
+
Classifier: Operating System :: MacOS
|
|
10
|
+
Classifier: Operating System :: Microsoft
|
|
11
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Topic :: Database :: Front-Ends
|
|
14
|
+
Classifier: Programming Language :: Python
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
+
License-File: LICENSE
|
|
23
|
+
Summary: Async PostgreSQL driver for Python written in Rust
|
|
24
|
+
Keywords: postgresql,psql,async-driver,psql-driver,postgresql-driver,python-driver
|
|
25
|
+
Author: Kiselev Aleksandr
|
|
26
|
+
Author-email: askiselev00@gmail.com
|
|
27
|
+
Maintainer-email: Kiselev Aleksandr <askiselev00@gmail.com>
|
|
28
|
+
Requires-Python: >=3.8
|
|
29
|
+
Project-URL: homepage, https://github.com/psqlpy-python/psqlpy
|
|
30
|
+
Project-URL: repository, https://github.com/psqlpy-python/psqlpy
|
|
31
|
+
Project-URL: documentation, https://psqlpy-python.github.io/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
psqlpy-0.11.
|
|
2
|
-
psqlpy-0.11.
|
|
3
|
-
psqlpy-0.11.
|
|
4
|
-
psqlpy-0.11.
|
|
1
|
+
psqlpy-0.11.4.dist-info/METADATA,sha256=WCqbe-Cx4bbVHIQCIvFfgxlSkqHeE6sJjqc2voGsO2U,1350
|
|
2
|
+
psqlpy-0.11.4.dist-info/WHEEL,sha256=Q8zJ0Dg-AAGdcXW2EgxBtauahOs5-vijbNniIUPXEcU,105
|
|
3
|
+
psqlpy-0.11.4.dist-info/entry_points.txt,sha256=kNGHhl8cqbZ25PuaS-Ez-7jl3_b_4rIajMSmdJzmKNo,74
|
|
4
|
+
psqlpy-0.11.4.dist-info/licenses/LICENSE,sha256=UkxvzBjZdhB37ez6jaooRIOe3GON6A2MJ7RVsiOxlUc,1078
|
|
5
5
|
psqlpy.libs/libgcc_s-b5472b99.so.1,sha256=wh8CpjXz9IccAyeERcB7YDEx7NH2jF-PykwOyYNeRRI,453841
|
|
6
6
|
psqlpy/__init__.py,sha256=w0a1HvjkEGAmg5dax_hkrur8y3WZT0caFmFVfMmyvxs,838
|
|
7
|
-
psqlpy/_internal.cpython-311-i386-linux-musl.so,sha256=
|
|
7
|
+
psqlpy/_internal.cpython-311-i386-linux-musl.so,sha256=cVwD9X5CrHZgxjLT0-VjQLzCy9yRd0jRixfqzHZMo2s,12599757
|
|
8
8
|
psqlpy/_internal/__init__.pyi,sha256=m2N4d8gV4MK-Vn-XaT0xa2ZSu11-uL6HUqcfXBPIExg,59535
|
|
9
9
|
psqlpy/_internal/exceptions.pyi,sha256=6GQls4kgEjd9JXl8B8i9ycf_ktYcXFeLAKp_qiwsdHk,4970
|
|
10
10
|
psqlpy/_internal/extra_types.pyi,sha256=47STvXQt2VQrPMCu3fmYR8-FmHD7fDh3NOerNjSCe6g,16999
|
|
@@ -13,4 +13,4 @@ psqlpy/exceptions.py,sha256=A2TTXu7b4w8_j64ZIUfSJB-ywmWn9rJclANapflv6So,1973
|
|
|
13
13
|
psqlpy/extra_types.py,sha256=q51BPqYfsYic6j1RMfN8mAFg_FWiMF-5hfG2fhy8kIU,1613
|
|
14
14
|
psqlpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
15
|
psqlpy/row_factories.py,sha256=QtTUEF1oNSANT6HMyk7tAS-LluCfLC7w2mYoJ5c8X-0,107
|
|
16
|
-
psqlpy-0.11.
|
|
16
|
+
psqlpy-0.11.4.dist-info/RECORD,,
|
psqlpy-0.11.3.dist-info/METADATA
DELETED
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: psqlpy
|
|
3
|
-
Version: 0.11.3
|
|
4
|
-
Classifier: Typing :: Typed
|
|
5
|
-
Classifier: Topic :: Database
|
|
6
|
-
Classifier: Development Status :: 4 - Beta
|
|
7
|
-
Classifier: Programming Language :: Rust
|
|
8
|
-
Classifier: Programming Language :: Python
|
|
9
|
-
Classifier: Operating System :: MacOS
|
|
10
|
-
Classifier: Operating System :: Microsoft
|
|
11
|
-
Classifier: Operating System :: POSIX :: Linux
|
|
12
|
-
Classifier: Intended Audience :: Developers
|
|
13
|
-
Classifier: Topic :: Database :: Front-Ends
|
|
14
|
-
Classifier: Programming Language :: Python
|
|
15
|
-
Classifier: Programming Language :: Python :: 3
|
|
16
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
17
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
18
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
19
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
22
|
-
License-File: LICENSE
|
|
23
|
-
Summary: Async PostgreSQL driver for Python written in Rust
|
|
24
|
-
Keywords: postgresql,psql,async-driver,psql-driver,postgresql-driver,python-driver
|
|
25
|
-
Author: Kiselev Aleksandr
|
|
26
|
-
Author-email: askiselev00@gmail.com
|
|
27
|
-
Maintainer-email: Kiselev Aleksandr <askiselev00@gmail.com>
|
|
28
|
-
Requires-Python: >=3.8
|
|
29
|
-
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
30
|
-
Project-URL: homepage, https://github.com/psqlpy-python/psqlpy
|
|
31
|
-
Project-URL: repository, https://github.com/psqlpy-python/psqlpy
|
|
32
|
-
Project-URL: documentation, https://psqlpy-python.github.io/
|
|
33
|
-
|
|
34
|
-
[](https://pypi.org/project/psqlpy/)
|
|
36
|
-
[](https://pypi.org/project/psqlpy/)
|
|
38
|
-
[](https://pypi.org/project/psqlpy/)
|
|
39
|
-
[](https://pypistats.org/packages/psqlpy)
|
|
40
|
-
|
|
41
|
-
# PSQLPy - Async PostgreSQL driver for Python written in Rust.
|
|
42
|
-
|
|
43
|
-
Driver for PostgreSQL written fully in Rust and exposed to Python.
|
|
44
|
-
Main goals of the library is speed and type safety.
|
|
45
|
-
|
|
46
|
-
## Documentation
|
|
47
|
-
You can find full documentation here - [PSQLPy documentation](https://psqlpy-python.github.io/)
|
|
48
|
-
|
|
49
|
-
## Installation
|
|
50
|
-
|
|
51
|
-
You can install package with `pip` or `poetry`.
|
|
52
|
-
|
|
53
|
-
poetry:
|
|
54
|
-
|
|
55
|
-
```bash
|
|
56
|
-
> poetry add psqlpy
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
pip:
|
|
60
|
-
|
|
61
|
-
```bash
|
|
62
|
-
> pip install psqlpy
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
Or you can build it by yourself. To do it, install stable rust and [maturin](https://github.com/PyO3/maturin).
|
|
66
|
-
|
|
67
|
-
```
|
|
68
|
-
> maturin develop --release
|
|
69
|
-
```
|
|
70
|
-
|
|
71
|
-
## Usage
|
|
72
|
-
|
|
73
|
-
Usage is as easy as possible.
|
|
74
|
-
Create new instance of ConnectionPool and start querying.
|
|
75
|
-
You don't need to startup connection pool, the connection pool will create connections as needed.
|
|
76
|
-
|
|
77
|
-
```python
|
|
78
|
-
from typing import Any
|
|
79
|
-
|
|
80
|
-
from psqlpy import ConnectionPool, QueryResult
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
async def main() -> None:
|
|
84
|
-
db_pool = ConnectionPool(
|
|
85
|
-
username="postgres",
|
|
86
|
-
password="pg_password",
|
|
87
|
-
host="localhost",
|
|
88
|
-
port=5432,
|
|
89
|
-
db_name="postgres",
|
|
90
|
-
max_db_pool_size=2,
|
|
91
|
-
)
|
|
92
|
-
|
|
93
|
-
async with db_pool.acquire() as conn:
|
|
94
|
-
res: QueryResult = await conn.execute(
|
|
95
|
-
"SELECT * FROM users",
|
|
96
|
-
)
|
|
97
|
-
|
|
98
|
-
print(res.result())
|
|
99
|
-
db_pool.close()
|
|
100
|
-
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
## Benchmarks
|
|
104
|
-
|
|
105
|
-
You can find benchmarks with visualization on our [docs](https://psqlpy-python.github.io/benchmarks.html)
|
|
106
|
-
|
|
107
|
-
## Community
|
|
108
|
-
Let's make `PSQLPy` better together!
|
|
109
|
-
Join our community in [Telegram](https://t.me/+f3Y8mYKgXxhmYThi)
|
|
110
|
-
|
|
File without changes
|
|
File without changes
|