bless

Cross-platform Bluetooth Low Energy Server Python Library

https://github.com/kevincar/bless

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.2%) to scientific vocabulary

Keywords

bluetooth-low-energy platform-independent python
Last synced: 6 months ago · JSON representation

Repository

Cross-platform Bluetooth Low Energy Server Python Library

Basic Info
  • Host: GitHub
  • Owner: kevincar
  • License: mit
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 320 KB
Statistics
  • Stars: 162
  • Watchers: 5
  • Forks: 38
  • Open Issues: 31
  • Releases: 10
Topics
bluetooth-low-energy platform-independent python
Created over 5 years ago · Last pushed over 1 year ago
Metadata Files
Readme Contributing License Code of conduct

README.md

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

bash 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

Owner

  • Name: Kevin Davis
  • Login: kevincar
  • Kind: user
  • Location: Miami

M.D./Ph.D. Candidate | University of Miami

GitHub Events

Total
  • Commit comment event: 1
  • Issues event: 7
  • Watch event: 56
  • Issue comment event: 28
  • Fork event: 8
Last Year
  • Commit comment event: 1
  • Issues event: 7
  • Watch event: 56
  • Issue comment event: 28
  • Fork event: 8

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 267
  • Total Committers: 3
  • Avg Commits per committer: 89.0
  • Development Distribution Score (DDS): 0.015
Past Year
  • Commits: 7
  • Committers: 1
  • Avg Commits per committer: 7.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Kevin Davis k****s@g****m 263
Wouter Dubbeldam 4****D 2
Jake g****t@j****h 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 81
  • Total pull requests: 58
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 10 days
  • Total issue authors: 43
  • Total pull request authors: 10
  • Average comments per issue: 2.77
  • Average comments per pull request: 0.41
  • Merged pull requests: 54
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 11
  • Pull requests: 1
  • Average time to close issues: 12 days
  • Average time to close pull requests: N/A
  • Issue authors: 11
  • Pull request authors: 1
  • Average comments per issue: 1.73
  • Average comments per pull request: 0.0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • kevincar (24)
  • WouterJD (11)
  • beachcitiessoftware (3)
  • rgov (3)
  • Jakeler (2)
  • leruge (1)
  • Menotdan (1)
  • LvanArkel (1)
  • trueroad (1)
  • fernandoaestrella (1)
  • cvabenzi (1)
  • Avstn1 (1)
  • ahmad11111111111 (1)
  • dotori1995 (1)
  • Trayshar (1)
Pull Request Authors
  • kevincar (46)
  • Mimoja (4)
  • WouterJD (3)
  • yama-yeah (2)
  • mklemarczyk (2)
  • markmcclain (2)
  • zalexua (2)
  • KRicketts6237 (2)
  • vinicentus (1)
  • Jakeler (1)
Top Labels
Issue Labels
bug (17) enhancement (8) backend: WinRT (6) backend: CoreBluetooth (5) backend: bluez (5) help wanted (5) documentation (2) good first issue (1)
Pull Request Labels
bug (10) backend: WinRT (6) enhancement (4) backend: CoreBluetooth (3) backend: bluez (2)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 3,545 last-month
  • Total dependent packages: 1
  • Total dependent repositories: 7
  • Total versions: 11
  • Total maintainers: 1
pypi.org: bless

A Bluetooth Low Energy Server supplement to Bleak

  • Versions: 11
  • Dependent Packages: 1
  • Dependent Repositories: 7
  • Downloads: 3,545 Last month
Rankings
Dependent repos count: 5.6%
Average: 9.2%
Forks count: 9.3%
Dependent packages count: 10.0%
Downloads: 10.5%
Stargazers count: 10.7%
Maintainers (1)
Last synced: 6 months ago

Dependencies

requirements.txt pypi
  • aioconsole *
  • bleak *
  • dbus-next *
  • flake8 *
  • mypy *
  • numpy *
  • pyobjc *
  • pytest *
  • pytest-asyncio *
  • twisted *
setup.py pypi
  • bleak *
.github/workflows/build-and-test.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite