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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

hesong_ipsc_busnetcli-3.1-py2.py3-none-any.whl (271.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

File hashes

Hashes for hesong_ipsc_busnetcli-3.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 91b684ac0df331f230335ce11c6bfce974bb2fd4dda145f465fd031d71aa394d
MD5 231a78520ffc79da7ead26fbd59f39d0
BLAKE2b-256 80710b3733aff45e0004588264d48de9f75e1764f8298f04574d1d7622ffdec6

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