BLE Beacon scanner
Project description
BLE Scanner Library
Description
This is a Python library for scanning BLE beacon devices. It is built on top of the Bleak library and provides an easy-to-use API for BLE scanning.
Installation
You can install the package directly from the source code:
python setup.py install
Or, you can use pip for installation:
pip install ble_scanner
Usage
Here's a quick example:
import asyncio
from ble_scanner.BLEScanner import BLEScanner
def main():
# Create a BLEScanner instance
scanner = BLEScanner(target_mac="E2:15") # Replace the MAC
scanner.initialize()
if __name__ == "__main__":
main()
For more advanced usage, refer to the documentation.
Requirements
- Python 3.7+
- Bleak
License
MIT License
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
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
ble_scanner-1.0.7.tar.gz
(2.9 kB
view details)
Built Distribution
File details
Details for the file ble_scanner-1.0.7.tar.gz
.
File metadata
- Download URL: ble_scanner-1.0.7.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 352dec58777270c9739a666f0d63264dcd4693bb425084c93c5398de525996ec |
|
MD5 | 66375cadb69d2df7667567d0ce94caf4 |
|
BLAKE2b-256 | bf37a87d888c246bdabd6e4efeab07114fcab833926cd097f7735afbde230064 |
File details
Details for the file ble_scanner-1.0.7-py3-none-any.whl
.
File metadata
- Download URL: ble_scanner-1.0.7-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33a9d021b3fcf982964f126bda290103d691c4dad225c10bce6553acf51b78ae |
|
MD5 | 1f57a0fff992471b5c362c8dc4d1453c |
|
BLAKE2b-256 | 65051f6b1451c79ac4e5505ce7d42b430b3fe6e7773923be46904a84a3a292f3 |