
Research
SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.
simplepyble
Advanced tools
The ultimate fully-fledged cross-platform BLE library, designed for simplicity and ease of use.
|PyPI Licence|
The ultimate cross-platform library and bindings for Bluetooth Low Energy (BLE), designed for simplicity and ease of use.
We're here to help you succeed with SimpleBLE:
Documentation_ page for comprehensive guidesDiscord_ server for discussions and helpDon't hesitate to reach out if you need assistance - we're happy to help!
You can install SimplePyBLE from PyPI using pip: ::
pip install simplepyble
Please review our code examples_ on GitHub for more information on how to use
SimplePyBLE.
SimplePyBLE provides an asynchronous API via the simplepyble.aio module. This module
is designed to work with asyncio and provides a more idiomatic way to handle
asynchronous operations in Python.
Example: ::
import asyncio from simplepyble.aio import Adapter
async def main(): adapters = Adapter.get_adapters() adapter = adapters[0]
async with adapter:
await adapter.scan_for(5000)
peripherals = adapter.scan_get_results()
for peripheral in peripherals:
print(f"Found: {peripheral.identifier()} [{peripheral.address()}]")
if name == "main": asyncio.run(main())
Check out the async examples_ for more details.
To run the built-in REST server, you can use the following command: ::
python3 -m simplepyble.server --host 127.0.0.1 --port 8000
Since January 20th 2025, SimpleBLE is now available under the Business Source License 1.1 (BUSL-1.1). Each version of SimpleBLE will convert to the GNU General Public License version 3 after four years of its initial release.
The project is free to use for non-commercial purposes, but requires a commercial license for commercial use. We also offer FREE commercial licenses for small projects and early-stage companies - reach out to discuss your use case!
Why purchase a commercial license?
Looking for information on pricing and commercial terms of service? Visit |website-url|_ for more details.
For further enquiries, please |email|_ or |leavemessage|_ and we can discuss the specifics of your situation.
SimpleBLE is a project powered by |caos|_.
.. Links
.. |email| replace:: email us .. _email: mailto:contact@simpleble.org
.. |leavemessage| replace:: leave us a message on our website .. _leavemessage: https://www.simpleble.org/contact?utm_source=pypi_simplepyble&utm_medium=referral&utm_campaign=simplepyble_readme
.. |website| replace:: our website .. _website: https://simpleble.org?utm_source=pypi_simplepyble&utm_medium=referral&utm_campaign=simplepyble_readme
.. |website-url| replace:: www.simpleble.org .. _website-url: https://simpleble.org?utm_source=pypi_simplepyble&utm_medium=referral&utm_campaign=simplepyble_readme
.. |caos| replace:: The California Open Source Company .. _caos: https://californiaopensource.com?utm_source=pypi_simplepyble&utm_medium=referral&utm_campaign=simplepyble_readme
.. _SimplePyBLE: https://pypi.org/project/simplepyble/
.. _SimpleBLE: https://github.com/simpleble/simpleble/
.. _code examples: https://github.com/simpleble/simpleble/tree/main/examples/simplepyble
.. _async examples: https://github.com/simpleble/simpleble/tree/main/examples/simplepyble
.. _Discord: https://discord.gg/N9HqNEcvP3
.. _Documentation: https://docs.simpleble.org
.. |PyPI Licence| image:: https://img.shields.io/pypi/l/simplepyble
FAQs
The ultimate fully-fledged cross-platform BLE library, designed for simplicity and ease of use.
We found that simplepyble demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
An emerging npm supply chain attack that infects repos, steals CI secrets, and targets developer AI toolchains for further compromise.

Company News
Socket is proud to join the OpenJS Foundation as a Silver Member, deepening our commitment to the long-term health and security of the JavaScript ecosystem.

Security News
npm now links to Socket's security analysis on every package page. Here's what you'll find when you click through.