A Third-party DGLAB Python Driver
Project description
DGLAB-python-driver
PyDGLAB - A Third-party DGLAB Python Driver
一个第三方的郊狼驱动器。
特性
- 采用蓝牙直接连接郊狼设备
- 采用asyncio实现
- 易上手,相比于去看官方文档那真是简简又单单啊
开始之前
⚠️ CAUTION
本模块的使用可能伴随着人身安全风险,请确保您在使用前知道自己在做什么。作者对使用本模块造成的一切损失概不负责。
The use of this module may be accompanied by personal safety risks, please make sure you know what you're doing before using it. The author is not responsible for any losses caused by the use of this module.
快速上手
安装
pip install pydglab
实例化并开启连接
import asyncio
import pydglab
from pydglab import model
async def _():
dglab_instance = pydglab.dglab()
await dglab_instance.create()
# Do whatever u want here
asyncio.run(_())
文档
请查阅demo.py来获取更多信息。
由于作者懒得写独立的文档了,因此关于模块的调用问题,请查阅内嵌的文档字符串(DocStrings)。
目前仅支持郊狼2.0。
3.0的支持是实验性的,对3.0的正式支持将在几天内更新,请查阅fork。
接下来可能会实现的功能
- 让郊狼2.0实现与郊狼3.0相同的websocket远控。
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydglab-0.4.2.tar.gz
(19.6 kB
view hashes)
Built Distribution
pydglab-0.4.2-py3-none-any.whl
(20.6 kB
view hashes)