Skip to main content

ZeroLab Bus API for Python

Project description

pyZlBus2

ZeroLab Bus API for Python

This package provides an API for interacting with ZeroLab Bus devices using Python.

Installation

pip install pyzlbus2

Usage

import pyZlBus2 as zl

zl.test()
# zl.bleDemo()
# zl.serialDemo()
# zl.serialRfDemo()

# Example usage

以下为示例代码,用于获取数据格式

两种写法功能相同,只是第二种写法更方便,因为pyZlBus2是对zlbusapi的封装,所以可以直接使用zlbusapi的函数。

import zlbusapi as zlapi
print(zlapi.ul_getDataFormat().hex(' ').upper())
# PyZlBus2 includes ZlBusApi module
import pyZlBus2 as zl
print(zl.api.ul_getDataFormat().hex(' ').upper())

License

MIT

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.

pyzlbus2-0.1.9-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file pyzlbus2-0.1.9-py3-none-any.whl.

File metadata

  • Download URL: pyzlbus2-0.1.9-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.10.13

File hashes

Hashes for pyzlbus2-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6102a2cf43b7c3276d9ea626994298305399f61b5ff1c3212c4f254e654d6ebf
MD5 28cd89328ee926521f5a2fc9ec2c7ede
BLAKE2b-256 c580b1422f996d29bd468364dc46955698cf726772673e9d1faf521f3cd0801e

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