Zone-Hub
=============
安装方法
-------------
``pip install zone-hub``
参考用例
-------------------
.. code:: python
# import the library
from zone import App
from zone.dsc import DbPath, CanMessage, CanChannelConfig
# define the app
app = App()
result = app.connect(["canstack", "canparser"])
# add db file
app.addCanDbFile(r'E:\Shared\WORKS\codebase\xxx.arxml')
# set channel config
config = CanChannelConfig()
# set the parameters of the config
# ...
app.setCanChannelConfig([config])
# start stack
app.start(["canstakck", "canparser"])
# send can message
can_msg = CanMessage(channel=1,
isFd=False,
id=1,
dlc=8,
data=[1, 2, 3, 4, 5, 6, 7, 8],
period=100,
frameName="frame",
times=10)
app.sendCanMessage(can_msg)
# disconnect the can-related components
result = app.disconnect(["canstack", "canparser"])
参考文档
--------------------
参考文档可以在这里找到:`zone-hub.readthedocs.io <https://zone-hub.readthedocs.io/>`__.
Raw data
{
"_id": null,
"home_page": "http://10.133.122.70/liuhaijiang/zmclient",
"name": "zone-hub",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "framework automation-test automation-testing atdd bdd",
"author": "Stefan Zweig",
"author_email": "stefan.zweig@gmail.com",
"download_url": "https://pypi.org/project/zone-hub",
"platform": "any",
"description": "Zone-Hub\n=============\n\n\u5b89\u88c5\u65b9\u6cd5\n-------------\n\n``pip install zone-hub``\n\n\u53c2\u8003\u7528\u4f8b\n-------------------\n\n.. code:: python\n\n # import the library\n from zone import App\n from zone.dsc import DbPath, CanMessage, CanChannelConfig\n\n # define the app\n app = App()\n\n result = app.connect([\"canstack\", \"canparser\"])\n\n # add db file\n app.addCanDbFile(r'E:\\Shared\\WORKS\\codebase\\xxx.arxml')\n\n # set channel config\n config = CanChannelConfig()\n # set the parameters of the config\n # ...\n app.setCanChannelConfig([config])\n\n # start stack\n app.start([\"canstakck\", \"canparser\"])\n\n # send can message\n can_msg = CanMessage(channel=1,\n isFd=False,\n id=1,\n dlc=8,\n data=[1, 2, 3, 4, 5, 6, 7, 8],\n period=100,\n frameName=\"frame\",\n times=10)\n app.sendCanMessage(can_msg)\n\n # disconnect the can-related components\n result = app.disconnect([\"canstack\", \"canparser\"])\n\n\u53c2\u8003\u6587\u6863\n--------------------\n\n\u53c2\u8003\u6587\u6863\u53ef\u4ee5\u5728\u8fd9\u91cc\u627e\u5230\uff1a`zone-hub.readthedocs.io <https://zone-hub.readthedocs.io/>`__.\n",
"bugtrack_url": null,
"license": "Apache License 2.0",
"summary": "Zone framework for acceptance testing ",
"version": "0.1.0.dev4",
"project_urls": {
"Download": "https://pypi.org/project/zone-hub",
"Homepage": "http://10.133.122.70/liuhaijiang/zmclient",
"Source": "http://10.133.122.70/liuhaijiang/zmclient"
},
"split_keywords": [
"framework",
"automation-test",
"automation-testing",
"atdd",
"bdd"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "958769760ae6c3d42a24f1e92ff8c96859a522a0280056b7f3f36d49831ff070",
"md5": "eb0339a1239df2fd652c0ad511ec9e11",
"sha256": "9546abbcd3bfc60cd7431766fcd43e2c598c025ff2d0797f903047616872461e"
},
"downloads": -1,
"filename": "zone_hub-0.1.0.dev4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "eb0339a1239df2fd652c0ad511ec9e11",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 84639,
"upload_time": "2025-08-01T08:50:35",
"upload_time_iso_8601": "2025-08-01T08:50:35.862505Z",
"url": "https://files.pythonhosted.org/packages/95/87/69760ae6c3d42a24f1e92ff8c96859a522a0280056b7f3f36d49831ff070/zone_hub-0.1.0.dev4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-01 08:50:35",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "zone-hub"
}