Pyblez

Latest version: v0.2.3

Safety actively analyzes 681775 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.2.3

Overview
This release of PyBLEz, a Python library for creating BLE peripherals using BlueZ and D-Bus, includes new features and improvements.

Features

BLE Peripheral Setup:

- Easily create a BLE peripheral.
- Power on the Bluetooth adapter and start advertising.
- Support for specifying the advertisement duration.

Service and Characteristic Management:

- Define custom BLE services and characteristics.
- Support for read, write, and notify operations on characteristics.

New Features

Notification and Duration Support:

- Read, Write, Notify: PyBLEz now fully supports "read", "write", and "notify" operations on characteristics.
- Advertisement Duration: Added support for setting the advertisement duration.

Installation
Install PyBLEz via pip [v0.2.3](https://pypi.org/project/PyBLEz/0.2.3/):

bash
pip install PyBLEz

0.2.2

Overview

This is the initial release of PyBLEz, a Python library for creating BLE peripherals using BlueZ and D-Bus.

Features

BLE Peripheral Setup:

- Easily create a BLE peripheral.
- Power on the Bluetooth adapter and start advertising.
- Service and Characteristic Management:

Define custom BLE services and characteristics.
- Support for read and write operations on characteristics.

Example(s)
- A simple example script (hello_example.py) demonstrating:
- A read characteristic that returns "hello".
- A write characteristic that prints received data to the console.

Installation

Install PyBLEz via pip [v0.2.0](https://pypi.org/project/PyBLEz/0.2.2/):

Bash
pip install PyBLEz


New Features

Notification Support:

- PyBLEz not supports "read", "write", and "notify".

0.2.1

Overview

This is the initial release of PyBLEz, a Python library for creating BLE peripherals using BlueZ and D-Bus.

Features

BLE Peripheral Setup:

- Easily create a BLE peripheral.
- Power on the Bluetooth adapter and start advertising.
- Service and Characteristic Management:

Define custom BLE services and characteristics.
- Support for read and write operations on characteristics.

Example(s)
- A simple example script (hello_example.py) demonstrating:
- A read characteristic that returns "hello".
- A write characteristic that prints received data to the console.

Installation

Install PyBLEz via pip [v0.2.1](https://pypi.org/project/PyBLEz/0.2.1/):

Bash
pip install PyBLEz


Fixes

Logging:

- **(FIXED)** The logging mechanism may not work correctly in all scenarios. Improvements to logging will be made in subsequent updates.

Override WriteValue Method:

- **(FIXED)** Overriding the `WriteValue` method is currently not working, see 5 for more details.

0.2.0

Overview

This is the initial release of PyBLEz, a Python library for creating BLE peripherals using BlueZ and D-Bus.

Features

BLE Peripheral Setup:

- Easily create a BLE peripheral.
- Power on the Bluetooth adapter and start advertising.
- Service and Characteristic Management:

Define custom BLE services and characteristics.
- Support for read and write operations on characteristics.

Example(s)
- A simple example script (hello_example.py) demonstrating:
- A read characteristic that returns "hello".
- A write characteristic that prints received data to the console.

Installation

Install PyBLEz via pip [v0.2.0](https://pypi.org/project/PyBLEz/0.2.0/):

Bash
pip install PyBLEz


Known Issues

Notification Support:

- Currently, the library does not support notifications. This feature will be added in a future release.

Logging:

- The logging mechanism may not work correctly in all scenarios. Improvements to logging will be made in subsequent updates.

Override WriteValue Method:

- Overriding the `WriteValue` method is currently not working, see 5 for more details.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.