Bluetooth mesh network layer library for Python provides cryptographic operations, network PDU encoding/decoding and provisioning support as defined in Bluetooth SIG specifications.
What is this thing?
This library implements the network layer of Bluetooth Mesh protocol, including security and provisioning mechanisms.
https://www.bluetooth.com/specifications/mesh-specifications
Supported features include:
Cryptography: AES-CCM encryption/decryption, AES-CMAC, AES-ECB, salt and key derivation helpers (s1, k1, k2, k3, k4), and key wrappers for application, device, and network keys
Mesh message handling: network PDU packing/unpacking for access, control, proxy configuration, and proxy solicitation messages, plus nonce helpers and segmented access message packing
Beacons: unprovisioned device, secure network, and private mesh beacon parsing/packing
Provisioning: provisioning PDU parsing/building, provisioning bearer control and generic provisioning transaction handling, and provisioning encryption/decryption helpers
Installation
This project requires Python 3.14.
You can install “bluetooth-mesh-network” via pip from PyPI:
$ pip install bluetooth-mesh-network
You can also add it to a Poetry-managed project:
$ poetry add bluetooth-mesh-network
If you want to work on this repository locally, install the project and development dependencies with Poetry:
$ poetry install
Contributing
Contributions are very welcome. Tests can be run with pytest, please ensure the coverage at least stays the same before you submit a pull request.
License
Distributed under the terms of the GPL-2.0 license, “bluetooth-mesh-network” is free and open source software.
Issues
If you encounter any problems, please file an issue along with a detailed description.
Release files for bluetooth-mesh-network 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bluetooth_mesh_network-1.0.1.tar.gz | 17.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bluetooth_mesh_network-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 35.9 kB
Release files / bluetooth_mesh_network-1.0.1.tar.gz
| Download URL | bluetooth_mesh_network-1.0.1.tar.gz |
|---|---|
| Size | 17.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57a5d1adccd958058b5a3a5b433b492ab48ef62fc87d7b5c471fd2b92cda8894
|
|
BLAKE2b-256 checksum How to use checksums |
f956ef9e6ca7f18f772e33123cf0fbfdc72a91bd6072d9a112e90da33f35e432
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.14.3 Darwin/25.5.0
|
Release files / bluetooth_mesh_network-1.0.1-py3-none-any.whl
| Download URL | bluetooth_mesh_network-1.0.1-py3-none-any.whl |
|---|---|
| Size | 18.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9f94a8cb4d5d37859e26cabda0c0fb9e8f836962ca94c90d8c6ef65f322e8367
|
|
BLAKE2b-256 checksum How to use checksums |
6f9daecc98a486e023173cbfa0f7b6074fa4e786981a3cc53df7e88a1825fbff
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.2.1 CPython/3.14.3 Darwin/25.5.0
|