Python wrapper for Hesong IPSC CTI Service data bus client
Project description
IPSC专用的消息总线客户端的Python包装。
它用于向 Python 开发者提供SmartBus的客户端功能。
features
直接封装 IPSC Data Bus 的 C 语言客户端库 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 include/*.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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for hesong-ipsc-busnetcli-3.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e674ebff493778b7d413346309efde2eb284526ac637e366d7de88e9c1d28139 |
|
MD5 | f3d5a2b9291fee525007fbee4eb379bc |
|
BLAKE2b-256 | cc364ef068ac62bf735dafb266a80969ce93a5f9716ab457203aae67adde174e |
Close
Hashes for hesong_ipsc_busnetcli-3.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 16891b7dde5a5242b94e5b37886b2f48464641dcc3f5d1135ed9137487745f66 |
|
MD5 | f0f8a8e36d98a7810ebaf4097b9ff32b |
|
BLAKE2b-256 | 92275e0f7e44b6cfcfe648a6305a7ed56fd8e8dc17188a8012f82af16eadbd1c |