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 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
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
hesong-ipsc-busnetcli-3.1.1.tar.gz
(266.6 kB
view hashes)
Built Distributions
hesong_ipsc_busnetcli-3.1.1-py3.5.egg
(289.3 kB
view hashes)
hesong_ipsc_busnetcli-3.1.1-py2.7.egg
(288.4 kB
view hashes)
Close
Hashes for hesong-ipsc-busnetcli-3.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b25e5f972a150d67dab183583ef37d4f412383739f4f893647762f8a3405db03 |
|
MD5 | 6b801ed5ce30dedb19e7cbf48a3d8f06 |
|
BLAKE2b-256 | 9c46dca22f6558e7df5c92f64793b4080ad3793d31275a48dfe915e871a7c090 |
Close
Hashes for hesong_ipsc_busnetcli-3.1.1-py3.5.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e1821197007ca803536961ff8a98629755457e7ae88a1346b5ceefbe4a34e83 |
|
MD5 | 2962ab0aab12903d192aa022d31b418c |
|
BLAKE2b-256 | 3185d18401ecbf7e8cc1d8ef066bb8feab4ad0041687c70ad43ba72520b86625 |
Close
Hashes for hesong_ipsc_busnetcli-3.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2a8ecb0c4a50215be667a0ba39d9355c443a9662c0315298938febf598211776 |
|
MD5 | 4d6985b8b64cd356ac31e85204c7c8c8 |
|
BLAKE2b-256 | f53d3a413c630e642871bb70d6640547e870dd583bf938670a4cca94ae55c908 |
Close
Hashes for hesong_ipsc_busnetcli-3.1.1-py2.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48a404e2bcd1d9ca7b7710599a7a0d1a070e07076d8e67590095af2fee763930 |
|
MD5 | 3bd5dca772fcb450437cd187e8bb376d |
|
BLAKE2b-256 | da1a6421a84ee66e5f57e1497ea91a7e886dce11cd3c752be09c174ee0b336a9 |