Skip to main content

Python wrapper for Hesong IPSC CTI Service data bus client

Project description

IPSC专用的消息总线客户端的Python包装。

它用于向 Python 开发者提供SmartBus的客户端功能。

features

  • 直接封装 IPSC Data BusC 语言客户端库 ipsc-bus-client

  • 采用 Python 标准库的 ctypes 进行 C 语言动态/共享库的封装。所以安装时不需要进行编译,理论上同时支持多种Python(如pypy,ironpython,jython)运行时(只要目标Python运行时支持ctypes)

  • 完整的客户端功能包装,其功能基本上与 C 语言实现客户端一对一。

installation

(以 Ubuntu 1604 LTS 为例)

install ipsc-bus-client

下载依赖库 ipsc-bus-client ,将其 include 头文件复制到 /usr/loca/include, 库文件复制到 /usr/local/lib

$ git clone https://bitbucket.org/hesong-opensource/ipsc-bus-client.git
$ cd ipsc-bus-client
$ sudo cp -af inc/*.h /usr/local/include
$ sudo unzip -d /usr/local/lib lib/{{Platform}}-{{Architecture}}/libbusnetcli.zip
$ sudo ldconfig

install hesong-ipsc-busnetcli

online install with pip

pip 安装需要访问互联网

pip install hesong-ipsc-busnetcli

offline install

$ git clone https://bitbucket.org/hesong-opensource/ipsc-bus-client-python.git
$ cd ipsc-bus-client-python
$ sudo python setup.py install

Project details


Download files

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

Source Distribution

hesong-ipsc-busnetcli-3.0.1.post1.tar.gz (16.0 kB view hashes)

Uploaded Source

Built Distribution

hesong_ipsc_busnetcli-3.0.1.post1-py2.py3-none-any.whl (19.1 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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