This project has been archived by its maintainers, and is no longer receiving any updates.
YSDB SDK
目前支持 Windows、CentOS 和 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)》文档。
Metadata
Release files for ysdb-linux 0.1.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ysdb_linux-0.1.13-py3-none-any.whl | Python 3 | none | any | Details for ysdb_linux-0.1.13-py3-none-any.whl |
Release files / ysdb_linux-0.1.13-py3-none-any.whl
| Download URL | ysdb_linux-0.1.13-py3-none-any.whl |
|---|---|
| Size | 31.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
906c6897b8de9e2a891a243b0ad5d85c0e7dcd6b81c901df5453b925c23d3d14
|
|
BLAKE2b-256 checksum How to use checksums |
20b2ed4f3b02fc2bd71b55b66987282f1b22eb0a13c0f0908b7e2a63a79a9fb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.13
|
Security for ysdb-linux 0.1.13
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.