bluetooth library
Project description
btpy
this is a wrapper around
- bleak for low-energy support
- beacontools for beacon support
- bluez for classic support
how to ...
.. install
pip3 install btpy
# or (this is not guaranteed to be stable)
pip3 install git+https://github.com/nbdy/btpy
... to use it
from btpy import LEDevice, Beacon, ClassicDevice
le_results = LEDevice.scan(4)
beacon_results = Beacon.scan(5)
classic_results = ClassicDevice.scan(6)
TODO
- Tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
btpy-2.0.0.tar.gz
(3.4 kB
view details)
File details
Details for the file btpy-2.0.0.tar.gz
.
File metadata
- Download URL: btpy-2.0.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.9.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1f220dff3baf1dc57d246ffc769d35d8fdbe58c5131cb3d7e5f2aeda7b47c691 |
|
MD5 | ff771fa5cf9960ff736f74be174d226d |
|
BLAKE2b-256 | 820c06db73e90e20a55885e3c9bdfb859e47e2a8c83eb9453088c3d20418a1a6 |