Skip to main content

Library supporting BLE peripheral applications

Project description

python-ble-peripheral

Description

This project delivers a library of Python based modules with which to build Bluetooth Low Energy (BLE) peripheral role applications. It is based on the prior work of Douglas Otwell, with small additions to satisfy personal requirements.

Prerequisites

  • Python 3
  • bluez (>= 5.50)

Installation

If installing from this directory, run:

    python3 -m pip install .

If installing directly from the PyPi repository, run:

    python3 -m pip install python-ble-peripheral 

When run as an ordinary user, these commands install into the user's individual home directory system. If a global installation is desired (available to all users), run the installation command as root.

Usage

As the cputemp example shows

    from pythonBLEperipheral.advertisement import Advertisement
    from pythonBLEperipheral.service import Application, Service, Characteristic, Descriptor

Support

Contributing

Please suggest any additions to this project by creating a new Issues topic.

Authors

Thanks to Douglas Otwell for the overwhelming bulk of the code on which this project is based.

License

MIT (http://opensource.org/licenses/MIT)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pythonBLEperipheral-0.0.1.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pythonBLEperipheral-0.0.1-py3-none-any.whl (9.7 kB view details)

Uploaded Python 3

File details

Details for the file pythonBLEperipheral-0.0.1.tar.gz.

File metadata

  • Download URL: pythonBLEperipheral-0.0.1.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for pythonBLEperipheral-0.0.1.tar.gz
Algorithm Hash digest
SHA256 46633066877ef2a806a0daafe3ec46ecae0b653abe28b05faf89309339e03948
MD5 e41f1ead15cf90fae769a452e99b7bb0
BLAKE2b-256 d39dbba4f4fec43c2bce3d8224aa523d79d5aa50c852ade04609bb18990e7477

See more details on using hashes here.

File details

Details for the file pythonBLEperipheral-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for pythonBLEperipheral-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1cbcbfe4666c1b62378f58de634ec7afa97ccc9a5589c072dda4572b3dd82e67
MD5 7ae8ccef23a0d8283c0b1448581ed04b
BLAKE2b-256 8c71695953ed8b4afbcf1f6df314ceb1e09437552375f0092520e4e56f03ef83

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page