btpy-2.0.3
توضیحات
bluetooth library for beacons, classic and low-energy devices
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | btpy-2.0.3 |
| نام | btpy |
| نسخه کتابخانه | 2.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Pascal Eberlein |
| ایمیل نویسنده | pascal@eberlein.io |
| آدرس صفحه اصلی | https://github.com/nbdy/btpy |
| آدرس اینترنتی | https://pypi.org/project/btpy/ |
| مجوز | - |
## btpy
this is a wrapper around
- [bleak](https://github.com/hbldh/bleak) for low-energy support
- [beacontools](https://github.com/citruz/beacontools) for beacon support
- [bluez](http://www.bluez.org/) for classic support
### how to ...
#### .. install
```shell
pip3 install btpy
# or (this is not guaranteed to be stable)
pip3 install git+https://github.com/nbdy/btpy
```
#### ... to use it
```python
from btpy import LEDevice, Beacon, ClassicDevice
le_results = LEDevice.scan(4)
beacon_results = Beacon.scan(5)
classic_results = ClassicDevice.scan(6)
```
##### TODO
- [ ] Tests
نحوه نصب
نصب پکیج whl btpy-2.0.3:
pip install btpy-2.0.3.whl
نصب پکیج tar.gz btpy-2.0.3:
pip install btpy-2.0.3.tar.gz