Skip to main content

Bless

Build, Lint, and Test PyPI version PyPI - Downloads Black

Bless is an acronym for Bluetooth Low Energy (BLE) Server Supplement.

Bless provides an OS-independent python package for creating a BLE Generic Attribute Profile (GATT) server to broadcast user-defined services and characteristics. This is particularly useful when prototyping and testing servers on different devices with the goal of ensuring that expected behavior matches across all systems.

Bless's code roughly follows a similar style to Bleak in order to ease development of client and server programs.

Installation

pip install bless

Features

Bless enables reading, writing, and notifying of BLE characteristic values. Developers can provide callback functions to manipulate data that is sent out for reading or delivered for writing prior to processing the underlying commands.

Examples

See example code for setting up a BLE server where read and write characteristic can be be probed by BLE clients (central devices)

Basic Server Example

GATT Tree Server Example

Metadata

Release files for bless 0.3.0

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

Source distribution (sdist)

Source distribution for bless 0.3.0
File Size Uploaded Provenance Actions
bless-0.3.0.tar.gz 33.9 kB Without provenance Details for bless-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for bless 0.3.0
File Interpreter ABI Platform Actions
bless-0.3.0-py3-none-any.whl Python 3 none any Details for bless-0.3.0-py3-none-any.whl

Total release size: 80.5 kB

Release files / bless-0.3.0.tar.gz

Download URL bless-0.3.0.tar.gz
Size 33.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5a62105dfe204be44ab36d20fb9071a994167d5ddd9fee722fb2b5612d7a9ea2
BLAKE2b-256 checksum
How to use checksums
f0589e070e52b96bd342ccc709489280d8d12a69d55a2cb12082365676fad05f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Release files / bless-0.3.0-py3-none-any.whl

Download URL bless-0.3.0-py3-none-any.whl
Size 46.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29c5a87a100a43f1dddab29e46a5adfdc871d42f4d421f13ae5c7a0ec23e7a6b
BLAKE2b-256 checksum
How to use checksums
5c9f2536a28f9cd8c7c98424d16c0e352ec43045e89f61ce5c31b344df3b3ae9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Security for bless 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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