psqlpy 0.11.3__pp39-pypy39_pp73-macosx_11_0_arm64.whl → 0.11.4__pp39-pypy39_pp73-macosx_11_0_arm64.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.

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,9 +1,9 @@
1
- psqlpy-0.11.3.dist-info/METADATA,sha256=ZIE0FymLfdH_eGEn35_GNKqbp5bqw0yf0ZzPYzu64EM,3522
2
- psqlpy-0.11.3.dist-info/WHEEL,sha256=_SttGrjwz-kke8NfDpF8YRSaI_WI33oW2gbbGGcsUh4,109
3
- psqlpy-0.11.3.dist-info/entry_points.txt,sha256=kNGHhl8cqbZ25PuaS-Ez-7jl3_b_4rIajMSmdJzmKNo,74
4
- psqlpy-0.11.3.dist-info/licenses/LICENSE,sha256=UkxvzBjZdhB37ez6jaooRIOe3GON6A2MJ7RVsiOxlUc,1078
1
+ psqlpy-0.11.4.dist-info/METADATA,sha256=WCqbe-Cx4bbVHIQCIvFfgxlSkqHeE6sJjqc2voGsO2U,1350
2
+ psqlpy-0.11.4.dist-info/WHEEL,sha256=rzxgs6qizpQ1I8keZBjpZ72vTDVndLboeyc0yz2REVI,109
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/__init__.py,sha256=w0a1HvjkEGAmg5dax_hkrur8y3WZT0caFmFVfMmyvxs,838
6
- psqlpy/_internal.pypy39-pp73-darwin.so,sha256=WhhjS4-Ch3xQpISaIzGnIqDT42J4m_ZiWviiiymul5E,11665712
6
+ psqlpy/_internal.pypy39-pp73-darwin.so,sha256=YVr8U2EDHztQXnTcNdaWGJkxjJet9zgQTmArh6rHQ74,11621920
7
7
  psqlpy/_internal/__init__.pyi,sha256=m2N4d8gV4MK-Vn-XaT0xa2ZSu11-uL6HUqcfXBPIExg,59535
8
8
  psqlpy/_internal/exceptions.pyi,sha256=6GQls4kgEjd9JXl8B8i9ycf_ktYcXFeLAKp_qiwsdHk,4970
9
9
  psqlpy/_internal/extra_types.pyi,sha256=47STvXQt2VQrPMCu3fmYR8-FmHD7fDh3NOerNjSCe6g,16999
@@ -12,4 +12,4 @@ psqlpy/exceptions.py,sha256=A2TTXu7b4w8_j64ZIUfSJB-ywmWn9rJclANapflv6So,1973
12
12
  psqlpy/extra_types.py,sha256=q51BPqYfsYic6j1RMfN8mAFg_FWiMF-5hfG2fhy8kIU,1613
13
13
  psqlpy/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  psqlpy/row_factories.py,sha256=QtTUEF1oNSANT6HMyk7tAS-LluCfLC7w2mYoJ5c8X-0,107
15
- psqlpy-0.11.3.dist-info/RECORD,,
15
+ psqlpy-0.11.4.dist-info/RECORD,,
@@ -1,4 +1,4 @@
1
1
  Wheel-Version: 1.0
2
- Generator: maturin (1.9.1)
2
+ Generator: maturin (1.9.3)
3
3
  Root-Is-Purelib: false
4
4
  Tag: pp39-pypy39_pp73-macosx_11_0_arm64
@@ -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
- [![PyPI - Python Version](https://img.shields.io/badge/PYTHON-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue?style=for-the-badge
35
- )](https://pypi.org/project/psqlpy/)
36
- [![PyPI - Python Version](https://img.shields.io/badge/Tested%20On%20PostgreSQL-14%20%7C%2015%20%7C%2016%20%7C17-2be28a?style=for-the-badge
37
- )](https://pypi.org/project/psqlpy/)
38
- [![PyPI](https://img.shields.io/pypi/v/psqlpy?style=for-the-badge)](https://pypi.org/project/psqlpy/)
39
- [![PyPI - Downloads](https://img.shields.io/pypi/dm/psqlpy?style=for-the-badge)](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
-