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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

Details for the file hesong-ipsc-busnetcli-3.0.1.post1.tar.gz.

File metadata

File hashes

Hashes for hesong-ipsc-busnetcli-3.0.1.post1.tar.gz
Algorithm Hash digest
SHA256 b102a673ffed9047995614c79eb52bbb0496c7e83e0fc1ee70e2f95fd8019c5c
MD5 8bfbe2cdbfeadaa0c2a46264c2ed85d0
BLAKE2b-256 56776d51266e1f6d595774c6c77ff1ec05fd616f584ccce5c2e4ce413c9c0ea1

See more details on using hashes here.

File details

Details for the file hesong_ipsc_busnetcli-3.0.1.post1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for hesong_ipsc_busnetcli-3.0.1.post1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6dbfcc0edaac2d6740178e990a8c4105e0c289ad722d57351f06c3378f1b5d1c
MD5 6f59aafe856902492b9cd0782dd1b146
BLAKE2b-256 c15add13ce2dc7a7c5e54a85434e18ba17944234b460c59e37e4cede1d3ef82d

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