Metadata-Version: 2.1
Name: froModuleDrivers
Version: 1.0.2
Summary: A package for easy use of fro net device application
Home-page: https://gitee.com/shaorong/fro-k12-python-driver.git
Author: roger
Author-email: mrshaorong@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# 目录结构及说明


```
.
├── examples
|   └── xxx.py
├── froModuleDrivers
|   └── xxx.py
├── setup.py
└── README.md

```


## examples文件夹说明
- 提供了每个硬件驱动基础的测试例子
- 更多控制方法请参考每个硬件驱动的api文档

## froModuleDrivers文件夹说明
- froModuleDrivers目录下存放了fro K12系列产品通用的socket通讯类的控制驱动源码，请勿随意修改

- 文件功能如下表所示

| filename    | fun  |
| ----------- | ---- |
| __init__.py |      |
| baseDriver.py |      |
| nioConnector.py |      |
| nioManager.py |      |
| protocol.py |      |
| protocolHandler.py |      |
| utils.py |      |
| gateway.py | 网关节点驱动 |
| homeDeviceDriver.py | 家居设备控制板驱动 |
| agricultureDeviceDriver.py | 农业设备控制板驱动 |
| conveyerBeltDriver.py | 传送带驱动 |
| roboticArmDriver.py | 机械臂驱动 |


## setup.py

- 安装驱动到PC，安装完之后可以在任意目录来引用 from froModuleDrivers import xxx

##### 安装方法为：

- 在froModuleDrivers同目录下打开命令行，运行指令：pip install .

```python
pip install .
```

- 联网状态可以直接运行:pip install froModuleDrivers
```python
pip install froModuleDrivers
```


- Tips:
如果联网安装过程中发现更新速度过慢或者pypi源中暂不包含该软件包，可以尝试临时使用如下的镜像源。

官方：

```python
pip install froModuleDrivers -i https://pypi.org/simple
```

清华园：
```python
pip install froModuleDrivers -i https://pypi.tuna.tsinghua.edu.cn/simple
```

中国科学技术大学：

```python
pip install froModuleDrivers -i http://pypi.mirrors.ustc.edu.cn/simple/
```

# 版本信息

### V1.0.0
- first commit

### V1.0.1 
- 修复了核心驱动的一些格式和文档说明

### V1.0.2
- 上传驱动文件`gateway.py` `homeDeviceDriver.py` `agricultureDeviceDriver.py` `conveyerBeltDriver.py` `roboticArmDriver.py`
- 增加了pip安装过程中出现的问题的一些解决方法



