1- asyncpg -gaussdb -- A fast GaussDB/openGauss Database Client Library for Python/asyncio
1+ async_gaussdb -gaussdb -- A fast GaussDB/openGauss Database Client Library for Python/asyncio
22=====================================================================================
33
4- .. image :: https://github.com/MagicStack/asyncpg /workflows/Tests/badge.svg
5- :target: https://github.com/MagicStack/asyncpg /actions?query=workflow%3ATests+branch%3Amaster
4+ .. image :: https://github.com/MagicStack/async_gaussdb /workflows/Tests/badge.svg
5+ :target: https://github.com/MagicStack/async_gaussdb /actions?query=workflow%3ATests+branch%3Amaster
66 :alt: GitHub Actions status
7- .. image :: https://img.shields.io/pypi/v/asyncpg .svg
8- :target: https://pypi.python.org/pypi/asyncpg
7+ .. image :: https://img.shields.io/pypi/v/async_gaussdb .svg
8+ :target: https://pypi.python.org/pypi/async_gaussdb
99
10- **asyncpg -gaussdb ** is a database interface library designed specifically for
11- GaussDB and openGauss databases with Python/asyncio. This fork of asyncpg is
10+ **async_gaussdb -gaussdb ** is a database interface library designed specifically for
11+ GaussDB and openGauss databases with Python/asyncio. This fork of async_gaussdb is
1212optimized for GaussDB/openGauss compatibility, including native SHA256
1313authentication support and enhanced features for enterprise database environments.
1414
15- asyncpg -gaussdb requires Python 3.8 or later and is specifically designed for
15+ async_gaussdb -gaussdb requires Python 3.8 or later and is specifically designed for
1616GaussDB and openGauss databases. It includes compatibility fixes and
1717optimizations for openGauss-specific features and enterprise database requirements.
1818
@@ -28,16 +28,16 @@ Documentation
2828-------------
2929
3030The project documentation can be found
31- `here <https://magicstack.github.io/asyncpg /current/ >`_.
31+ `here <https://magicstack.github.io/async_gaussdb /current/ >`_.
3232
3333
3434Performance
3535-----------
3636
37- asyncpg -gaussdb maintains the high performance characteristics of the original
38- asyncpg library while being optimized for GaussDB/openGauss environments.
37+ async_gaussdb -gaussdb maintains the high performance characteristics of the original
38+ async_gaussdb library while being optimized for GaussDB/openGauss environments.
3939
40- .. image :: https://raw.githubusercontent.com/MagicStack/asyncpg /master/performance.png?fddca40ab0
40+ .. image :: https://raw.githubusercontent.com/MagicStack/async_gaussdb /master/performance.png?fddca40ab0
4141 :target: https://gistpreview.github.io/?0ed296e93523831ea0918d42dd1258c2
4242
4343The above results are a geometric mean of benchmarks obtained with PostgreSQL
@@ -48,7 +48,7 @@ in June 2023 (click on the chart to see full details).
4848Features
4949--------
5050
51- asyncpg -gaussdb implements the GaussDB/openGauss server protocol natively and
51+ async_gaussdb -gaussdb implements the GaussDB/openGauss server protocol natively and
5252exposes its features directly, optimized for enterprise database environments:
5353
5454* **SHA256 authentication ** - Native support for GaussDB/openGauss authentication
@@ -65,7 +65,7 @@ exposes its features directly, optimized for enterprise database environments:
6565Installation
6666------------
6767
68- asyncpg -gaussdb is available on PyPI. When not using GSSAPI/SSPI authentication it
68+ async_gaussdb -gaussdb is available on PyPI. When not using GSSAPI/SSPI authentication it
6969has no dependencies. Use pip to install::
7070
7171 $ pip install async-gaussdb
@@ -75,7 +75,7 @@ If you need GSSAPI/SSPI authentication, use::
7575 $ pip install 'async-gaussdb[gssauth]'
7676
7777For more details, please `see the documentation
78- <https://magicstack.github.io/asyncpg /current/installation.html> `_.
78+ <https://magicstack.github.io/async_gaussdb /current/installation.html> `_.
7979
8080
8181Basic Usage
@@ -84,11 +84,11 @@ Basic Usage
8484.. code-block :: python
8585
8686 import asyncio
87- import asyncpg
87+ import async_gaussdb
8888
8989 async def run ():
9090 # Connect to GaussDB/openGauss
91- conn = await asyncpg .connect(
91+ conn = await async_gaussdb .connect(
9292 user = ' omm' ,
9393 password = ' your_password' ,
9494 database = ' postgres' ,
@@ -114,11 +114,11 @@ This library includes enhanced support for GaussDB and openGauss databases:
114114.. code-block :: python
115115
116116 import asyncio
117- import asyncpg
117+ import async_gaussdb
118118
119119 async def run ():
120120 # Connect with SHA256 authentication (GaussDB/openGauss specific)
121- conn = await asyncpg .connect(
121+ conn = await async_gaussdb .connect(
122122 user = ' omm' ,
123123 password = ' your_password' ,
124124 database = ' postgres' ,
@@ -145,13 +145,13 @@ A Dockerfile is provided for development with openGauss:
145145.. code-block :: bash
146146
147147 # Build the development image
148- docker build -t asyncpg -gaussdb-dev .
148+ docker build -t async_gaussdb -gaussdb-dev .
149149
150150 # Run the container
151- docker run -it asyncpg -gaussdb-dev
151+ docker run -it async_gaussdb -gaussdb-dev
152152
153153
154154 License
155155-------
156156
157- asyncpg -gaussdb is developed and distributed under the Apache 2.0 license.
157+ async_gaussdb -gaussdb is developed and distributed under the Apache 2.0 license.
0 commit comments