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.1.1.post1.tar.gz (266.6 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.1.1.post1-py2.py3-none-any.whl (271.1 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for hesong-ipsc-busnetcli-3.1.1.post1.tar.gz
Algorithm Hash digest
SHA256 44b2346b4673c71e0dd42e277ef5c8a4e996139f90bd7d979afc05c118cbfa2e
MD5 fffd70d99c6834d2b46d4e8a79e0971f
BLAKE2b-256 89e65b17b4438f6edb688191baa975e82d89928208ef5da306e32c2b99564995

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hesong_ipsc_busnetcli-3.1.1.post1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d95d62913ab26ebd1c4362af03e3bc551d5f8262bcc7e7165054655ae3d9a431
MD5 e55c1e301ab0938d7ebc769bf2ec7827
BLAKE2b-256 8427dc4af12424d344e70a75c61680d19156921689f17b3f1acdfe1baf522a23

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