# serial_module:串行接口模块
## 目录结构
* [serial_module](KDSerial)
* [base](KDSerial/base)
* [mock_serial.py](KDSerial/base/mock_serial.py) : 模拟通讯串行接口基类<br/>
* [real_serial.py](KDSerial/base/real_serial.py) : 真实通讯串行接口基类<br/>
* [serial_controller.py](KDSerial/base/serial_controller.py) : 串行接口控制类, 控制是采用模拟接口还是真实接口以及串行接口通讯日志<br/>
* [data_type](KDSerial/data_type)
* [hex_struct.py](KDSerial/data_type/hex_struct.py) : 十六进制结构体<br/>
* [exception](KDSerial/exception)
* [connection_exception.py](KDSerial/exception/connection_exception.py) : 连接异常(没有插上专用串行接口或通讯协议错误导致)<br/>
* [not_connected_exception.py](KDSerial/exception/not_connected_exception.py) : 无连接异常(用户需要自动手动调用函数连接)<br/>
* [probe_not_down_exception.py](KDSerial/exception/probe_not_down_exception.py) : 探头无下压异常<br/>
* [respond_parse_exception.py](KDSerial/exception/respond_parse_exception.py) : 单片机的返回数据解析异常(crc8校验失败/与通讯协议不对应)<br/>
* [timeout_exception.py](KDSerial/exception/timeout_exception.py) : 超时异常(多次尝试请求无回应)<br/>
* [interface](KDSerial/interface)
* [serial_interface.py](KDSerial/interface/serial_interface.py) : 串行接口类的通用接口,如有其它接口可放在这<br/>
* [requirements.txt](requirements.txt)
---
Raw data
{
"_id": null,
"home_page": "https://github.com/KD-Group/KDSerial",
"name": "KDSerial",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": null,
"keywords": "python serial",
"author": "WingC",
"author_email": "1018957763@qq.com",
"download_url": "https://files.pythonhosted.org/packages/e6/37/1a7425e90c8510bb33e756ec838eba1f4e9ce989949c6244ba78a5cdb238/kdserial-0.0.6.tar.gz",
"platform": null,
"description": "# serial_module:\u4e32\u884c\u63a5\u53e3\u6a21\u5757\r\n## \u76ee\u5f55\u7ed3\u6784\r\n\r\n* [serial_module](KDSerial)\r\n * [base](KDSerial/base)\r\n * [mock_serial.py](KDSerial/base/mock_serial.py) : \u6a21\u62df\u901a\u8baf\u4e32\u884c\u63a5\u53e3\u57fa\u7c7b<br/>\r\n * [real_serial.py](KDSerial/base/real_serial.py) : \u771f\u5b9e\u901a\u8baf\u4e32\u884c\u63a5\u53e3\u57fa\u7c7b<br/>\r\n * [serial_controller.py](KDSerial/base/serial_controller.py) : \u4e32\u884c\u63a5\u53e3\u63a7\u5236\u7c7b, \u63a7\u5236\u662f\u91c7\u7528\u6a21\u62df\u63a5\u53e3\u8fd8\u662f\u771f\u5b9e\u63a5\u53e3\u4ee5\u53ca\u4e32\u884c\u63a5\u53e3\u901a\u8baf\u65e5\u5fd7<br/>\r\n * [data_type](KDSerial/data_type)\r\n * [hex_struct.py](KDSerial/data_type/hex_struct.py) : \u5341\u516d\u8fdb\u5236\u7ed3\u6784\u4f53<br/>\r\n * [exception](KDSerial/exception)\r\n * [connection_exception.py](KDSerial/exception/connection_exception.py) : \u8fde\u63a5\u5f02\u5e38(\u6ca1\u6709\u63d2\u4e0a\u4e13\u7528\u4e32\u884c\u63a5\u53e3\u6216\u901a\u8baf\u534f\u8bae\u9519\u8bef\u5bfc\u81f4)<br/>\r\n * [not_connected_exception.py](KDSerial/exception/not_connected_exception.py) : \u65e0\u8fde\u63a5\u5f02\u5e38(\u7528\u6237\u9700\u8981\u81ea\u52a8\u624b\u52a8\u8c03\u7528\u51fd\u6570\u8fde\u63a5)<br/>\r\n * [probe_not_down_exception.py](KDSerial/exception/probe_not_down_exception.py) : \u63a2\u5934\u65e0\u4e0b\u538b\u5f02\u5e38<br/>\r\n * [respond_parse_exception.py](KDSerial/exception/respond_parse_exception.py) : \u5355\u7247\u673a\u7684\u8fd4\u56de\u6570\u636e\u89e3\u6790\u5f02\u5e38(crc8\u6821\u9a8c\u5931\u8d25/\u4e0e\u901a\u8baf\u534f\u8bae\u4e0d\u5bf9\u5e94)<br/>\r\n * [timeout_exception.py](KDSerial/exception/timeout_exception.py) : \u8d85\u65f6\u5f02\u5e38(\u591a\u6b21\u5c1d\u8bd5\u8bf7\u6c42\u65e0\u56de\u5e94)<br/>\r\n * [interface](KDSerial/interface)\r\n * [serial_interface.py](KDSerial/interface/serial_interface.py) : \u4e32\u884c\u63a5\u53e3\u7c7b\u7684\u901a\u7528\u63a5\u53e3,\u5982\u6709\u5176\u5b83\u63a5\u53e3\u53ef\u653e\u5728\u8fd9<br/>\r\n* [requirements.txt](requirements.txt)\r\n\r\n---\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "\u4e32\u884c\u63a5\u53e3\u6a21\u5757\u7b80\u5355\u5305\u88c5,\u652f\u6301\u6a21\u62df\u63a5\u53e3\u548c\u771f\u5b9e\u63a5\u53e3",
"version": "0.0.6",
"project_urls": {
"Homepage": "https://github.com/KD-Group/KDSerial"
},
"split_keywords": [
"python",
"serial"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e6371a7425e90c8510bb33e756ec838eba1f4e9ce989949c6244ba78a5cdb238",
"md5": "33b8ab2b61c93f6d1846099ecfa8f466",
"sha256": "b65742172d0c997b5efdfc374dccfe286e6d3dcb953d9f08371fdcbb53079df0"
},
"downloads": -1,
"filename": "kdserial-0.0.6.tar.gz",
"has_sig": false,
"md5_digest": "33b8ab2b61c93f6d1846099ecfa8f466",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 6961,
"upload_time": "2024-06-20T14:18:20",
"upload_time_iso_8601": "2024-06-20T14:18:20.065523Z",
"url": "https://files.pythonhosted.org/packages/e6/37/1a7425e90c8510bb33e756ec838eba1f4e9ce989949c6244ba78a5cdb238/kdserial-0.0.6.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-20 14:18:20",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "KD-Group",
"github_project": "KDSerial",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"circle": true,
"requirements": [
{
"name": "crcmod",
"specs": []
},
{
"name": "pyserial",
"specs": []
}
],
"lcname": "kdserial"
}