bluetooth library
Project description
how to …
… get started
./dependencies.py
… to use it
Python 3.7.5rc1 (default, Oct 8 2019, 16:47:45) Type 'copyright', 'credits' or 'license' for more information IPython 7.9.0 -- An enhanced Interactive Python. Type '?' for help. In [1]: from btpy import Scanner, ClassicDevice In [2]: Scanner.scan_for() Permission Denied Set scan parameters failed (are you root?) found 1 devices Out[2]: [<btpy.libs.bt.classic.ClassicDevice at 0x7f3427045210>] In [3]: c = ClassicDevice.scan() In [4]: c Out[4]: [<btpy.libs.bt.classic.ClassicDevice at 0x7f3425559d50>] In [5]: c[0].__dict__ Out[5]: {'address': 'A8:B8:6E:C1:6A:28', 'timestamp': '03.11.2019 16:48:06', 'name': 'Nexus 5X'}
or check bt.py
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-1.2.1.tar.gz
(18.8 kB
view details)
File details
Details for the file btpy-1.2.1.tar.gz
.
File metadata
- Download URL: btpy-1.2.1.tar.gz
- Upload date:
- Size: 18.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7025a4bff4115c8a891f45907e4829121034e69e99b09f9c4495c75160b538c2 |
|
MD5 | aa731050696920d47083458eba03cfac |
|
BLAKE2b-256 | e9376e9acf4acd3bd13a1f90108a37d530b609f23f56eede84a16c36d6d9a06c |