Skip to main content

XuGu Database Python Driver

Project description

xgcondb

XuGu Database Python Driver

虚谷数据库Python接口驱动

安装

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

使用

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标准接口开发指南

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xgcondb_driver-0.1.0-cp36-cp36m-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (155.4 kB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.17+ ARM64

File details

Details for the file xgcondb_driver-0.1.0-cp36-cp36m-manylinux2014_aarch64.manylinux_2_17_aarch64.whl.

File metadata

File hashes

Hashes for xgcondb_driver-0.1.0-cp36-cp36m-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Algorithm Hash digest
SHA256 cc085d61fb438dc28d487e6353ffcf597f0faa63f725e4784c9ea3770119b5f1
MD5 6b2d5726c405b1bd5ccd6246b73fe9c2
BLAKE2b-256 dd1410970cae649ccef43b7860b92f9222f294f72016aee21df21a0732b7cded

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page