Bleep
Python BLE Library for Linux and OS X
Install / Use
/learn @matthewelse/BleepREADME
bleep
A BLE abstraction layer for Python. This library is a wrapper around the
btleplug rust library, and supports Windows, Linux and macOS.
Current Support
- Discovering devices
- Reading advertising data
- Connecting to devices
- Discovering services, characteristics and descriptors
- Read from and writing to characteristics
Installation
pip install bleep
If you want to develop bleep, instead of the last line, clone the repo and run:
git clone https://github.com/matthewelse/bleep
pip install maturin
maturin develop
Examples
tree.py
You can run tree.py to see all of the services, characteristics and descriptors
attached to a device with a specific name. In order to find the device's name
address, you could use hcitool lescan, or use BLEDevice.discoverDevices().
usage: tree.py [-h] name
Usage
<!-- TODO: add some more complete examples here. -->See examples/ for examples of how to use this library.
Related Skills
node-connect
343.1kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
90.0kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
343.1kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
343.1kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
