Metadata-Version: 2.4
Name: xgcondb-driver
Version: 0.1.0
Summary: XuGu Database Python Driver
Project-URL: Documentation, https://github.com/Jedore/xgcondb#readme
Project-URL: Issues, https://github.com/Jedore/xgcondb/issues
Project-URL: Source, https://github.com/Jedore/xgcondb
Author-email: Jedore <jedorefight@gmail.com>
License-Expression: Apache-2.0
License-File: LICENSE
Keywords: DB,XuGu,xgcondb
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: <3.12,>=3.6
Description-Content-Type: text/markdown

# xgcondb

<a href="#"><img src="https://flat.badgen.net/badge/os/win-x86_64/cyan?icon=windows" /></a>
<a href="#"><img src="https://img.shields.io/badge/os-linux_x86_64-white?style=flat-square&logo=linux&logoColor=white&color=rgb(35%2C189%2C204)" /></a>
<a href="#"><img src="https://img.shields.io/badge/os-linux_arm64-white?style=flat-square&logo=linux&logoColor=white&color=rgb(35%2C189%2C204)" /></a>
<a href="#"><img src="https://flat.badgen.net/badge/python/3.6|3.7|3.8|3.9|3.10|3.11/blue" /></a>
<a href="#"><img src="https://flat.badgen.net/badge/pypi/v1.0.0/blue" /></a>
<a href="https://pepy.tech/project/xgcondb" ><img src="https://static.pepy.tech/badge/xgcondb" /></a>
<a href="#" ><img src="https://flat.badgen.net/badge/test/pass/green?icon=github" /></a>

XuGu Database Python Driver

虚谷数据库Python接口驱动

### 安装

```bash
pip install xgcondb -i https://pypi.tuna.tsinghua.edu.cn/simple --trusted-host=pypi.tuna.tsinghua.edu.cn
```

### 使用
```python
import xgcondb as xg


def connect():
    try:
        conn = xg.connect(host='127.0.0.1',
                          port=5138,
                          database='SYSTEM',
                          user='SYSDBA',
                          password='SYSDBA')
        conn.close()
        print('Succeeded!')
    except Exception as e:
        print('Failed!', e)


if __name__ == '__main__':
    connect()
```

具体使用参考链接 [Python标准接口开发指南](https://help.xugudb.com/documents/python-development-guide/program-guide-01)
