Skip to main content

YSDB Python SDK for Linux

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

YSDB SDK

目前支持 Windows 和 Debian 环境(Debian为K2Assets的python运行环境)。

此SDK为二次开发人员提供ysdb数据库的python开发接口。

ysdb提供标准C动态库,由python封装C动态库,对外提供标准python的接口SDK。用户只需要调用python的对象既可以访问ysdb数据库。

使用方法

安装SDK最新版本:

pip install -U ysdb_linux

在python代码里引用并建立到指定ysdb服务器的连接:

from ysdb.ysdbLib import RdbClient

client = RdbClient()
ret = client.connect("192.168.131.238", 30221)

以上代码若运行成功将返回下面的结果,表示连接成功:

rdbConnectOk, handle:1

要继续访问ysdb中数据,请参考《ysdb数据库开发接口(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.

ysdb_linux-0.1.12-py3-none-any.whl (31.9 MB view details)

Uploaded Python 3

File details

Details for the file ysdb_linux-0.1.12-py3-none-any.whl.

File metadata

  • Download URL: ysdb_linux-0.1.12-py3-none-any.whl
  • Upload date:
  • Size: 31.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.9.13

File hashes

Hashes for ysdb_linux-0.1.12-py3-none-any.whl
Algorithm Hash digest
SHA256 b1cd8533f27be660d601e560db9060832c04636d1a63b71bf0e5d3c27c4c44e8
MD5 a37dfc09bb10543b18935848e37120a0
BLAKE2b-256 4ebf2c2b80b7fa4bb953c1242054280ccfb5680bde2cb58fd8a61fff86c6e4e1

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