File tree Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Expand file tree Collapse file tree 2 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 11gaussdb -- GaussDB database adapter for Python
22===================================================
33
4+ .. image :: https://img.shields.io/pypi/v/gaussdb.svg
5+ :target: https://pypi.org/project/gaussdb/
6+ :alt: PyPI version
7+
8+ .. image :: https://img.shields.io/pypi/l/gaussdb.svg
9+ :target: https://github.com/HuaweiCloudDeveloper/gaussdb-python/blob/master/LICENSE.txt
10+ :alt: License: LGPL v3
11+
12+ **gaussdb ** is a modern implementation of a GaussDB adapter for Python, based on a fork of `psycopg <https://www.psycopg.org/ >`_ with enhancements and renaming.
13+
14+ |PyPI | |License |
15+
16+ .. |PyPI | image :: https://img.shields.io/pypi/v/gaussdb.svg
17+ :target: https://pypi.org/project/gaussdb/
18+ .. |License | image :: https://img.shields.io/pypi/l/gaussdb.svg
19+ :target: https://github.com/HuaweiCloudDeveloper/gaussdb-python/blob/master/LICENSE.txt
20+
21+
22+ License
23+ -------
24+
25+ This project is a **fork ** of `psycopg `, originally developed by the Psycopg Team.
26+
27+ - **Original work **: Copyright © 2001–2023 The Psycopg Team
28+ - **License **: GNU Lesser General Public License v3.0 (LGPL v3)
29+
30+ **gaussdb ** inherits the same license. All modifications are distributed under the **LGPL v3 **.
31+
32+ See the full license text in the :download: `LICENSE ` file.
33+
34+ > **Important **: When redistributing this package (including on PyPI), you **must ** include the `LICENSE ` file.
35+
36+ ---
37+
438**gaussdb ** is a modern implementation of a GaussDB adapter for Python, based on a fork of `psycopg ` with enhancements and renaming.
539
640.. _Hacking :
Original file line number Diff line number Diff line change 11"""
22gaussdb -- GaussDB database adapter for Python
3+
4+ This file is part of gaussdb.
5+
6+ gaussdb is a fork of psycopg[](https://www.psycopg.org/), originally
7+ developed by the Psycopg Team and licensed under the GNU Lesser
8+ General Public License v3.0 (LGPL v3).
9+
10+ The original psycopg source code is copyright © 2001–2023 by the Psycopg Team.
11+
12+ This modified version is distributed under the same LGPL v3 license.
13+ See the LICENSE file for the full license text.
314"""
415
516# Copyright (C) 2020 The Psycopg Team
17+ # Modifications made by HuaweiCloudDeveloper (2025):
18+ # - Renamed package from 'psycopg' to 'gaussdb'
19+ # - Updated all internal imports (psycopg → gaussdb)
20+ # - Modified __init__.py to expose gaussdb.connect, etc.
21+ # - Adjusted documentation strings and error messages for GaussDB branding
22+ # - Added GaussDB-specific connection parameters (e.g., sslmode, gssencmode)
23+ # - Patched SQL parsing for GaussDB-specific syntax support
624
725import logging
826
You can’t perform that action at this time.
0 commit comments