Skip to main content

BLE Scanner Library

Build and Publish to PyPI

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.

Release files for ble-scanner 1.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ble-scanner 1.0.7
File Size Uploaded
ble_scanner-1.0.7.tar.gz 2.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ble-scanner 1.0.7
File Interpreter ABI Platform
ble_scanner-1.0.7-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / ble_scanner-1.0.7.tar.gz

Download URL ble_scanner-1.0.7.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
352dec58777270c9739a666f0d63264dcd4693bb425084c93c5398de525996ec
BLAKE2b-256 checksum
How to use checksums
bf37a87d888c246bdabd6e4efeab07114fcab833926cd097f7735afbde230064
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / ble_scanner-1.0.7-py3-none-any.whl

Download URL ble_scanner-1.0.7-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
33a9d021b3fcf982964f126bda290103d691c4dad225c10bce6553acf51b78ae
BLAKE2b-256 checksum
How to use checksums
65051f6b1451c79ac4e5505ce7d42b430b3fe6e7773923be46904a84a3a292f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release history Release notifications | RSS feed

This release

1.0.7 This release

2 release files

1.0.6

2 release files

1.0.5

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page