Skip to main content
Continuous Integration Code coverage Python package version Supported Python versions Documentation Status License Companies Services Characteristics Descriptors OUIs

bluetooth-numbers

Python package with a wide set of numbers related to Bluetooth

This project offers a Python package with a wide set of numbers related to Bluetooth, so Python projects can easily use these numbers. The goal of this project is to provide a shared resource so various Python projects that deal with Bluetooth don’t have to replicate this effort by rolling their own database and keeping it updated.

The following sources are used:

Installation

You can install bluetooth-numbers as a package from PyPI with pip:

pip install bluetooth-numbers

Usage

Get the description of a company ID:

>>> from bluetooth_numbers import company
>>> company[0x0499]
'Ruuvi Innovations Ltd.'

Get the description of a service UUID:

>>> from bluetooth_numbers import service
>>> from uuid import UUID
>>> service[0x180F]
'Battery Service'
>>> service[UUID("6E400001-B5A3-F393-E0A9-E50E24DCCA9E")]
'Nordic UART Service'

Get the description of a characteristic UUID:

>>> from bluetooth_numbers import characteristic
>>> from uuid import UUID
>>> characteristic[0x2A37]
'Heart Rate Measurement'
>>> characteristic[UUID("6E400002-B5A3-F393-E0A9-E50E24DCCA9E")]
'UART RX Characteristic'

Get the description of a descriptor UUID:

>>> from bluetooth_numbers import descriptor
>>> descriptor[0x2901]
'Characteristic User Descriptor'

Get the description of an OUI:

>>> from bluetooth_numbers import oui
>>> oui["58:2D:34"]
'Qingping Electronics (Suzhou) Co., Ltd'

See the module reference for complete documentation.

License

This project is provided by Koen Vervloesem as open source software with the MIT license. See the LICENSE file for more information.

See also the license for the Bluetooth Numbers Database used in this package.

Metadata

Release files for bluetooth-numbers 1.1.2

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

Source distribution (sdist)

Source distribution for bluetooth-numbers 1.1.2
File Size Uploaded
bluetooth_numbers-1.1.2.tar.gz 2.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for bluetooth-numbers 1.1.2
File Interpreter ABI Platform
bluetooth_numbers-1.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 2.5 MB

Release files / bluetooth_numbers-1.1.2.tar.gz

Download URL bluetooth_numbers-1.1.2.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
ee447de6de3e1b4389aa60e32bd91e69f964995cd6726e0443f00726b2e3d6c4
BLAKE2b-256 checksum
How to use checksums
971edb3bf8fe7f4f15c7110559808112ab06d580a7dfb2e1282e927ecf601f73
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release files / bluetooth_numbers-1.1.2-py3-none-any.whl

Download URL bluetooth_numbers-1.1.2-py3-none-any.whl
Size 500.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4fbd09be00587817eef7abe0c50c71b8842b2a9c7cb438983c156286a7b774bd
BLAKE2b-256 checksum
How to use checksums
a157e274f305b7cc2aac88494eac22baa60c7e63355ca6ccdcf3d49a3c6a905e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.3

Release history Release notifications | RSS feed

This release

1.1.2 This release

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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