Metadata-Version: 2.4
Name: caerulea
Version: 0.1.0
Summary: An asyncio Bluetooth Low Energy central library with backends for every platform, Android included.
Author: Kattni
License-Expression: BSD-3-Clause
Project-URL: Homepage, https://github.com/kattni/caerulea
Project-URL: Tracker, https://github.com/kattni/caerulea/issues
Project-URL: Source, https://github.com/kattni/caerulea
Project-URL: Changelog, https://github.com/kattni/caerulea/blob/main/CHANGELOG.md
Keywords: bluetooth,ble,bluetooth low energy,asyncio,gatt,android,ios,macos,linux,windows
Classifier: Development Status :: 3 - Alpha
Classifier: Framework :: AsyncIO
Classifier: Intended Audience :: Developers
Classifier: Operating System :: Android
Classifier: Operating System :: iOS
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: System :: Hardware
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: winrt-runtime>=4.1; sys_platform == "win32"
Requires-Dist: winrt-Windows.Devices.Bluetooth>=4!10.0.28000.2957; sys_platform == "win32"
Requires-Dist: winrt-Windows.Devices.Bluetooth.Advertisement>=4!10.0.28000.2957; sys_platform == "win32"
Requires-Dist: winrt-Windows.Devices.Bluetooth.GenericAttributeProfile>=4!10.0.28000.2957; sys_platform == "win32"
Requires-Dist: winrt-Windows.Devices.Radios>=4!10.0.28000.2957; sys_platform == "win32"
Requires-Dist: winrt-Windows.Foundation>=4!10.0.28000.2957; sys_platform == "win32"
Requires-Dist: winrt-Windows.Foundation.Collections>=4!10.0.28000.2957; sys_platform == "win32"
Requires-Dist: winrt-Windows.Storage.Streams>=4!10.0.28000.2957; sys_platform == "win32"
Requires-Dist: rubicon-objc>=0.5; sys_platform == "darwin" or sys_platform == "ios"
Requires-Dist: dbus-fast>=5; sys_platform == "linux"
Dynamic: license-file

# caerulea

An asyncio Bluetooth Low Energy central library. Work in progress.

caerulea has backends for:

- Android
- iOS and macOS (CoreBluetooth)
- Linux (BlueZ)
- Windows (WinRT)

## Installation

```console
$ python -m pip install caerulea
```

caerulea requires Python 3.11 or newer.

## Development

Create a virtual environment, then install caerulea in editable mode with its
development tools:

```console
$ python -m pip install -U pip
$ python -m pip install --group dev -e .
$ pre-commit install
```

Run the test suite with tox:

```console
$ tox -m test
```

Every pull request needs a change note in the `changes` directory, named
`<PR number>.<type>.md`, where `<type>` is one of `feature`, `bugfix`,
`removal`, `doc` or `misc`.

### Releasing

1. Compile the change notes into `CHANGELOG.md`, and commit the result:

   ```console
   $ tox -e towncrier -- build --version <version>
   ```

2. Tag the release, and push the tag:

   ```console
   $ git tag v<version>
   $ git push origin v<version>
   ```

   CI builds and tests the package, uploads it to Test PyPI, and creates a draft
   GitHub release.

3. Publish the draft release on GitHub. This uploads the package to PyPI.
