pax_global_header 0000666 0000000 0000000 00000000064 15005200656 0014511 g ustar 00root root 0000000 0000000 52 comment=1e76ae377a985c947c2156cff088bc28b9285242
yalexs-ble-3.0.0/ 0000775 0000000 0000000 00000000000 15005200656 0013556 5 ustar 00root root 0000000 0000000 yalexs-ble-3.0.0/.all-contributorsrc 0000664 0000000 0000000 00000000436 15005200656 0017412 0 ustar 00root root 0000000 0000000 {
"projectName": "yalexs-ble",
"projectOwner": "bdraco",
"repoType": "github",
"repoHost": "https://github.com",
"files": ["README.md"],
"imageSize": 80,
"commit": true,
"commitConvention": "angular",
"contributors": [],
"contributorsPerLine": 7,
"skipCi": true
}
yalexs-ble-3.0.0/.editorconfig 0000664 0000000 0000000 00000000444 15005200656 0016235 0 ustar 00root root 0000000 0000000 # http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
charset = utf-8
end_of_line = lf
[*.bat]
indent_style = tab
end_of_line = crlf
[LICENSE]
insert_final_newline = false
[Makefile]
indent_style = tab
yalexs-ble-3.0.0/.flake8 0000664 0000000 0000000 00000000056 15005200656 0014732 0 ustar 00root root 0000000 0000000 [flake8]
exclude = docs
max-line-length = 188
yalexs-ble-3.0.0/.github/ 0000775 0000000 0000000 00000000000 15005200656 0015116 5 ustar 00root root 0000000 0000000 yalexs-ble-3.0.0/.github/FUNDING.yml 0000664 0000000 0000000 00000000023 15005200656 0016726 0 ustar 00root root 0000000 0000000 github: ["bdraco"]
yalexs-ble-3.0.0/.github/ISSUE_TEMPLATE/ 0000775 0000000 0000000 00000000000 15005200656 0017301 5 ustar 00root root 0000000 0000000 yalexs-ble-3.0.0/.github/ISSUE_TEMPLATE/1-bug_report.md 0000664 0000000 0000000 00000000422 15005200656 0022127 0 ustar 00root root 0000000 0000000 ---
name: Bug report
about: Create a report to help us improve
labels: bug
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
**Additional context**
Add any other context about the problem here.
yalexs-ble-3.0.0/.github/ISSUE_TEMPLATE/2-feature-request.md 0000664 0000000 0000000 00000000672 15005200656 0023110 0 ustar 00root root 0000000 0000000 ---
name: Feature request
about: Suggest an idea for this project
labels: enhancement
---
**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
**Describe the solution you'd like**
A clear and concise description of what you want to happen.
**Additional context**
Add any other context or screenshots about the feature request here.
yalexs-ble-3.0.0/.github/dependabot.yml 0000664 0000000 0000000 00000001313 15005200656 0017744 0 ustar 00root root 0000000 0000000 # To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "chore(ci): "
groups:
github-actions:
patterns:
- "*"
- package-ecosystem: "pip" # See documentation for possible values
directory: "/" # Location of package manifests
schedule:
interval: "daily"
yalexs-ble-3.0.0/.github/labels.toml 0000664 0000000 0000000 00000003515 15005200656 0017261 0 ustar 00root root 0000000 0000000 [breaking]
color = "ffcc00"
name = "breaking"
description = "Breaking change."
[bug]
color = "d73a4a"
name = "bug"
description = "Something isn't working"
[dependencies]
color = "0366d6"
name = "dependencies"
description = "Pull requests that update a dependency file"
[github_actions]
color = "000000"
name = "github_actions"
description = "Update of github actions"
[documentation]
color = "1bc4a5"
name = "documentation"
description = "Improvements or additions to documentation"
[duplicate]
color = "cfd3d7"
name = "duplicate"
description = "This issue or pull request already exists"
[enhancement]
color = "a2eeef"
name = "enhancement"
description = "New feature or request"
["good first issue"]
color = "7057ff"
name = "good first issue"
description = "Good for newcomers"
["help wanted"]
color = "008672"
name = "help wanted"
description = "Extra attention is needed"
[invalid]
color = "e4e669"
name = "invalid"
description = "This doesn't seem right"
[nochangelog]
color = "555555"
name = "nochangelog"
description = "Exclude pull requests from changelog"
[question]
color = "d876e3"
name = "question"
description = "Further information is requested"
[removed]
color = "e99695"
name = "removed"
description = "Removed piece of functionalities."
[tests]
color = "bfd4f2"
name = "tests"
description = "CI, CD and testing related changes"
[wontfix]
color = "ffffff"
name = "wontfix"
description = "This will not be worked on"
[discussion]
color = "c2e0c6"
name = "discussion"
description = "Some discussion around the project"
[hacktoberfest]
color = "ffa663"
name = "hacktoberfest"
description = "Good issues for Hacktoberfest"
[answered]
color = "0ee2b6"
name = "answered"
description = "Automatically closes as answered after a delay"
[waiting]
color = "5f7972"
name = "waiting"
description = "Automatically closes if no answer after a delay"
yalexs-ble-3.0.0/.github/workflows/ 0000775 0000000 0000000 00000000000 15005200656 0017153 5 ustar 00root root 0000000 0000000 yalexs-ble-3.0.0/.github/workflows/ci.yml 0000664 0000000 0000000 00000004726 15005200656 0020302 0 ustar 00root root 0000000 0000000 name: CI
on:
push:
branches:
- main
pull_request:
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
- uses: pre-commit/action@v3.0.1
# Make sure commit messages follow the conventional commits convention:
# https://www.conventionalcommits.org
commitlint:
name: Lint Commit Messages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: wagoid/commitlint-github-action@v6
test:
strategy:
fail-fast: false
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
os:
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- uses: snok/install-poetry@v1
- name: Install Dependencies
shell: bash
run: poetry install
- name: Test with Pytest
shell: bash
run: poetry run pytest --cov-report=xml
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
release:
runs-on: ubuntu-latest
environment: release
if: github.ref == 'refs/heads/main'
needs:
- test
- lint
- commitlint
permissions:
id-token: write
contents: write
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
# Run semantic release:
# - Update CHANGELOG.md
# - Update version in code
# - Create git tag
# - Create GitHub release
- name: Python Semantic Release
id: release
uses: python-semantic-release/python-semantic-release@v9.21.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Upload package to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
if: steps.release.outputs.released == 'true'
- name: Upload Github Release Assets
uses: python-semantic-release/publish-action@v9.21.0
if: steps.release.outputs.released == 'true'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
tag: ${{ steps.release.outputs.tag }}
yalexs-ble-3.0.0/.github/workflows/hacktoberfest.yml 0000664 0000000 0000000 00000000534 15005200656 0022524 0 ustar 00root root 0000000 0000000 name: Hacktoberfest
on:
schedule:
# Run every day in October
- cron: "0 0 * 10 *"
# Run on the 1st of November to revert
- cron: "0 13 1 11 *"
jobs:
hacktoberfest:
runs-on: ubuntu-latest
steps:
- uses: browniebroke/hacktoberfest-labeler-action@v2.3.0
with:
github_token: ${{ secrets.GH_PAT }}
yalexs-ble-3.0.0/.github/workflows/issue-manager.yml 0000664 0000000 0000000 00000001340 15005200656 0022434 0 ustar 00root root 0000000 0000000 name: Issue Manager
on:
schedule:
- cron: "0 0 * * *"
issue_comment:
types:
- created
issues:
types:
- labeled
pull_request_target:
types:
- labeled
workflow_dispatch:
jobs:
issue-manager:
runs-on: ubuntu-latest
steps:
- uses: tiangolo/issue-manager@0.5.1
with:
token: ${{ secrets.GITHUB_TOKEN }}
config: >
{
"answered": {
"message": "Assuming the original issue was solved, it will be automatically closed now."
},
"waiting": {
"message": "Automatically closing. To re-open, please provide the additional information requested."
}
}
yalexs-ble-3.0.0/.github/workflows/labels.yml 0000664 0000000 0000000 00000000774 15005200656 0021150 0 ustar 00root root 0000000 0000000 name: Sync Github labels
on:
push:
branches:
- main
paths:
- ".github/**"
jobs:
labels:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8
- name: Install labels
run: pip install labels
- name: Sync config with Github
run: labels -u ${{ github.repository_owner }} -t ${{ secrets.GITHUB_TOKEN }} sync -f .github/labels.toml
yalexs-ble-3.0.0/.gitignore 0000664 0000000 0000000 00000004066 15005200656 0015554 0 ustar 00root root 0000000 0000000 # Created by .ignore support plugin (hsz.mobi)
### Python template
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class
# C extensions
*.so
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/
# Translations
*.mo
*.pot
# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal
# Flask stuff:
instance/
.webassets-cache
# Scrapy stuff:
.scrapy
# Sphinx documentation
docs/_build/
# PyBuilder
.pybuilder/
target/
# Jupyter Notebook
.ipynb_checkpoints
# IPython
profile_default/
ipython_config.py
# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version
# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/
# Celery stuff
celerybeat-schedule
celerybeat.pid
# SageMath parsed files
*.sage.py
# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
# Spyder project settings
.spyderproject
.spyproject
# Rope project settings
.ropeproject
# mkdocs documentation
/site
# mypy
.mypy_cache/
.dmypy.json
dmypy.json
# Pyre type checker
.pyre/
# pytype static type analyzer
.pytype/
# Cython debug symbols
cython_debug/
yalexs-ble-3.0.0/.gitpod.yml 0000664 0000000 0000000 00000000306 15005200656 0015644 0 ustar 00root root 0000000 0000000 tasks:
- command: |
pip install poetry
PIP_USER=false poetry install
- command: |
pip install pre-commit
pre-commit install
PIP_USER=false pre-commit install-hooks
yalexs-ble-3.0.0/.idea/ 0000775 0000000 0000000 00000000000 15005200656 0014536 5 ustar 00root root 0000000 0000000 yalexs-ble-3.0.0/.idea/watcherTasks.xml 0000664 0000000 0000000 00000005253 15005200656 0017730 0 ustar 00root root 0000000 0000000
yalexs-ble-3.0.0/.idea/workspace.xml 0000664 0000000 0000000 00000002726 15005200656 0017265 0 ustar 00root root 0000000 0000000
yalexs-ble-3.0.0/.idea/yalexs-ble.iml 0000664 0000000 0000000 00000000515 15005200656 0017307 0 ustar 00root root 0000000 0000000
yalexs-ble-3.0.0/.pre-commit-config.yaml 0000664 0000000 0000000 00000003141 15005200656 0020036 0 ustar 00root root 0000000 0000000 # See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
exclude: "CHANGELOG.md"
default_stages: [pre-commit]
ci:
autofix_commit_msg: "chore(pre-commit.ci): auto fixes"
autoupdate_commit_msg: "chore(pre-commit.ci): pre-commit autoupdate"
repos:
- repo: https://github.com/commitizen-tools/commitizen
rev: v4.6.0
hooks:
- id: commitizen
stages: [commit-msg]
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v5.0.0
hooks:
- id: debug-statements
- id: check-builtin-literals
- id: check-case-conflict
- id: check-docstring-first
- id: check-json
- id: check-toml
- id: check-xml
- id: check-yaml
- id: detect-private-key
- id: end-of-file-fixer
- id: trailing-whitespace
- id: debug-statements
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.8
hooks:
- id: prettier
args: ["--tab-width", "2"]
- repo: https://github.com/asottile/pyupgrade
rev: v3.19.1
hooks:
- id: pyupgrade
args: [--py37-plus]
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.11.7
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- id: ruff-format
- repo: https://github.com/codespell-project/codespell
rev: v2.4.1
hooks:
- id: codespell
- repo: https://github.com/PyCQA/flake8
rev: 7.2.0
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v1.15.0
hooks:
- id: mypy
additional_dependencies: []
yalexs-ble-3.0.0/.readthedocs.yml 0000664 0000000 0000000 00000001004 15005200656 0016637 0 ustar 00root root 0000000 0000000 # Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/source/conf.py
# Set the version of Python and other tools you might need
build:
os: ubuntu-20.04
tools:
python: "3.9"
# Optionally declare the Python requirements required to build your docs
python:
install:
- method: pip
path: .
extra_requirements:
- docs
yalexs-ble-3.0.0/CHANGELOG.md 0000664 0000000 0000000 00000142636 15005200656 0015403 0 ustar 00root root 0000000 0000000 # CHANGELOG
## v3.0.0 (2025-05-02)
### Chores
- Update dependabot.yml to fix missing ecosystem
([`2222340`](https://github.com/bdraco/yalexs-ble/commit/222234098d8e46b3791d42a3ec05caaf3aaadafb))
- **ci**: Bump the github-actions group with 6 updates
([#211](https://github.com/bdraco/yalexs-ble/pull/211),
[`10fd4ea`](https://github.com/bdraco/yalexs-ble/commit/10fd4eadb3132bbe820c3d86888fbed827ba4fb9))
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- **deps-dev**: Bump pytest from 7.4.4 to 8.3.5
([#213](https://github.com/bdraco/yalexs-ble/pull/213),
[`b993286`](https://github.com/bdraco/yalexs-ble/commit/b99328695c30171b0bc1289e52ecbe9d65600535))
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- **deps-dev**: Bump pytest-asyncio from 0.19.0 to 0.26.0
([#214](https://github.com/bdraco/yalexs-ble/pull/214),
[`0950da5`](https://github.com/bdraco/yalexs-ble/commit/0950da58bf88c020fe0647ff7fc540df23615f29))
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- **deps-dev**: Bump pytest-cov from 3.0.0 to 6.1.1
([#210](https://github.com/bdraco/yalexs-ble/pull/210),
[`cd4416f`](https://github.com/bdraco/yalexs-ble/commit/cd4416fcfceee3f648ded7f374e15f2a1c73a8f0))
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- **pre-commit.ci**: Pre-commit autoupdate ([#206](https://github.com/bdraco/yalexs-ble/pull/206),
[`aad8410`](https://github.com/bdraco/yalexs-ble/commit/aad8410a33271974398447efef416f8a98499cd9))
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston
### Features
- Add Deadlock (SecureMode) support ([#216](https://github.com/bdraco/yalexs-ble/pull/216),
[`3bff4ac`](https://github.com/bdraco/yalexs-ble/commit/3bff4ac1f59b66cc64cc3f41d99c05d3114dc9d5))
Co-authored-by: J. Nick Koston
## v2.6.0 (2025-04-21)
### Chores
- Update dependabot.yml for GHA
([`8a34448`](https://github.com/bdraco/yalexs-ble/commit/8a344480cc2532bd545bad28ef9e28a9e1db86d7))
- **pre-commit.ci**: Pre-commit autoupdate ([#197](https://github.com/bdraco/yalexs-ble/pull/197),
[`5f4370e`](https://github.com/bdraco/yalexs-ble/commit/5f4370e66cbd8ca2d29b3c58fe57e4d21858820a))
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- **pre-commit.ci**: Pre-commit autoupdate ([#198](https://github.com/bdraco/yalexs-ble/pull/198),
[`34a7a04`](https://github.com/bdraco/yalexs-ble/commit/34a7a04e78d0a1a29f7ba225d43df4159b0a046c))
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- **pre-commit.ci**: Pre-commit autoupdate ([#199](https://github.com/bdraco/yalexs-ble/pull/199),
[`d054f75`](https://github.com/bdraco/yalexs-ble/commit/d054f754e4920fb86edb9918737e3d098a985815))
- **pre-commit.ci**: Pre-commit autoupdate ([#200](https://github.com/bdraco/yalexs-ble/pull/200),
[`04488f1`](https://github.com/bdraco/yalexs-ble/commit/04488f1dd3847e82e1c4fad6fe268d75cf367612))
- **pre-commit.ci**: Pre-commit autoupdate ([#201](https://github.com/bdraco/yalexs-ble/pull/201),
[`0ed85df`](https://github.com/bdraco/yalexs-ble/commit/0ed85df02af319567693de664219985b41e3cdb0))
- **pre-commit.ci**: Pre-commit autoupdate ([#202](https://github.com/bdraco/yalexs-ble/pull/202),
[`8ead72d`](https://github.com/bdraco/yalexs-ble/commit/8ead72dfcbc55b93b01e09ca3607baecfc225bb5))
updates: - [github.com/astral-sh/ruff-pre-commit: v0.11.0 →
v0.11.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.0...v0.11.2)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- **pre-commit.ci**: Pre-commit autoupdate ([#203](https://github.com/bdraco/yalexs-ble/pull/203),
[`6146eda`](https://github.com/bdraco/yalexs-ble/commit/6146eda4c96c548275700f3dadcb1f9e0c96b2d8))
updates: - [github.com/PyCQA/flake8: 7.1.2 →
7.2.0](https://github.com/PyCQA/flake8/compare/7.1.2...7.2.0)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- **pre-commit.ci**: Pre-commit autoupdate ([#204](https://github.com/bdraco/yalexs-ble/pull/204),
[`b3dd4c6`](https://github.com/bdraco/yalexs-ble/commit/b3dd4c67342008005b245cee4f13dbf3e010a906))
updates: - [github.com/commitizen-tools/commitizen: v4.4.1 →
v4.5.0](https://github.com/commitizen-tools/commitizen/compare/v4.4.1...v4.5.0) -
[github.com/astral-sh/ruff-pre-commit: v0.11.2 →
v0.11.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.11.2...v0.11.4)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- **pre-commit.ci**: Pre-commit autoupdate ([#205](https://github.com/bdraco/yalexs-ble/pull/205),
[`3694bde`](https://github.com/bdraco/yalexs-ble/commit/3694bdeeb6e4bba415595dc70ea774d66cc85dd7))
### Features
- Migrate to trusted publishing ([#207](https://github.com/bdraco/yalexs-ble/pull/207),
[`5938421`](https://github.com/bdraco/yalexs-ble/commit/5938421014d6461192fb5a0e773ad587ef99a788))
## v2.5.7 (2025-02-04)
### Bug Fixes
- Update poetry to v2 ([#196](https://github.com/bdraco/yalexs-ble/pull/196),
[`7c422e8`](https://github.com/bdraco/yalexs-ble/commit/7c422e8cbb43860919700b34d925978748cf0f7b))
### Chores
- **pre-commit.ci**: Pre-commit autoupdate ([#190](https://github.com/bdraco/yalexs-ble/pull/190),
[`e4c260e`](https://github.com/bdraco/yalexs-ble/commit/e4c260e13606d8c0231f439cd28e8d3f72ced312))
- **pre-commit.ci**: Pre-commit autoupdate ([#191](https://github.com/bdraco/yalexs-ble/pull/191),
[`e330ea9`](https://github.com/bdraco/yalexs-ble/commit/e330ea9eadfd916a8bb240b4dab13b943c8d81d3))
- **pre-commit.ci**: Pre-commit autoupdate ([#193](https://github.com/bdraco/yalexs-ble/pull/193),
[`7b07c17`](https://github.com/bdraco/yalexs-ble/commit/7b07c177b69ee5181cf3b5318dd6600e7ee88e18))
- **pre-commit.ci**: Pre-commit autoupdate ([#194](https://github.com/bdraco/yalexs-ble/pull/194),
[`08239f9`](https://github.com/bdraco/yalexs-ble/commit/08239f9e910773e06232c24dbe9416479168255d))
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- **pre-commit.ci**: Pre-commit autoupdate ([#195](https://github.com/bdraco/yalexs-ble/pull/195),
[`1746260`](https://github.com/bdraco/yalexs-ble/commit/1746260bb3805b4a0256a30d86036e4e057517f4))
## v2.5.6 (2024-12-19)
### Bug Fixes
- Downgrade BleakNotFoundError while updating to debug
([#189](https://github.com/bdraco/yalexs-ble/pull/189),
[`26a4392`](https://github.com/bdraco/yalexs-ble/commit/26a4392627eded8a7c6a9f19487de562b2f9d1d7))
### Chores
- **pre-commit.ci**: Pre-commit autoupdate ([#188](https://github.com/bdraco/yalexs-ble/pull/188),
[`07f776c`](https://github.com/bdraco/yalexs-ble/commit/07f776c34b0bad1f74d9b4fde5b67aa0096dc770))
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
## v2.5.5 (2024-12-14)
### Bug Fixes
- Battery workaround for models with removal L-Ion battery
([#187](https://github.com/bdraco/yalexs-ble/pull/187),
[`a937a48`](https://github.com/bdraco/yalexs-ble/commit/a937a48dd074f57cad90cd9f7250b360b625ccf3))
## v2.5.4 (2024-12-13)
### Bug Fixes
- Add lock info debug logging to help troubleshoot specific locks
([#186](https://github.com/bdraco/yalexs-ble/pull/186),
[`3661e41`](https://github.com/bdraco/yalexs-ble/commit/3661e4131bcee4de6e7ca9ad4e52ca71248cc40f))
## v2.5.3 (2024-12-13)
### Bug Fixes
- Add Yale Smart Code Handle to battery exclude list
([#185](https://github.com/bdraco/yalexs-ble/pull/185),
[`ddd708b`](https://github.com/bdraco/yalexs-ble/commit/ddd708b9c4a7874a3601bd2a734660777fd7a8d9))
### Chores
- **pre-commit.ci**: Pre-commit autoupdate ([#182](https://github.com/bdraco/yalexs-ble/pull/182),
[`87f8d9c`](https://github.com/bdraco/yalexs-ble/commit/87f8d9c02ce7703828dc7d1b08ec2e1580e05a43))
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- **pre-commit.ci**: Pre-commit autoupdate ([#184](https://github.com/bdraco/yalexs-ble/pull/184),
[`c26d738`](https://github.com/bdraco/yalexs-ble/commit/c26d738a5db7f5cf4741210248448b4a5bc9eeed))
## v2.5.2 (2024-12-07)
### Bug Fixes
- Add battery workaround for the SL-103 model aka Yale Linus 2
([#183](https://github.com/bdraco/yalexs-ble/pull/183),
[`282800d`](https://github.com/bdraco/yalexs-ble/commit/282800dea766e370cf136485a440a262b49d2ade))
### Chores
- **pre-commit.ci**: Pre-commit autoupdate ([#181](https://github.com/bdraco/yalexs-ble/pull/181),
[`acbe310`](https://github.com/bdraco/yalexs-ble/commit/acbe310edca6ba7a0db4c84d873620b612665405))
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
## v2.5.1 (2024-11-23)
### Bug Fixes
- Ensure disconnect still happens when connect gets cancellation
([#180](https://github.com/bdraco/yalexs-ble/pull/180),
[`c26b18f`](https://github.com/bdraco/yalexs-ble/commit/c26b18f4767b9d0dcdc93e409eff658c674cfc32))
### Chores
- **pre-commit.ci**: Pre-commit autoupdate ([#179](https://github.com/bdraco/yalexs-ble/pull/179),
[`ce518bf`](https://github.com/bdraco/yalexs-ble/commit/ce518bf179ea4073ebb65e16e7661565caa23dc6))
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston
## v2.5.0 (2024-10-06)
### Chores
- **deps**: Bump cryptography from 42.0.4 to 43.0.1
([#175](https://github.com/bdraco/yalexs-ble/pull/175),
[`81ba9d7`](https://github.com/bdraco/yalexs-ble/commit/81ba9d7a402c244f7ae441cd5183898b64ea4789))
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- **pre-commit.ci**: Pre-commit autoupdate ([#162](https://github.com/bdraco/yalexs-ble/pull/162),
[`6e38888`](https://github.com/bdraco/yalexs-ble/commit/6e388886f8124d7c9f38ebc75f3dca7fc2f8d6c3))
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: J. Nick Koston
- **pre-commit.ci**: Pre-commit autoupdate ([#165](https://github.com/bdraco/yalexs-ble/pull/165),
[`84ebc1c`](https://github.com/bdraco/yalexs-ble/commit/84ebc1c229fe23be76db2e74f7bc6c74dbe99d6b))
updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.9 →
v0.5.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.9...v0.5.0)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- **pre-commit.ci**: Pre-commit autoupdate ([#166](https://github.com/bdraco/yalexs-ble/pull/166),
[`6c97cc8`](https://github.com/bdraco/yalexs-ble/commit/6c97cc8a2c9b4e69903bea5e1a1a2b0cd74655ca))
updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.0 →
v0.5.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.0...v0.5.1)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- **pre-commit.ci**: Pre-commit autoupdate ([#167](https://github.com/bdraco/yalexs-ble/pull/167),
[`9365fc8`](https://github.com/bdraco/yalexs-ble/commit/9365fc8cfddf432d1c4edf46d0eb2cde8e630023))
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- **pre-commit.ci**: Pre-commit autoupdate ([#168](https://github.com/bdraco/yalexs-ble/pull/168),
[`5962616`](https://github.com/bdraco/yalexs-ble/commit/59626161af5212981e0baf718e9e67ec6157c86a))
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- **pre-commit.ci**: Pre-commit autoupdate ([#169](https://github.com/bdraco/yalexs-ble/pull/169),
[`714f343`](https://github.com/bdraco/yalexs-ble/commit/714f3438566d094ea6f7fa846865d9e23af445b5))
updates: - [github.com/asottile/pyupgrade: v3.16.0 →
v3.17.0](https://github.com/asottile/pyupgrade/compare/v3.16.0...v3.17.0) -
[github.com/astral-sh/ruff-pre-commit: v0.5.4 →
v0.5.5](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.4...v0.5.5)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- **pre-commit.ci**: Pre-commit autoupdate ([#170](https://github.com/bdraco/yalexs-ble/pull/170),
[`db602c1`](https://github.com/bdraco/yalexs-ble/commit/db602c15737a1589be9c015183edb69e4f8aad74))
updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.5 →
v0.5.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.5...v0.5.6) -
[github.com/PyCQA/flake8: 7.1.0 → 7.1.1](https://github.com/PyCQA/flake8/compare/7.1.0...7.1.1) -
[github.com/pre-commit/mirrors-mypy: v1.11.0 →
v1.11.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.11.0...v1.11.1)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- **pre-commit.ci**: Pre-commit autoupdate ([#171](https://github.com/bdraco/yalexs-ble/pull/171),
[`f3f9f5a`](https://github.com/bdraco/yalexs-ble/commit/f3f9f5aeba9b7d2933ba54bfe91f8d2132fcefbf))
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- **pre-commit.ci**: Pre-commit autoupdate ([#172](https://github.com/bdraco/yalexs-ble/pull/172),
[`15de4d5`](https://github.com/bdraco/yalexs-ble/commit/15de4d55657d29a2c3c08a4fbf770982a20e869e))
updates: - [github.com/astral-sh/ruff-pre-commit: v0.5.7 →
v0.6.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.7...v0.6.1)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- **pre-commit.ci**: Pre-commit autoupdate ([#173](https://github.com/bdraco/yalexs-ble/pull/173),
[`b6a1037`](https://github.com/bdraco/yalexs-ble/commit/b6a10370763bdf7bdfe1836ad9c97c934b294e60))
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- **pre-commit.ci**: Pre-commit autoupdate ([#174](https://github.com/bdraco/yalexs-ble/pull/174),
[`4e9c6ca`](https://github.com/bdraco/yalexs-ble/commit/4e9c6ca9149c9ee1061422a4b345069947fcb2b4))
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- **pre-commit.ci**: Pre-commit autoupdate ([#176](https://github.com/bdraco/yalexs-ble/pull/176),
[`e7a193d`](https://github.com/bdraco/yalexs-ble/commit/e7a193dc291606741549b25650d4c9c2cffffbe9))
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- **pre-commit.ci**: Pre-commit autoupdate ([#177](https://github.com/bdraco/yalexs-ble/pull/177),
[`3338089`](https://github.com/bdraco/yalexs-ble/commit/3338089ba4d91a55d7bf4d06c5fbae112e03b020))
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
### Features
- Add support for Python 3.13 ([#178](https://github.com/bdraco/yalexs-ble/pull/178),
[`807eb53`](https://github.com/bdraco/yalexs-ble/commit/807eb536d862699098d9c98dea3f22ada1152860))
## v2.4.3 (2024-06-25)
### Bug Fixes
- Fix license classifier ([#163](https://github.com/bdraco/yalexs-ble/pull/163),
[`86a4ad8`](https://github.com/bdraco/yalexs-ble/commit/86a4ad87ac09b4277cd1d7c941c6c0e38a34e278))
Co-authored-by: J. Nick Koston
### Chores
- Replace isort and black with ruff ([#164](https://github.com/bdraco/yalexs-ble/pull/164),
[`3681217`](https://github.com/bdraco/yalexs-ble/commit/3681217d6ece4b851e7c9ee520129137c7381080))
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- **deps**: Bump aiohttp from 3.9.2 to 3.9.4 ([#160](https://github.com/bdraco/yalexs-ble/pull/160),
[`740f272`](https://github.com/bdraco/yalexs-ble/commit/740f272fab500ab489fe9865c188a7b8ee9e0325))
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- **deps**: Bump idna from 3.4 to 3.7 ([#159](https://github.com/bdraco/yalexs-ble/pull/159),
[`12a7e28`](https://github.com/bdraco/yalexs-ble/commit/12a7e28a37ca050dbd66c5289d5f00f2d7be071a))
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
## v2.4.2 (2024-02-23)
### Bug Fixes
- Only try to connect once at startup ([#158](https://github.com/bdraco/yalexs-ble/pull/158),
[`c7ad2ef`](https://github.com/bdraco/yalexs-ble/commit/c7ad2ef25c4d6bcb7fae82ee9142b68e638aa8c6))
### Chores
- **deps**: Bump cryptography from 41.0.6 to 42.0.2
([#156](https://github.com/bdraco/yalexs-ble/pull/156),
[`1278ee5`](https://github.com/bdraco/yalexs-ble/commit/1278ee5953a68736f64dbe95f7bb74b4a900a520))
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- **deps**: Bump cryptography from 42.0.2 to 42.0.4
([#157](https://github.com/bdraco/yalexs-ble/pull/157),
[`8f78101`](https://github.com/bdraco/yalexs-ble/commit/8f78101e249598ad53a57e676939e174af2a99ea))
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
## v2.4.1 (2024-02-04)
### Bug Fixes
- Add running guards to ensure cancel does not get suppressed
([#153](https://github.com/bdraco/yalexs-ble/pull/153),
[`f14fbee`](https://github.com/bdraco/yalexs-ble/commit/f14fbeee44682192c2f2bb2bedfc0ea8d641598d))
- Handle YaleXSBLEError while shutting down the lock connection
([#154](https://github.com/bdraco/yalexs-ble/pull/154),
[`787efa4`](https://github.com/bdraco/yalexs-ble/commit/787efa43ec95d3f6265b5d874af813fc3c937732))
### Chores
- **deps**: Bump aiohttp from 3.9.0 to 3.9.2 ([#152](https://github.com/bdraco/yalexs-ble/pull/152),
[`5317819`](https://github.com/bdraco/yalexs-ble/commit/53178192aa98372645863e712c0695d609903f61))
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
## v2.4.0 (2024-01-01)
### Chores
- Add py3.12 to the CI ([#137](https://github.com/bdraco/yalexs-ble/pull/137),
[`d8d6f86`](https://github.com/bdraco/yalexs-ble/commit/d8d6f86f14e7f2e9145d2d45df6709deca058d4a))
- Add python 3.12 to the CI ([#148](https://github.com/bdraco/yalexs-ble/pull/148),
[`22f0c0e`](https://github.com/bdraco/yalexs-ble/commit/22f0c0e6897315d23f6d685b3bcd732597a8d8e7))
- **deps**: Bump cryptography from 41.0.5 to 41.0.6
([#149](https://github.com/bdraco/yalexs-ble/pull/149),
[`40388c4`](https://github.com/bdraco/yalexs-ble/commit/40388c40668ada34f52dc0c0f5a72d1723458948))
- **deps**: Update all deps ([#147](https://github.com/bdraco/yalexs-ble/pull/147),
[`5cf6732`](https://github.com/bdraco/yalexs-ble/commit/5cf6732166e0460d4054c047d887f317df56749c))
### Features
- Make close_stale_connections_by_address available
([#150](https://github.com/bdraco/yalexs-ble/pull/150),
[`3baf07f`](https://github.com/bdraco/yalexs-ble/commit/3baf07fc03aa48db534fef11d8ecf351d5e34e98))
## v2.3.2 (2023-11-02)
### Bug Fixes
- Ensure keep alives are disabled after stop ([#146](https://github.com/bdraco/yalexs-ble/pull/146),
[`f4ec54d`](https://github.com/bdraco/yalexs-ble/commit/f4ec54d1dfa816152a44efda2871ec7cc016e433))
## v2.3.1 (2023-10-21)
### Bug Fixes
- Avoid state callbacks when nothing has changed
([#136](https://github.com/bdraco/yalexs-ble/pull/136),
[`c4d3bc8`](https://github.com/bdraco/yalexs-ble/commit/c4d3bc89d797b6a9d8e9e564f14362041e8ec265))
### Chores
- Remove sphinx ([#145](https://github.com/bdraco/yalexs-ble/pull/145),
[`9c3c4de`](https://github.com/bdraco/yalexs-ble/commit/9c3c4de6c7ffcfc5995cd0e92cab24adaaa3d6b5))
## v2.3.0 (2023-09-09)
### Features
- Switch to asyncio.timeout on py3.11+ ([#134](https://github.com/bdraco/yalexs-ble/pull/134),
[`bce9605`](https://github.com/bdraco/yalexs-ble/commit/bce9605eb49a5d03512e7875c97f8695b665ca97))
## v2.2.3 (2023-07-20)
### Bug Fixes
- Use async-interrupt to avoid race in write ([#133](https://github.com/bdraco/yalexs-ble/pull/133),
[`436f57b`](https://github.com/bdraco/yalexs-ble/commit/436f57bc230d58721c2221077f51340aa6866524))
## v2.2.2 (2023-07-20)
### Bug Fixes
- Ensure task is uncancelled when catching CancelledError and re-raising as different exception
([#132](https://github.com/bdraco/yalexs-ble/pull/132),
[`a4dc7ed`](https://github.com/bdraco/yalexs-ble/commit/a4dc7ed8c605b3996ca015109ca900aef6372b17))
## v2.2.1 (2023-07-18)
### Bug Fixes
- Ensure cancellation is propagated during write if it is not from a disconnect
([#131](https://github.com/bdraco/yalexs-ble/pull/131),
[`dd65807`](https://github.com/bdraco/yalexs-ble/commit/dd65807d5dbf42387c0e46d2836af89a9876b4e7))
## v2.2.0 (2023-07-13)
### Chores
- Bump python-semantic-release to fix release
([#130](https://github.com/bdraco/yalexs-ble/pull/130),
[`7449a13`](https://github.com/bdraco/yalexs-ble/commit/7449a130a4678f11848d1689a15d38bc97108f63))
### Features
- Refactor to avoid asyncio.wait and task creation during write
([#129](https://github.com/bdraco/yalexs-ble/pull/129),
[`ae0ea36`](https://github.com/bdraco/yalexs-ble/commit/ae0ea3609371f2383f1aa66cb1a727732300f03d))
## v2.1.18 (2023-06-13)
### Bug Fixes
- Reduce battery drain when advertisement changes frequently
([#128](https://github.com/bdraco/yalexs-ble/pull/128),
[`7f3fdfd`](https://github.com/bdraco/yalexs-ble/commit/7f3fdfd55bc4c004d89f4a377aa37d2b31d0f968))
## v2.1.17 (2023-05-16)
### Bug Fixes
- Guard against reconnecting after shutdown ([#127](https://github.com/bdraco/yalexs-ble/pull/127),
[`1499acb`](https://github.com/bdraco/yalexs-ble/commit/1499acb68fc85a660c326f237c003d0cdc8ebaf4))
## v2.1.16 (2023-04-25)
### Bug Fixes
- Handle flakey authentication with 1.3.4 firmware
([#125](https://github.com/bdraco/yalexs-ble/pull/125),
[`21d20c9`](https://github.com/bdraco/yalexs-ble/commit/21d20c9609ca08315eb2fe83e86d4aeffe0932e8))
## v2.1.15 (2023-04-25)
### Bug Fixes
- Handling of cancellation of first update ([#124](https://github.com/bdraco/yalexs-ble/pull/124),
[`a850330`](https://github.com/bdraco/yalexs-ble/commit/a850330260c3634faddb2e947cd18a446d61bef7))
## v2.1.14 (2023-03-29)
### Bug Fixes
- Skip status for door/battery/lock if an update came over unsolicited notify
([#123](https://github.com/bdraco/yalexs-ble/pull/123),
[`b41d579`](https://github.com/bdraco/yalexs-ble/commit/b41d57920374c6922ba0832a383d00954f6b0c70))
## v2.1.13 (2023-03-29)
### Bug Fixes
- Seperate door and lock status ([#121](https://github.com/bdraco/yalexs-ble/pull/121),
[`36abe23`](https://github.com/bdraco/yalexs-ble/commit/36abe238c5554427a72da35ee84a9f03194856fa))
## v2.1.12 (2023-03-27)
### Bug Fixes
- Always stop notify before shutting down the session
([#122](https://github.com/bdraco/yalexs-ble/pull/122),
[`fa7354d`](https://github.com/bdraco/yalexs-ble/commit/fa7354d95ba564f3567c9dfd4b74be0cff00d366))
## v2.1.11 (2023-03-27)
### Bug Fixes
- Implement a cooldown between commands ([#120](https://github.com/bdraco/yalexs-ble/pull/120),
[`fd81a67`](https://github.com/bdraco/yalexs-ble/commit/fd81a670e5178f8f4ef839c91fc45fd64f5074f8))
## v2.1.10 (2023-03-27)
### Bug Fixes
- Allow cancelation during update to raise ([#118](https://github.com/bdraco/yalexs-ble/pull/118),
[`b1456d5`](https://github.com/bdraco/yalexs-ble/commit/b1456d56db4aba3639f98004879c81a2932d74f2))
## v2.1.9 (2023-03-26)
### Bug Fixes
- Add some more debug logging for command execution
([#117](https://github.com/bdraco/yalexs-ble/pull/117),
[`17b58f7`](https://github.com/bdraco/yalexs-ble/commit/17b58f75b7cebc5ac4215dc44f257238c43e186a))
## v2.1.8 (2023-03-26)
### Bug Fixes
- Delay disconnect after initial sync if another sync is pending
([#116](https://github.com/bdraco/yalexs-ble/pull/116),
[`1dfdf2a`](https://github.com/bdraco/yalexs-ble/commit/1dfdf2a9479f3bc3429b53ae774868b8f53f8302))
## v2.1.7 (2023-03-26)
### Bug Fixes
- Handle bad gatt cache during sessions setup
([#115](https://github.com/bdraco/yalexs-ble/pull/115),
[`9032049`](https://github.com/bdraco/yalexs-ble/commit/9032049316bb67f9c2b6bf04c1cbfcc772045456))
## v2.1.6 (2023-03-26)
### Bug Fixes
- Force a reconnect when the lock is in a bad state
([#114](https://github.com/bdraco/yalexs-ble/pull/114),
[`ab40867`](https://github.com/bdraco/yalexs-ble/commit/ab408673b455eaad180fbaebf1f0a0bf48a2b9d0))
## v2.1.5 (2023-03-25)
### Bug Fixes
- Increase stale state debounce to 6.1s ([#113](https://github.com/bdraco/yalexs-ble/pull/113),
[`25b6c09`](https://github.com/bdraco/yalexs-ble/commit/25b6c0992ae4d4902322de03a53f16c76eeb0f20))
## v2.1.4 (2023-03-25)
### Bug Fixes
- Increase stale state debounce delay to 4.0s
([#112](https://github.com/bdraco/yalexs-ble/pull/112),
[`bb7081c`](https://github.com/bdraco/yalexs-ble/commit/bb7081cb024de689495bfc07bd8d5d3fb9934e08))
## v2.1.3 (2023-03-25)
### Bug Fixes
- Avoid updating state until 3 seconds after a lock operation to avoid stale state
([#111](https://github.com/bdraco/yalexs-ble/pull/111),
[`c4ce2a1`](https://github.com/bdraco/yalexs-ble/commit/c4ce2a1b9f0c47b2aeeacadf907eb897dc0acd68))
## v2.1.2 (2023-03-23)
### Bug Fixes
- Handle missing characteristic when reading lock info
([#110](https://github.com/bdraco/yalexs-ble/pull/110),
[`1bc667d`](https://github.com/bdraco/yalexs-ble/commit/1bc667d4d78f7f753fd2521951166c58bee412da))
## v2.1.1 (2023-03-21)
### Bug Fixes
- Hold a reference to the deferred update task to avoid GC
([#109](https://github.com/bdraco/yalexs-ble/pull/109),
[`ddb5539`](https://github.com/bdraco/yalexs-ble/commit/ddb5539327a7fb3f20fefee180f36d78ed7c4e39))
## v2.1.0 (2023-03-16)
### Features
- Switch to using cryptography ([#108](https://github.com/bdraco/yalexs-ble/pull/108),
[`8acc73c`](https://github.com/bdraco/yalexs-ble/commit/8acc73c6dba8db242f33f9896ff5f2cf92ce5a2d))
## v2.0.4 (2023-02-26)
### Bug Fixes
- Handle transient auth failures ([#107](https://github.com/bdraco/yalexs-ble/pull/107),
[`d7f8e14`](https://github.com/bdraco/yalexs-ble/commit/d7f8e14de39d2571deffed68e4ef2fb64d83bdcf))
## v2.0.3 (2023-02-23)
### Bug Fixes
- Ensure first update bluetooth errors are converted to YaleXSBLEError
([#106](https://github.com/bdraco/yalexs-ble/pull/106),
[`ab96193`](https://github.com/bdraco/yalexs-ble/commit/ab96193e4b21688ca8c91e179ca5952c84e4f3c3))
## v2.0.2 (2023-02-20)
### Bug Fixes
- Always request disconnect even if we think we are connected to fix race
([#105](https://github.com/bdraco/yalexs-ble/pull/105),
[`265fe8c`](https://github.com/bdraco/yalexs-ble/commit/265fe8c76d6b0bf31174e0d76ee22a19b52734b2))
## v2.0.1 (2023-02-17)
### Bug Fixes
- Handle the key changing after first connection
([#104](https://github.com/bdraco/yalexs-ble/pull/104),
[`f8c2b91`](https://github.com/bdraco/yalexs-ble/commit/f8c2b91a1fc5617301f9625ab43ede1e5c1d61f4))
## v2.0.0 (2023-02-08)
### Features
- Add wait_for_first_update to improve authentication error handling
([#103](https://github.com/bdraco/yalexs-ble/pull/103),
[`6af1ec8`](https://github.com/bdraco/yalexs-ble/commit/6af1ec8394a13f77225c736bcf19a6b35539ea01))
BREAKING CHANGE: wait_for_first_update needs to be called after calling start before using the lock
### Breaking Changes
- Wait_for_first_update needs to be called after calling start before using the lock
## v1.12.12 (2023-02-08)
### Bug Fixes
- Raise AuthFailed when lock drops connection due to bad key with esphome proxies
([#102](https://github.com/bdraco/yalexs-ble/pull/102),
[`c41cda5`](https://github.com/bdraco/yalexs-ble/commit/c41cda5a79578e6e1f26d28a483dbcb1f602954e))
## v1.12.11 (2023-02-07)
### Bug Fixes
- Raise AuthError when lock drops connection due to invalid key
([#101](https://github.com/bdraco/yalexs-ble/pull/101),
[`7afffc5`](https://github.com/bdraco/yalexs-ble/commit/7afffc594250e50579c344b71e02be8db2b1e6e6))
## v1.12.10 (2023-02-07)
### Bug Fixes
- Ensure ble connection is cleaned up if connection setup fails
([#98](https://github.com/bdraco/yalexs-ble/pull/98),
[`d5b34a6`](https://github.com/bdraco/yalexs-ble/commit/d5b34a637c84223ab0c9d169780610dffacd846e))
## v1.12.9 (2023-02-07)
### Bug Fixes
- Update isort to fix ci ([#99](https://github.com/bdraco/yalexs-ble/pull/99),
[`10f174b`](https://github.com/bdraco/yalexs-ble/commit/10f174ba959c21baa692116671424dcd331a86f9))
## v1.12.8 (2023-01-23)
### Bug Fixes
- Wrap the disconnect waiter for py311 asyncio.wait requirements
([#97](https://github.com/bdraco/yalexs-ble/pull/97),
[`ccb7f50`](https://github.com/bdraco/yalexs-ble/commit/ccb7f500ccae35a0735c83a30788f0a274d8685d))
## v1.12.7 (2023-01-22)
### Bug Fixes
- Improve unexpected disconnect handling ([#95](https://github.com/bdraco/yalexs-ble/pull/95),
[`7a5ee06`](https://github.com/bdraco/yalexs-ble/commit/7a5ee06142fa2f79761403307aaf16310f92f170))
## v1.12.6 (2023-01-22)
### Bug Fixes
- Handle null bytes in the model/manufacturer data
([#94](https://github.com/bdraco/yalexs-ble/pull/94),
[`6f04e4b`](https://github.com/bdraco/yalexs-ble/commit/6f04e4bc149b98ed1f9712052faa40520be7aafe))
## v1.12.5 (2022-12-23)
### Bug Fixes
- Ensure locked_writes raise after 3 failures ([#93](https://github.com/bdraco/yalexs-ble/pull/93),
[`aac8b72`](https://github.com/bdraco/yalexs-ble/commit/aac8b72628f8a719a6e890de396af74c05af0be8))
## v1.12.4 (2022-12-23)
### Bug Fixes
- Ensure we still disconnect if the write times out
([#92](https://github.com/bdraco/yalexs-ble/pull/92),
[`71655df`](https://github.com/bdraco/yalexs-ble/commit/71655df0be1b8a441e0924a87b6d00f9c10f21d7))
## v1.12.3 (2022-12-22)
### Bug Fixes
- Tell the device we are disconnecting ([#91](https://github.com/bdraco/yalexs-ble/pull/91),
[`be60b5d`](https://github.com/bdraco/yalexs-ble/commit/be60b5df42b4e23234d8aca473e081adf2244f09))
## v1.12.2 (2022-12-17)
### Bug Fixes
- Check if disconnected before writing ([#90](https://github.com/bdraco/yalexs-ble/pull/90),
[`4096eef`](https://github.com/bdraco/yalexs-ble/commit/4096eefbe85903e2602aabe3b189489fae744a55))
- Do not force a resync if previous state was unknown
([#89](https://github.com/bdraco/yalexs-ble/pull/89),
[`84d82a7`](https://github.com/bdraco/yalexs-ble/commit/84d82a7300c4e49fe08aafa414236de4a84e56dd))
## v1.12.1 (2022-12-17)
### Bug Fixes
- Free up the connection faster after first update
([#88](https://github.com/bdraco/yalexs-ble/pull/88),
[`5dfc984`](https://github.com/bdraco/yalexs-ble/commit/5dfc9844ccfb8a833574df3d94bbed06132641f3))
## v1.12.0 (2022-12-14)
### Features
- Refactor to use a timed disconnect to improve reliablity
([#87](https://github.com/bdraco/yalexs-ble/pull/87),
[`99323d8`](https://github.com/bdraco/yalexs-ble/commit/99323d8c82842c67dee7a9f60062f7c6b480069c))
## v1.11.4 (2022-12-10)
### Bug Fixes
- First update was scheduled being scheduled too late
([#86](https://github.com/bdraco/yalexs-ble/pull/86),
[`eeb0ad4`](https://github.com/bdraco/yalexs-ble/commit/eeb0ad48ee4da3544520a01780de9f217c18fe40))
## v1.11.3 (2022-12-09)
### Bug Fixes
- Adjust battery percentage based on cliff calc
([#85](https://github.com/bdraco/yalexs-ble/pull/85),
[`3e23368`](https://github.com/bdraco/yalexs-ble/commit/3e23368e746c77f9451caa484800b90612e51137))
## v1.11.2 (2022-12-09)
### Bug Fixes
- Adjust battery based on real world data ([#84](https://github.com/bdraco/yalexs-ble/pull/84),
[`b1db44f`](https://github.com/bdraco/yalexs-ble/commit/b1db44fede827899ddeedb8c6111fce200abcff6))
## v1.11.1 (2022-12-09)
### Bug Fixes
- Adjust battery curve to better fit august values
([#83](https://github.com/bdraco/yalexs-ble/pull/83),
[`0c5b888`](https://github.com/bdraco/yalexs-ble/commit/0c5b88817ff0124b2306e07b3dee50437b29295e))
## v1.11.0 (2022-12-09)
### Features
- Add battery support ([#82](https://github.com/bdraco/yalexs-ble/pull/82),
[`aeebae4`](https://github.com/bdraco/yalexs-ble/commit/aeebae47d112354851bd534bf611745a4d9e9d9a))
## v1.10.3 (2022-12-04)
### Bug Fixes
- Command execution tried to raise due to bad indent
([#81](https://github.com/bdraco/yalexs-ble/pull/81),
[`99b9c4b`](https://github.com/bdraco/yalexs-ble/commit/99b9c4b2cf66d813b335206067486e84f13ed9d9))
## v1.10.2 (2022-12-03)
### Bug Fixes
- Task leak on destruction ([#80](https://github.com/bdraco/yalexs-ble/pull/80),
[`900673c`](https://github.com/bdraco/yalexs-ble/commit/900673c2e496baae9b0fe629c5d7c0b3ca40d8bb))
## v1.10.1 (2022-12-03)
### Bug Fixes
- Detect missing characteristics and clear the cache
([#78](https://github.com/bdraco/yalexs-ble/pull/78),
[`e921bf0`](https://github.com/bdraco/yalexs-ble/commit/e921bf009120d980a2502288cb006e2421396ddb))
## v1.10.0 (2022-12-01)
### Features
- Add YaleXSBLEDiscovery class to be able to get discovery data from august cloud
([#77](https://github.com/bdraco/yalexs-ble/pull/77),
[`28da7da`](https://github.com/bdraco/yalexs-ble/commit/28da7dad7e52c80182f3b938de0eb9fda07f51b7))
## v1.9.8 (2022-11-30)
### Bug Fixes
- Improve operation reliability ([#76](https://github.com/bdraco/yalexs-ble/pull/76),
[`91f403f`](https://github.com/bdraco/yalexs-ble/commit/91f403f0fa6ace9bdfec6f5bd0694bbc124b84f0))
## v1.9.7 (2022-11-29)
### Bug Fixes
- Drop connection instead of executing shutdown
([#75](https://github.com/bdraco/yalexs-ble/pull/75),
[`6d85edf`](https://github.com/bdraco/yalexs-ble/commit/6d85edfa2ac4286a5b05582907f19119939c6a71))
## v1.9.6 (2022-11-27)
### Bug Fixes
- Un-retrieved future exceptions when canceled ([#74](https://github.com/bdraco/yalexs-ble/pull/74),
[`9c704dc`](https://github.com/bdraco/yalexs-ble/commit/9c704dc77b7791493d42621f77bbf3c51e87e75f))
## v1.9.5 (2022-10-31)
### Bug Fixes
- Lock advertisement state needs to be reset after going unavailable to ensure it becomes available
again ([#73](https://github.com/bdraco/yalexs-ble/pull/73),
[`cc1a252`](https://github.com/bdraco/yalexs-ble/commit/cc1a2529b4dd6406b71290bb83ec71fc9816cc51))
## v1.9.4 (2022-10-16)
### Bug Fixes
- Avoid logging failure when lock is already disconnected
([#72](https://github.com/bdraco/yalexs-ble/pull/72),
[`08f562b`](https://github.com/bdraco/yalexs-ble/commit/08f562b57471247f3a0ff9f3622f4ae886ed2c77))
## v1.9.3 (2022-10-15)
### Features
- Update for bleak 0.19.0 ([#71](https://github.com/bdraco/yalexs-ble/pull/71),
[`98c0265`](https://github.com/bdraco/yalexs-ble/commit/98c026543731543209be2a438e02c7ca62ff6009))
## v1.9.2 (2022-09-15)
### Bug Fixes
- Incorrect bleak-retry-connector version ([#70](https://github.com/bdraco/yalexs-ble/pull/70),
[`d9c2708`](https://github.com/bdraco/yalexs-ble/commit/d9c2708aae8fbd1a3dc1c13bc34de6010affc11f))
## v1.9.1 (2022-09-15)
### Bug Fixes
- Handle additional bleak exceptions ([#69](https://github.com/bdraco/yalexs-ble/pull/69),
[`bff64fc`](https://github.com/bdraco/yalexs-ble/commit/bff64fc296e0146f862e39e4c918ea51e516b244))
## v1.9.0 (2022-09-13)
### Features
- Update for bleak 0.17 ([#67](https://github.com/bdraco/yalexs-ble/pull/67),
[`78e00a0`](https://github.com/bdraco/yalexs-ble/commit/78e00a0615cefb5c22535f1d16eec4681c1229ad))
## v1.8.1 (2022-09-11)
### Bug Fixes
- Correct bleak-retry-connector version ([#66](https://github.com/bdraco/yalexs-ble/pull/66),
[`704b7b1`](https://github.com/bdraco/yalexs-ble/commit/704b7b17c790cc2bf890eff9d9431f45369d4fb2))
## v1.8.0 (2022-09-11)
### Features
- Implement smart back off ([#65](https://github.com/bdraco/yalexs-ble/pull/65),
[`a3e9c0a`](https://github.com/bdraco/yalexs-ble/commit/a3e9c0a171a4d9b3da464590f887bd4bc7756f68))
## v1.7.1 (2022-09-10)
### Bug Fixes
- Handle dbus already having the lock connected at startup
([#63](https://github.com/bdraco/yalexs-ble/pull/63),
[`b47b132`](https://github.com/bdraco/yalexs-ble/commit/b47b1320773a15b48ceb3fe2665e4e7b8c19c570))
## v1.7.0 (2022-09-10)
### Features
- Expose get_device api ([#62](https://github.com/bdraco/yalexs-ble/pull/62),
[`f49ca9f`](https://github.com/bdraco/yalexs-ble/commit/f49ca9fc58944cc0a971f3cc4912bca126e79637))
## v1.6.4 (2022-08-20)
### Bug Fixes
- Raise max attempts to 4 ([#61](https://github.com/bdraco/yalexs-ble/pull/61),
[`362b664`](https://github.com/bdraco/yalexs-ble/commit/362b6640ea7e76dd18585ad94dd907e13b610da0))
## v1.6.3 (2022-08-20)
### Bug Fixes
- Make sure the ble connection is disconnected if the operation is canceled
([#60](https://github.com/bdraco/yalexs-ble/pull/60),
[`62510ef`](https://github.com/bdraco/yalexs-ble/commit/62510efa6c2d4de9988f4e071984665c8ce3ebfd))
## v1.6.2 (2022-08-20)
### Bug Fixes
- Bump bleak-retry-connector ([#59](https://github.com/bdraco/yalexs-ble/pull/59),
[`309c1d7`](https://github.com/bdraco/yalexs-ble/commit/309c1d7d9d7a27123c3643b4ca2a7fadff95f668))
## v1.6.1 (2022-08-20)
### Bug Fixes
- Implement 250ms backoff on dbus error ([#58](https://github.com/bdraco/yalexs-ble/pull/58),
[`33d9954`](https://github.com/bdraco/yalexs-ble/commit/33d995496f6bf90fba55521fb0769bae2aa317c0))
## v1.6.0 (2022-08-19)
### Features
- Add support for roaming between adapters while establishing the ble connection
([#56](https://github.com/bdraco/yalexs-ble/pull/56),
[`a8885a1`](https://github.com/bdraco/yalexs-ble/commit/a8885a1b6038b9cfb272d3cc09d17c0b4f34b33f))
## v1.5.0 (2022-08-19)
### Features
- Add support for roaming between adapters while establishing the ble connection
([#55](https://github.com/bdraco/yalexs-ble/pull/55),
[`1a01c74`](https://github.com/bdraco/yalexs-ble/commit/1a01c74c8ceaf5162724ef3f3edf09bce5a3e95f))
## v1.4.0 (2022-08-13)
### Features
- Add support for the gen2 august locks ([#54](https://github.com/bdraco/yalexs-ble/pull/54),
[`47fbc46`](https://github.com/bdraco/yalexs-ble/commit/47fbc4613d7e111cc78f51794e818eb018e3c6c0))
## v1.3.2 (2022-08-12)
### Bug Fixes
- Bump bleak-retry-connector ([#53](https://github.com/bdraco/yalexs-ble/pull/53),
[`194ff6b`](https://github.com/bdraco/yalexs-ble/commit/194ff6be8812e5ac8146b43a3d7d07667c437af8))
## v1.3.1 (2022-08-12)
### Bug Fixes
- Bleak retry disconnect race fix ([#52](https://github.com/bdraco/yalexs-ble/pull/52),
[`3e2163c`](https://github.com/bdraco/yalexs-ble/commit/3e2163c66a6193ecad7d80ee557547ec5edcd306))
## v1.3.0 (2022-08-11)
## v1.2.2 (2022-08-11)
## v1.2.1 (2022-08-11)
### Bug Fixes
- Bump bleak-retry-connector>=1.7.1 to fix disconnect race
([#50](https://github.com/bdraco/yalexs-ble/pull/50),
[`1c9093f`](https://github.com/bdraco/yalexs-ble/commit/1c9093f0aa9a2a4533d8935704727089aacc308a))
- Release process ([#51](https://github.com/bdraco/yalexs-ble/pull/51),
[`e34b92f`](https://github.com/bdraco/yalexs-ble/commit/e34b92f5c7922d5fa0b5e5c18818ef3199b9b885))
## v1.2.0 (2022-08-11)
### Features
- Implement service caching ([#45](https://github.com/bdraco/yalexs-ble/pull/45),
[`b5ce3ca`](https://github.com/bdraco/yalexs-ble/commit/b5ce3ca4a4e3e088ac1ba19990351facdd8b5186))
## v1.1.3 (2022-08-11)
### Bug Fixes
- Battery drain when using dbus-broker ([#49](https://github.com/bdraco/yalexs-ble/pull/49),
[`7060e0f`](https://github.com/bdraco/yalexs-ble/commit/7060e0f615d6e232383cef6e35ad52799d78e319))
## v1.1.2 (2022-08-10)
### Bug Fixes
- Battery drain for locks that broadcast adv of 255
([#48](https://github.com/bdraco/yalexs-ble/pull/48),
[`188052b`](https://github.com/bdraco/yalexs-ble/commit/188052bcb4a182420f501ff81a38a45af7de019b))
## v1.1.1 (2022-08-07)
### Bug Fixes
- Number of arguments to secure session debug log
([#47](https://github.com/bdraco/yalexs-ble/pull/47),
[`3a6f211`](https://github.com/bdraco/yalexs-ble/commit/3a6f2117315722df1bbe76d2a91387d3d14b46c4))
## v1.1.0 (2022-08-07)
### Features
- Improve debug logging ([#46](https://github.com/bdraco/yalexs-ble/pull/46),
[`526407c`](https://github.com/bdraco/yalexs-ble/commit/526407c215689ef4b8af14931842ef3df3157773))
## v1.0.1 (2022-08-06)
### Bug Fixes
- Format strings for debug logging ([#44](https://github.com/bdraco/yalexs-ble/pull/44),
[`2295773`](https://github.com/bdraco/yalexs-ble/commit/22957735073d7ba60bbbe3c837eab1ec6b667a7b))
## v1.0.0 (2022-08-06)
### Features
- Add support for gen2 locks ([#43](https://github.com/bdraco/yalexs-ble/pull/43),
[`40d2b65`](https://github.com/bdraco/yalexs-ble/commit/40d2b652d1e67be352e642ff73c417afaedd61cc))
BREAKING CHANGE: The arguments for PushLock are now all keyword. Either a unique local_name or an
address must be provided
### Breaking Changes
- The arguments for PushLock are now all keyword. Either a unique local_name or an address must be
provided
## v0.21.0 (2022-08-06)
### Features
- Tweak debounce to see door close/open faster ([#42](https://github.com/bdraco/yalexs-ble/pull/42),
[`ee78cdb`](https://github.com/bdraco/yalexs-ble/commit/ee78cdb24779e6f2d210b598d29d2a4b78b425ce))
## v0.20.0 (2022-08-05)
### Features
- Cancel an update in progress on lock/unlock ([#41](https://github.com/bdraco/yalexs-ble/pull/41),
[`d1905ae`](https://github.com/bdraco/yalexs-ble/commit/d1905ae2ea75cc47ee794cc413a90727df17774c))
## v0.19.0 (2022-08-05)
### Features
- Cancel previous lock/unlock requests when a new one comes in
([#40](https://github.com/bdraco/yalexs-ble/pull/40),
[`4b670d5`](https://github.com/bdraco/yalexs-ble/commit/4b670d53c62bd45f85b0a48f6bd7ac7d62cbbd02))
## v0.18.1 (2022-08-04)
### Bug Fixes
- Only validate callback_state if there are callbacks
([#39](https://github.com/bdraco/yalexs-ble/pull/39),
[`c368456`](https://github.com/bdraco/yalexs-ble/commit/c368456b2cdd855d327e4b984fb2d3a9d4ebc845))
## v0.18.0 (2022-08-04)
### Features
- Small cleanups ([#38](https://github.com/bdraco/yalexs-ble/pull/38),
[`26c6c79`](https://github.com/bdraco/yalexs-ble/commit/26c6c795b7fb5c4870d5c9de587361d7b49f75b2))
## v0.17.1 (2022-08-04)
### Bug Fixes
- Wrap BleakError as DisconnectedError on disconnect from write
([#37](https://github.com/bdraco/yalexs-ble/pull/37),
[`30d0a7e`](https://github.com/bdraco/yalexs-ble/commit/30d0a7ef9105ce032949e9fbd4621fb9929861b9))
## v0.17.0 (2022-08-03)
### Features
- Expose bledevice ([#36](https://github.com/bdraco/yalexs-ble/pull/36),
[`476abea`](https://github.com/bdraco/yalexs-ble/commit/476abea9393900d5a858b1beb1ef6ba7b9f1bb35))
## v0.16.0 (2022-08-03)
### Features
- Throw disconnected error if lock disconnects us
([#35](https://github.com/bdraco/yalexs-ble/pull/35),
[`c1bcf62`](https://github.com/bdraco/yalexs-ble/commit/c1bcf620dbd0270a13a4de79f3dc41aaef28f86d))
## v0.15.1 (2022-08-03)
### Bug Fixes
- Do not keep retrying 10x more time if the lock cannot be found
([#34](https://github.com/bdraco/yalexs-ble/pull/34),
[`704f7bb`](https://github.com/bdraco/yalexs-ble/commit/704f7bb03e40345e6e4c8cae79ae7aeb0b9dc9b8))
## v0.15.0 (2022-08-03)
### Features
- Add validate function to check creds ([#33](https://github.com/bdraco/yalexs-ble/pull/33),
[`aadfc76`](https://github.com/bdraco/yalexs-ble/commit/aadfc765618af19b357feab98781c58667a5f8b3))
## v0.14.0 (2022-08-03)
### Features
- Improve error reporting ([#32](https://github.com/bdraco/yalexs-ble/pull/32),
[`d81121d`](https://github.com/bdraco/yalexs-ble/commit/d81121dbc367320b2e80db79715536ecc24f1a6c))
## v0.13.0 (2022-08-03)
### Features
- Tweak update times to improve responsiveness
([`be2278c`](https://github.com/bdraco/yalexs-ble/commit/be2278cf8d75ca23b60f4f0e52345bf24674575b))
- Tweak update times to improve responsiveness
([`b47121c`](https://github.com/bdraco/yalexs-ble/commit/b47121cc1054c001a7e4b7bcc797c6991db95d64))
## v0.12.1 (2022-08-02)
### Bug Fixes
- Double update when adv and homekit update at the same time
([#31](https://github.com/bdraco/yalexs-ble/pull/31),
[`760e429`](https://github.com/bdraco/yalexs-ble/commit/760e42984461ae086599d9fc60395f50d2facffd))
## v0.12.0 (2022-08-02)
### Features
- Add manual update request ([#30](https://github.com/bdraco/yalexs-ble/pull/30),
[`26c49a7`](https://github.com/bdraco/yalexs-ble/commit/26c49a7ae7a1ec53c82f4aa20b3c7dcd52a807b6))
## v0.11.0 (2022-08-02)
### Features
- Speed up first update ([#29](https://github.com/bdraco/yalexs-ble/pull/29),
[`764894b`](https://github.com/bdraco/yalexs-ble/commit/764894b7400163eefcddf3b846f6365827efa7db))
## v0.10.0 (2022-08-02)
### Features
- Add connection information ([#28](https://github.com/bdraco/yalexs-ble/pull/28),
[`36ff430`](https://github.com/bdraco/yalexs-ble/commit/36ff4300f332a8e1a2e1dc37fdfecf6e646fe0b0))
## v0.9.5 (2022-08-02)
### Bug Fixes
- Debounced updates ([#27](https://github.com/bdraco/yalexs-ble/pull/27),
[`a9ce949`](https://github.com/bdraco/yalexs-ble/commit/a9ce949dc8b71992d8d5d5116c227ab5e39597b3))
## v0.9.4 (2022-08-02)
### Bug Fixes
- Race in the operation locking ([#26](https://github.com/bdraco/yalexs-ble/pull/26),
[`ccb3653`](https://github.com/bdraco/yalexs-ble/commit/ccb36530bbd936b875f91579a2e1d661b0c7e13f))
## v0.9.3 (2022-08-02)
### Bug Fixes
- Ensure adv updates are processed ([#25](https://github.com/bdraco/yalexs-ble/pull/25),
[`b655379`](https://github.com/bdraco/yalexs-ble/commit/b655379b93fd6a8b5c54871699f35613c627391c))
## v0.9.2 (2022-08-02)
### Bug Fixes
- Schedule race ([#24](https://github.com/bdraco/yalexs-ble/pull/24),
[`6a5d4cd`](https://github.com/bdraco/yalexs-ble/commit/6a5d4cda45c8286a5b891ef587ff4e0f577a7aaa))
## v0.9.1 (2022-08-02)
### Bug Fixes
- Ensure homekit updates take precedence ([#23](https://github.com/bdraco/yalexs-ble/pull/23),
[`6897092`](https://github.com/bdraco/yalexs-ble/commit/6897092ea6b7a0b5cc8fe1d36e43ed1dda6b37ae))
## v0.9.0 (2022-08-02)
### Features
- Add lock_info property ([#22](https://github.com/bdraco/yalexs-ble/pull/22),
[`ac7f956`](https://github.com/bdraco/yalexs-ble/commit/ac7f956cc10753fe1f7e093c95846541912003aa))
## v0.8.0 (2022-08-02)
### Features
- Add lock info ([#21](https://github.com/bdraco/yalexs-ble/pull/21),
[`6bd635d`](https://github.com/bdraco/yalexs-ble/commit/6bd635d1d055d86a26534cc0b0c761388b417dac))
## v0.7.1 (2022-08-02)
### Bug Fixes
- Defer updates for 10s when there is an update storm
([#20](https://github.com/bdraco/yalexs-ble/pull/20),
[`142a5c8`](https://github.com/bdraco/yalexs-ble/commit/142a5c8a0f1a2545cccc857c2bbd43779564cafc))
## v0.7.0 (2022-07-28)
### Features
- Coalesce updates ([#19](https://github.com/bdraco/yalexs-ble/pull/19),
[`9f5fe74`](https://github.com/bdraco/yalexs-ble/commit/9f5fe74c77d5705d1b6f9e19f4ae177619653895))
## v0.6.1 (2022-07-28)
### Bug Fixes
- Handle disconnect race ([#18](https://github.com/bdraco/yalexs-ble/pull/18),
[`ecd6916`](https://github.com/bdraco/yalexs-ble/commit/ecd691621527144cd1b859090d4182956421e113))
## v0.6.0 (2022-07-28)
### Features
- Speed up init ([#17](https://github.com/bdraco/yalexs-ble/pull/17),
[`61f3fbc`](https://github.com/bdraco/yalexs-ble/commit/61f3fbc65bae5386f16e2b1609f7f4666660a6a6))
## v0.5.1 (2022-07-27)
### Bug Fixes
- Error handling for d-bus ([#16](https://github.com/bdraco/yalexs-ble/pull/16),
[`a4c92a0`](https://github.com/bdraco/yalexs-ble/commit/a4c92a056f5ac58877166189a71ffea9fabeac75))
## v0.5.0 (2022-07-27)
### Features
- Expose lock state ([#15](https://github.com/bdraco/yalexs-ble/pull/15),
[`2384592`](https://github.com/bdraco/yalexs-ble/commit/2384592dafdc3a9f79a0f98bcdb42b675da403a1))
## v0.4.3 (2022-07-27)
### Bug Fixes
- Add dbus error handler ([#14](https://github.com/bdraco/yalexs-ble/pull/14),
[`2046a95`](https://github.com/bdraco/yalexs-ble/commit/2046a95240c4cf40dfcb923b55b3f9d404698422))
## v0.4.2 (2022-07-27)
### Bug Fixes
- Error reporting ([#13](https://github.com/bdraco/yalexs-ble/pull/13),
[`e7822cf`](https://github.com/bdraco/yalexs-ble/commit/e7822cf483df07b9611a9bab1c4f35b7eb6cc2d8))
## v0.4.1 (2022-07-27)
### Bug Fixes
- Cancel lock status update when unlocking/locking
([#12](https://github.com/bdraco/yalexs-ble/pull/12),
[`1c08fb6`](https://github.com/bdraco/yalexs-ble/commit/1c08fb68ccc360fac7d1c64bd24390819a548db2))
## v0.4.0 (2022-07-27)
### Features
- Start now return a cancel callable ([#11](https://github.com/bdraco/yalexs-ble/pull/11),
[`5ff3a36`](https://github.com/bdraco/yalexs-ble/commit/5ff3a36d8a7a0b3720f4ca5022d5bef48f5d712b))
## v0.3.1 (2022-07-27)
### Bug Fixes
- Add missing imports ([#10](https://github.com/bdraco/yalexs-ble/pull/10),
[`4a76d51`](https://github.com/bdraco/yalexs-ble/commit/4a76d5103e8b1d26469847cc7afe1bf7ca9ddaa5))
## v0.3.0 (2022-07-27)
### Features
- Add serial number helpers ([#9](https://github.com/bdraco/yalexs-ble/pull/9),
[`3d532dc`](https://github.com/bdraco/yalexs-ble/commit/3d532dc36b0ab53c47762ccdccffb8452c36be75))
## v0.2.0 (2022-07-27)
### Features
- Change example to use serial number ([#8](https://github.com/bdraco/yalexs-ble/pull/8),
[`696cd0e`](https://github.com/bdraco/yalexs-ble/commit/696cd0e1d4a9990bf25780e627ebd700c595bf75))
## v0.1.2 (2022-07-27)
### Bug Fixes
- Unlock and lock calls without force ([#7](https://github.com/bdraco/yalexs-ble/pull/7),
[`c660cbb`](https://github.com/bdraco/yalexs-ble/commit/c660cbb0913579fdb4306abaf8c14917e6a458eb))
## v0.1.1 (2022-07-27)
### Bug Fixes
- Ci ([#5](https://github.com/bdraco/yalexs-ble/pull/5),
[`9f721c2`](https://github.com/bdraco/yalexs-ble/commit/9f721c254f13c42f077124315bd986067c6c1254))
- Fix release process ([#6](https://github.com/bdraco/yalexs-ble/pull/6),
[`551ebc6`](https://github.com/bdraco/yalexs-ble/commit/551ebc6d0f566ddd97d2a4d4cdfd17a943ffabc0))
## v0.1.0 (2022-07-27)
### Features
- First release ([#4](https://github.com/bdraco/yalexs-ble/pull/4),
[`234e06d`](https://github.com/bdraco/yalexs-ble/commit/234e06dc3c822cb7219e8dfcd5493989aa8aa2dc))
## v0.0.1 (2022-07-26)
### Chores
- Initial commit
([`61fb738`](https://github.com/bdraco/yalexs-ble/commit/61fb738395301580b7b1802b7dc6365298294894))
### Features
- Add example of watching for updates ([#3](https://github.com/bdraco/yalexs-ble/pull/3),
[`0b67d4f`](https://github.com/bdraco/yalexs-ble/commit/0b67d4f651df79975eab6c81f8a4c71bf14bae61))
- Add support for door status ([#2](https://github.com/bdraco/yalexs-ble/pull/2),
[`72a2ac8`](https://github.com/bdraco/yalexs-ble/commit/72a2ac89ef443189a413460faefde91ae03b27ea))
- Init commit ([#1](https://github.com/bdraco/yalexs-ble/pull/1),
[`ef7d342`](https://github.com/bdraco/yalexs-ble/commit/ef7d3426adf063e429790ea5dc3f35ceafe4c27d))
yalexs-ble-3.0.0/CONTRIBUTING.md 0000664 0000000 0000000 00000007425 15005200656 0016017 0 ustar 00root root 0000000 0000000 # Contributing
Contributions are welcome, and they are greatly appreciated! Every little helps, and credit will always be given.
You can contribute in many ways:
## Types of Contributions
### Report Bugs
Report bugs to [our issue page][gh-issues]. If you are reporting a bug, please include:
- Your operating system name and version.
- Any details about your local setup that might be helpful in troubleshooting.
- Detailed steps to reproduce the bug.
### Fix Bugs
Look through the GitHub issues for bugs. Anything tagged with "bug" and "help wanted" is open to whoever wants to implement it.
### Implement Features
Look through the GitHub issues for features. Anything tagged with "enhancement" and "help wanted" is open to whoever wants to implement it.
### Write Documentation
Yale Access BLE could always use more documentation, whether as part of the official Yale Access BLE docs, in docstrings, or even on the web in blog posts, articles, and such.
### Submit Feedback
The best way to send feedback [our issue page][gh-issues] on GitHub. If you are proposing a feature:
- Explain in detail how it would work.
- Keep the scope as narrow as possible, to make it easier to implement.
- Remember that this is a volunteer-driven project, and that contributions are welcome 😊
## Get Started!
Ready to contribute? Here's how to set yourself up for local development.
1. Fork the repo on GitHub.
2. Clone your fork locally:
```shell
$ git clone git@github.com:your_name_here/yalexs-ble.git
```
3. Install the project dependencies with [Poetry](https://python-poetry.org):
```shell
$ poetry install
```
4. Create a branch for local development:
```shell
$ git checkout -b name-of-your-bugfix-or-feature
```
Now you can make your changes locally.
5. When you're done making changes, check that your changes pass our tests:
```shell
$ poetry run pytest
```
6. Linting is done through [pre-commit](https://pre-commit.com). Provided you have the tool installed globally, you can run them all as one-off:
```shell
$ pre-commit run -a
```
Or better, install the hooks once and have them run automatically each time you commit:
```shell
$ pre-commit install
```
7. Commit your changes and push your branch to GitHub:
```shell
$ git add .
$ git commit -m "feat(something): your detailed description of your changes"
$ git push origin name-of-your-bugfix-or-feature
```
Note: the commit message should follow [the conventional commits](https://www.conventionalcommits.org). We run [`commitlint` on CI](https://github.com/marketplace/actions/commit-linter) to validate it, and if you've installed pre-commit hooks at the previous step, the message will be checked at commit time.
8. Submit a pull request through the GitHub website or using the GitHub CLI (if you have it installed):
```shell
$ gh pr create --fill
```
## Pull Request Guidelines
We like to have the pull request open as soon as possible, that's a great place to discuss any piece of work, even unfinished. You can use draft pull request if it's still a work in progress. Here are a few guidelines to follow:
1. Include tests for feature or bug fixes.
2. Update the documentation for significant features.
3. Ensure tests are passing on CI.
## Tips
To run a subset of tests:
```shell
$ pytest tests
```
## Making a new release
The deployment should be automated and can be triggered from the Semantic Release workflow in GitHub. The next version will be based on [the commit logs](https://python-semantic-release.readthedocs.io/en/latest/commit-log-parsing.html#commit-log-parsing). This is done by [python-semantic-release](https://python-semantic-release.readthedocs.io/en/latest/index.html) via a GitHub action.
[gh-issues]: https://github.com/bdraco/yalexs-ble/issues
yalexs-ble-3.0.0/LICENSE 0000664 0000000 0000000 00000105757 15005200656 0014602 0 ustar 00root root 0000000 0000000 GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
Copyright (C)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see .
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
Copyright (C)
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
.
yalexs-ble-3.0.0/README.md 0000664 0000000 0000000 00000007117 15005200656 0015043 0 ustar 00root root 0000000 0000000 # Yale Access BLE
Bluetooth control of Yale and August locks
## Installation
Install this via pip (or your favourite package manager):
`pip install yalexs-ble`
## Fork history
Thanks to:
https://github.com/Friendly0Fire/augustpy
https://github.com/terrcin/augustctl
https://github.com/ethitter/augustctl
https://github.com/robson83/augustctl
## Contributors ✨
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!
## Credits
This package was created with
[Cookiecutter](https://github.com/audreyr/cookiecutter) and the
[browniebroke/cookiecutter-pypackage](https://github.com/browniebroke/cookiecutter-pypackage)
project template.
yalexs-ble-3.0.0/commitlint.config.mjs 0000664 0000000 0000000 00000000362 15005200656 0017715 0 ustar 00root root 0000000 0000000 export default {
extends: ["@commitlint/config-conventional"],
rules: {
"header-max-length": [0, "always", Infinity],
"body-max-line-length": [0, "always", Infinity],
"footer-max-line-length": [0, "always", Infinity],
},
};
yalexs-ble-3.0.0/docs/ 0000775 0000000 0000000 00000000000 15005200656 0014506 5 ustar 00root root 0000000 0000000 yalexs-ble-3.0.0/docs/Makefile 0000664 0000000 0000000 00000001175 15005200656 0016152 0 ustar 00root root 0000000 0000000 # Minimal makefile for Sphinx documentation
#
# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = source
BUILDDIR = build
# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
.PHONY: help Makefile
# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
yalexs-ble-3.0.0/docs/make.bat 0000664 0000000 0000000 00000001374 15005200656 0016120 0 ustar 00root root 0000000 0000000 @ECHO OFF
pushd %~dp0
REM Command file for Sphinx documentation
if "%SPHINXBUILD%" == "" (
set SPHINXBUILD=sphinx-build
)
set SOURCEDIR=source
set BUILDDIR=build
if "%1" == "" goto help
%SPHINXBUILD% >NUL 2>NUL
if errorlevel 9009 (
echo.
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx
echo.installed, then set the SPHINXBUILD environment variable to point
echo.to the full path of the 'sphinx-build' executable. Alternatively you
echo.may add the Sphinx directory to PATH.
echo.
echo.If you don't have Sphinx installed, grab it from
echo.http://sphinx-doc.org/
exit /b 1
)
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
goto end
:help
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
:end
popd
yalexs-ble-3.0.0/docs/source/ 0000775 0000000 0000000 00000000000 15005200656 0016006 5 ustar 00root root 0000000 0000000 yalexs-ble-3.0.0/docs/source/_static/ 0000775 0000000 0000000 00000000000 15005200656 0017434 5 ustar 00root root 0000000 0000000 yalexs-ble-3.0.0/docs/source/_static/.gitkeep 0000664 0000000 0000000 00000000000 15005200656 0021053 0 ustar 00root root 0000000 0000000 yalexs-ble-3.0.0/docs/source/changelog.md 0000664 0000000 0000000 00000000045 15005200656 0020256 0 ustar 00root root 0000000 0000000 ```{include} ../../CHANGELOG.md
```
yalexs-ble-3.0.0/docs/source/conf.py 0000664 0000000 0000000 00000003657 15005200656 0017320 0 ustar 00root root 0000000 0000000 # Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Path setup --------------------------------------------------------------
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
# import os
# import sys
# sys.path.insert(0, os.path.abspath('.'))
from typing import Any, List
# -- Project information -----------------------------------------------------
project = "Yale Access BLE"
copyright = "2020, J. Nick Koston"
author = "J. Nick Koston"
# -- General configuration ---------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = [
"myst_parser",
]
# The suffix of source filenames.
source_suffix = [".rst", ".md"]
# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns: List[Any] = []
# -- Options for HTML output -------------------------------------------------
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
html_theme = "sphinx_rtd_theme"
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ["_static"]
yalexs-ble-3.0.0/docs/source/contributing.md 0000664 0000000 0000000 00000000050 15005200656 0021032 0 ustar 00root root 0000000 0000000 ```{include} ../../CONTRIBUTING.md
```
yalexs-ble-3.0.0/docs/source/index.md 0000664 0000000 0000000 00000000357 15005200656 0017444 0 ustar 00root root 0000000 0000000 # Welcome to Yale Access BLE documentation!
```{toctree}
:caption: Installation & Usage
:maxdepth: 2
installation
usage
```
```{toctree}
:caption: Project Info
:maxdepth: 2
changelog
contributing
```
```{include} ../../README.md
```
yalexs-ble-3.0.0/docs/source/installation.md 0000664 0000000 0000000 00000000265 15005200656 0021034 0 ustar 00root root 0000000 0000000 # Installation
The package is published on [PyPI](https://pypi.org/project/deezer-python/) and can be installed with `pip` (or any equivalent):
```bash
pip install yalexs-ble
```
yalexs-ble-3.0.0/docs/source/usage.md 0000664 0000000 0000000 00000000140 15005200656 0017427 0 ustar 00root root 0000000 0000000 # Usage
To use this package, import it:
```python
import yalexs_ble
```
TODO: Document usage
yalexs-ble-3.0.0/examples/ 0000775 0000000 0000000 00000000000 15005200656 0015374 5 ustar 00root root 0000000 0000000 yalexs-ble-3.0.0/examples/run.py 0000664 0000000 0000000 00000003116 15005200656 0016553 0 ustar 00root root 0000000 0000000 import asyncio
import logging
from bleak import BleakScanner
from yalexs_ble import LockState, PushLock, serial_to_local_name
from yalexs_ble.const import ConnectionInfo, LockInfo
_LOGGER = logging.getLogger(__name__)
LOCK_SERIAL = None
LOCK_KEY = None
LOCK_KEY_INDEX = None
assert isinstance(LOCK_SERIAL, str) # nosec
assert isinstance(LOCK_KEY, str) # type: ignore[unreachable] # nosec
assert isinstance(LOCK_KEY_INDEX, int) # nosec
async def run():
push_lock = PushLock(
serial_to_local_name(LOCK_SERIAL), key=LOCK_KEY, key_index=LOCK_KEY_INDEX
)
_LOGGER.info("Expected local_name: %s", push_lock.local_name)
scanner = BleakScanner()
def new_state(
new_state: LockState, lock_info: LockInfo, connection_info: ConnectionInfo
) -> None:
_LOGGER.info(
"New state: %s, lock_info: %s, connection_info: %s",
new_state,
lock_info,
connection_info,
)
cancel_callback = push_lock.register_callback(new_state)
scanner.register_detection_callback(push_lock.update_advertisement)
await scanner.start()
cancel = await push_lock.start()
_LOGGER.info(
"Started, waiting for lock to be discovered with local_name: %s",
push_lock.local_name,
)
await push_lock.wait_for_first_update(10000)
await asyncio.sleep(1000000)
cancel_callback()
cancel()
await scanner.stop()
logging.basicConfig(level=logging.INFO)
logging.getLogger("yalexs_ble").setLevel(logging.DEBUG)
logging.getLogger("bleak_retry_connector").setLevel(logging.DEBUG)
asyncio.run(run())
yalexs-ble-3.0.0/poetry.lock 0000664 0000000 0000000 00000302177 15005200656 0015764 0 ustar 00root root 0000000 0000000 # This file is automatically @generated by Poetry 2.1.1 and should not be changed by hand.
[[package]]
name = "aiooui"
version = "0.1.9"
description = "Async OUI lookups"
optional = false
python-versions = "<4.0,>=3.9"
groups = ["main"]
markers = "platform_system == \"Linux\""
files = [
{file = "aiooui-0.1.9-cp310-cp310-manylinux_2_31_x86_64.whl", hash = "sha256:64d904b43f14dd1d8d9fcf1684d9e2f558bc5e0bd68dc10023c93355c9027907"},
{file = "aiooui-0.1.9-py3-none-any.whl", hash = "sha256:737a5e62d8726540218c2b70e5f966d9912121e4644f3d490daf8f3c18b182e5"},
{file = "aiooui-0.1.9.tar.gz", hash = "sha256:e8c8bc59ab352419e0747628b4cce7c4e04d492574c1971e223401126389c5d8"},
]
[[package]]
name = "async-interrupt"
version = "1.2.2"
description = "Context manager to raise an exception when a future is done"
optional = false
python-versions = ">=3.9"
groups = ["main"]
files = [
{file = "async_interrupt-1.2.2-py3-none-any.whl", hash = "sha256:0a8deb884acfb5fe55188a693ae8a4381bbbd2cb6e670dac83869489513eec2c"},
{file = "async_interrupt-1.2.2.tar.gz", hash = "sha256:be4331a029b8625777905376a6dc1370984c8c810f30b79703f3ee039d262bf7"},
]
[[package]]
name = "async-timeout"
version = "4.0.3"
description = "Timeout context manager for asyncio programs"
optional = false
python-versions = ">=3.7"
groups = ["main"]
markers = "python_version < \"3.11\""
files = [
{file = "async-timeout-4.0.3.tar.gz", hash = "sha256:4640d96be84d82d02ed59ea2b7105a0f7b33abe8703703cd0ab0bf87c427522f"},
{file = "async_timeout-4.0.3-py3-none-any.whl", hash = "sha256:7405140ff1230c310e51dc27b3145b9092d659ce68ff733fb0cefe3ee42be028"},
]
[[package]]
name = "bleak"
version = "0.22.3"
description = "Bluetooth Low Energy platform Agnostic Klient"
optional = false
python-versions = "<3.14,>=3.8"
groups = ["main"]
files = [
{file = "bleak-0.22.3-py3-none-any.whl", hash = "sha256:1e62a9f5e0c184826e6c906e341d8aca53793e4596eeaf4e0b191e7aca5c461c"},
{file = "bleak-0.22.3.tar.gz", hash = "sha256:3149c3c19657e457727aa53d9d6aeb89658495822cd240afd8aeca4dd09c045c"},
]
[package.dependencies]
async-timeout = {version = ">=3.0.0,<5", markers = "python_version < \"3.11\""}
bleak-winrt = {version = ">=1.2.0,<2.0.0", markers = "platform_system == \"Windows\" and python_version < \"3.12\""}
dbus-fast = {version = ">=1.83.0,<3", markers = "platform_system == \"Linux\""}
pyobjc-core = {version = ">=10.3,<11.0", markers = "platform_system == \"Darwin\""}
pyobjc-framework-CoreBluetooth = {version = ">=10.3,<11.0", markers = "platform_system == \"Darwin\""}
pyobjc-framework-libdispatch = {version = ">=10.3,<11.0", markers = "platform_system == \"Darwin\""}
typing-extensions = {version = ">=4.7.0", markers = "python_version < \"3.12\""}
winrt-runtime = {version = ">=2,<3", markers = "platform_system == \"Windows\" and python_version >= \"3.12\""}
"winrt-Windows.Devices.Bluetooth" = {version = ">=2,<3", markers = "platform_system == \"Windows\" and python_version >= \"3.12\""}
"winrt-Windows.Devices.Bluetooth.Advertisement" = {version = ">=2,<3", markers = "platform_system == \"Windows\" and python_version >= \"3.12\""}
"winrt-Windows.Devices.Bluetooth.GenericAttributeProfile" = {version = ">=2,<3", markers = "platform_system == \"Windows\" and python_version >= \"3.12\""}
"winrt-Windows.Devices.Enumeration" = {version = ">=2,<3", markers = "platform_system == \"Windows\" and python_version >= \"3.12\""}
"winrt-Windows.Foundation" = {version = ">=2,<3", markers = "platform_system == \"Windows\" and python_version >= \"3.12\""}
"winrt-Windows.Foundation.Collections" = {version = ">=2,<3", markers = "platform_system == \"Windows\" and python_version >= \"3.12\""}
"winrt-Windows.Storage.Streams" = {version = ">=2,<3", markers = "platform_system == \"Windows\" and python_version >= \"3.12\""}
[[package]]
name = "bleak-retry-connector"
version = "3.10.0"
description = "A connector for Bleak Clients that handles transient connection failures"
optional = false
python-versions = ">=3.10"
groups = ["main"]
files = [
{file = "bleak_retry_connector-3.10.0-py3-none-any.whl", hash = "sha256:caaf976320ef280f1145b557bf3b13697f71ef2c1070e1dc643709eb2d29fb1f"},
{file = "bleak_retry_connector-3.10.0.tar.gz", hash = "sha256:a95172bd56d2af677fb9e250291cde8c70d8f72381d423f64e48c828dffbc93b"},
]
[package.dependencies]
async-timeout = {version = ">=3.0.0", markers = "python_version < \"3.11\""}
bleak = {version = ">=0.21.0", markers = "python_version >= \"3.10\" and python_version < \"3.14\""}
bluetooth-adapters = {version = ">=0.15.2", markers = "python_version >= \"3.10\" and python_version < \"3.14\" and platform_system == \"Linux\""}
dbus-fast = {version = ">=1.14.0", markers = "platform_system == \"Linux\""}
[[package]]
name = "bleak-winrt"
version = "1.2.0"
description = "Python WinRT bindings for Bleak"
optional = false
python-versions = "*"
groups = ["main"]
markers = "platform_system == \"Windows\" and python_version < \"3.12\""
files = [
{file = "bleak-winrt-1.2.0.tar.gz", hash = "sha256:0577d070251b9354fc6c45ffac57e39341ebb08ead014b1bdbd43e211d2ce1d6"},
{file = "bleak_winrt-1.2.0-cp310-cp310-win32.whl", hash = "sha256:a2ae3054d6843ae0cfd3b94c83293a1dfd5804393977dd69bde91cb5099fc47c"},
{file = "bleak_winrt-1.2.0-cp310-cp310-win_amd64.whl", hash = "sha256:677df51dc825c6657b3ae94f00bd09b8ab88422b40d6a7bdbf7972a63bc44e9a"},
{file = "bleak_winrt-1.2.0-cp311-cp311-win32.whl", hash = "sha256:9449cdb942f22c9892bc1ada99e2ccce9bea8a8af1493e81fefb6de2cb3a7b80"},
{file = "bleak_winrt-1.2.0-cp311-cp311-win_amd64.whl", hash = "sha256:98c1b5a6a6c431ac7f76aa4285b752fe14a1c626bd8a1dfa56f66173ff120bee"},
{file = "bleak_winrt-1.2.0-cp37-cp37m-win32.whl", hash = "sha256:623ac511696e1f58d83cb9c431e32f613395f2199b3db7f125a3d872cab968a4"},
{file = "bleak_winrt-1.2.0-cp37-cp37m-win_amd64.whl", hash = "sha256:13ab06dec55469cf51a2c187be7b630a7a2922e1ea9ac1998135974a7239b1e3"},
{file = "bleak_winrt-1.2.0-cp38-cp38-win32.whl", hash = "sha256:5a36ff8cd53068c01a795a75d2c13054ddc5f99ce6de62c1a97cd343fc4d0727"},
{file = "bleak_winrt-1.2.0-cp38-cp38-win_amd64.whl", hash = "sha256:810c00726653a962256b7acd8edf81ab9e4a3c66e936a342ce4aec7dbd3a7263"},
{file = "bleak_winrt-1.2.0-cp39-cp39-win32.whl", hash = "sha256:dd740047a08925bde54bec357391fcee595d7b8ca0c74c87170a5cbc3f97aa0a"},
{file = "bleak_winrt-1.2.0-cp39-cp39-win_amd64.whl", hash = "sha256:63130c11acfe75c504a79c01f9919e87f009f5e742bfc7b7a5c2a9c72bf591a7"},
]
[[package]]
name = "bluetooth-adapters"
version = "0.21.4"
description = "Tools to enumerate and find Bluetooth Adapters"
optional = false
python-versions = ">=3.9"
groups = ["main"]
markers = "platform_system == \"Linux\""
files = [
{file = "bluetooth_adapters-0.21.4-py3-none-any.whl", hash = "sha256:ce2e8139cc9d7b103c21654c6309507979e469aae3efebcaeee9923080b0569b"},
{file = "bluetooth_adapters-0.21.4.tar.gz", hash = "sha256:a5a809ef7ba95ee673a78704f90ce34612deb3696269d1a6fd61f98642b99dd3"},
]
[package.dependencies]
aiooui = ">=0.1.1"
async-timeout = {version = ">=3.0.0", markers = "python_version < \"3.11\""}
bleak = ">=0.21.1"
dbus-fast = {version = ">=1.21.0", markers = "platform_system == \"Linux\""}
uart-devices = ">=0.1.0"
usb-devices = ">=0.4.5"
[package.extras]
docs = ["Sphinx (>=5,<8)", "myst-parser (>=0.18,<3.1)", "sphinx-rtd-theme (>=1,<4)"]
[[package]]
name = "cffi"
version = "1.17.1"
description = "Foreign Function Interface for Python calling C code."
optional = false
python-versions = ">=3.8"
groups = ["main"]
markers = "platform_python_implementation != \"PyPy\""
files = [
{file = "cffi-1.17.1-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:df8b1c11f177bc2313ec4b2d46baec87a5f3e71fc8b45dab2ee7cae86d9aba14"},
{file = "cffi-1.17.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:8f2cdc858323644ab277e9bb925ad72ae0e67f69e804f4898c070998d50b1a67"},
{file = "cffi-1.17.1-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:edae79245293e15384b51f88b00613ba9f7198016a5948b5dddf4917d4d26382"},
{file = "cffi-1.17.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:45398b671ac6d70e67da8e4224a065cec6a93541bb7aebe1b198a61b58c7b702"},
{file = "cffi-1.17.1-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:ad9413ccdeda48c5afdae7e4fa2192157e991ff761e7ab8fdd8926f40b160cc3"},
{file = "cffi-1.17.1-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:5da5719280082ac6bd9aa7becb3938dc9f9cbd57fac7d2871717b1feb0902ab6"},
{file = "cffi-1.17.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:2bb1a08b8008b281856e5971307cc386a8e9c5b625ac297e853d36da6efe9c17"},
{file = "cffi-1.17.1-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:045d61c734659cc045141be4bae381a41d89b741f795af1dd018bfb532fd0df8"},
{file = "cffi-1.17.1-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:6883e737d7d9e4899a8a695e00ec36bd4e5e4f18fabe0aca0efe0a4b44cdb13e"},
{file = "cffi-1.17.1-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:6b8b4a92e1c65048ff98cfe1f735ef8f1ceb72e3d5f0c25fdb12087a23da22be"},
{file = "cffi-1.17.1-cp310-cp310-win32.whl", hash = "sha256:c9c3d058ebabb74db66e431095118094d06abf53284d9c81f27300d0e0d8bc7c"},
{file = "cffi-1.17.1-cp310-cp310-win_amd64.whl", hash = "sha256:0f048dcf80db46f0098ccac01132761580d28e28bc0f78ae0d58048063317e15"},
{file = "cffi-1.17.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:a45e3c6913c5b87b3ff120dcdc03f6131fa0065027d0ed7ee6190736a74cd401"},
{file = "cffi-1.17.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:30c5e0cb5ae493c04c8b42916e52ca38079f1b235c2f8ae5f4527b963c401caf"},
{file = "cffi-1.17.1-cp311-cp311-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:f75c7ab1f9e4aca5414ed4d8e5c0e303a34f4421f8a0d47a4d019ceff0ab6af4"},
{file = "cffi-1.17.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a1ed2dd2972641495a3ec98445e09766f077aee98a1c896dcb4ad0d303628e41"},
{file = "cffi-1.17.1-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:46bf43160c1a35f7ec506d254e5c890f3c03648a4dbac12d624e4490a7046cd1"},
{file = "cffi-1.17.1-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:a24ed04c8ffd54b0729c07cee15a81d964e6fee0e3d4d342a27b020d22959dc6"},
{file = "cffi-1.17.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:610faea79c43e44c71e1ec53a554553fa22321b65fae24889706c0a84d4ad86d"},
{file = "cffi-1.17.1-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:a9b15d491f3ad5d692e11f6b71f7857e7835eb677955c00cc0aefcd0669adaf6"},
{file = "cffi-1.17.1-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:de2ea4b5833625383e464549fec1bc395c1bdeeb5f25c4a3a82b5a8c756ec22f"},
{file = "cffi-1.17.1-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:fc48c783f9c87e60831201f2cce7f3b2e4846bf4d8728eabe54d60700b318a0b"},
{file = "cffi-1.17.1-cp311-cp311-win32.whl", hash = "sha256:85a950a4ac9c359340d5963966e3e0a94a676bd6245a4b55bc43949eee26a655"},
{file = "cffi-1.17.1-cp311-cp311-win_amd64.whl", hash = "sha256:caaf0640ef5f5517f49bc275eca1406b0ffa6aa184892812030f04c2abf589a0"},
{file = "cffi-1.17.1-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:805b4371bf7197c329fcb3ead37e710d1bca9da5d583f5073b799d5c5bd1eee4"},
{file = "cffi-1.17.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:733e99bc2df47476e3848417c5a4540522f234dfd4ef3ab7fafdf555b082ec0c"},
{file = "cffi-1.17.1-cp312-cp312-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1257bdabf294dceb59f5e70c64a3e2f462c30c7ad68092d01bbbfb1c16b1ba36"},
{file = "cffi-1.17.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:da95af8214998d77a98cc14e3a3bd00aa191526343078b530ceb0bd710fb48a5"},
{file = "cffi-1.17.1-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:d63afe322132c194cf832bfec0dc69a99fb9bb6bbd550f161a49e9e855cc78ff"},
{file = "cffi-1.17.1-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:f79fc4fc25f1c8698ff97788206bb3c2598949bfe0fef03d299eb1b5356ada99"},
{file = "cffi-1.17.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b62ce867176a75d03a665bad002af8e6d54644fad99a3c70905c543130e39d93"},
{file = "cffi-1.17.1-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:386c8bf53c502fff58903061338ce4f4950cbdcb23e2902d86c0f722b786bbe3"},
{file = "cffi-1.17.1-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:4ceb10419a9adf4460ea14cfd6bc43d08701f0835e979bf821052f1805850fe8"},
{file = "cffi-1.17.1-cp312-cp312-win32.whl", hash = "sha256:a08d7e755f8ed21095a310a693525137cfe756ce62d066e53f502a83dc550f65"},
{file = "cffi-1.17.1-cp312-cp312-win_amd64.whl", hash = "sha256:51392eae71afec0d0c8fb1a53b204dbb3bcabcb3c9b807eedf3e1e6ccf2de903"},
{file = "cffi-1.17.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:f3a2b4222ce6b60e2e8b337bb9596923045681d71e5a082783484d845390938e"},
{file = "cffi-1.17.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:0984a4925a435b1da406122d4d7968dd861c1385afe3b45ba82b750f229811e2"},
{file = "cffi-1.17.1-cp313-cp313-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d01b12eeeb4427d3110de311e1774046ad344f5b1a7403101878976ecd7a10f3"},
{file = "cffi-1.17.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:706510fe141c86a69c8ddc029c7910003a17353970cff3b904ff0686a5927683"},
{file = "cffi-1.17.1-cp313-cp313-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:de55b766c7aa2e2a3092c51e0483d700341182f08e67c63630d5b6f200bb28e5"},
{file = "cffi-1.17.1-cp313-cp313-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:c59d6e989d07460165cc5ad3c61f9fd8f1b4796eacbd81cee78957842b834af4"},
{file = "cffi-1.17.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dd398dbc6773384a17fe0d3e7eeb8d1a21c2200473ee6806bb5e6a8e62bb73dd"},
{file = "cffi-1.17.1-cp313-cp313-musllinux_1_1_aarch64.whl", hash = "sha256:3edc8d958eb099c634dace3c7e16560ae474aa3803a5df240542b305d14e14ed"},
{file = "cffi-1.17.1-cp313-cp313-musllinux_1_1_x86_64.whl", hash = "sha256:72e72408cad3d5419375fc87d289076ee319835bdfa2caad331e377589aebba9"},
{file = "cffi-1.17.1-cp313-cp313-win32.whl", hash = "sha256:e03eab0a8677fa80d646b5ddece1cbeaf556c313dcfac435ba11f107ba117b5d"},
{file = "cffi-1.17.1-cp313-cp313-win_amd64.whl", hash = "sha256:f6a16c31041f09ead72d69f583767292f750d24913dadacf5756b966aacb3f1a"},
{file = "cffi-1.17.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:636062ea65bd0195bc012fea9321aca499c0504409f413dc88af450b57ffd03b"},
{file = "cffi-1.17.1-cp38-cp38-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c7eac2ef9b63c79431bc4b25f1cd649d7f061a28808cbc6c47b534bd789ef964"},
{file = "cffi-1.17.1-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e221cf152cff04059d011ee126477f0d9588303eb57e88923578ace7baad17f9"},
{file = "cffi-1.17.1-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:31000ec67d4221a71bd3f67df918b1f88f676f1c3b535a7eb473255fdc0b83fc"},
{file = "cffi-1.17.1-cp38-cp38-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:6f17be4345073b0a7b8ea599688f692ac3ef23ce28e5df79c04de519dbc4912c"},
{file = "cffi-1.17.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:0e2b1fac190ae3ebfe37b979cc1ce69c81f4e4fe5746bb401dca63a9062cdaf1"},
{file = "cffi-1.17.1-cp38-cp38-win32.whl", hash = "sha256:7596d6620d3fa590f677e9ee430df2958d2d6d6de2feeae5b20e82c00b76fbf8"},
{file = "cffi-1.17.1-cp38-cp38-win_amd64.whl", hash = "sha256:78122be759c3f8a014ce010908ae03364d00a1f81ab5c7f4a7a5120607ea56e1"},
{file = "cffi-1.17.1-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:b2ab587605f4ba0bf81dc0cb08a41bd1c0a5906bd59243d56bad7668a6fc6c16"},
{file = "cffi-1.17.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:28b16024becceed8c6dfbc75629e27788d8a3f9030691a1dbf9821a128b22c36"},
{file = "cffi-1.17.1-cp39-cp39-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:1d599671f396c4723d016dbddb72fe8e0397082b0a77a4fab8028923bec050e8"},
{file = "cffi-1.17.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ca74b8dbe6e8e8263c0ffd60277de77dcee6c837a3d0881d8c1ead7268c9e576"},
{file = "cffi-1.17.1-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:f7f5baafcc48261359e14bcd6d9bff6d4b28d9103847c9e136694cb0501aef87"},
{file = "cffi-1.17.1-cp39-cp39-manylinux_2_17_s390x.manylinux2014_s390x.whl", hash = "sha256:98e3969bcff97cae1b2def8ba499ea3d6f31ddfdb7635374834cf89a1a08ecf0"},
{file = "cffi-1.17.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:cdf5ce3acdfd1661132f2a9c19cac174758dc2352bfe37d98aa7512c6b7178b3"},
{file = "cffi-1.17.1-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:9755e4345d1ec879e3849e62222a18c7174d65a6a92d5b346b1863912168b595"},
{file = "cffi-1.17.1-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:f1e22e8c4419538cb197e4dd60acc919d7696e5ef98ee4da4e01d3f8cfa4cc5a"},
{file = "cffi-1.17.1-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:c03e868a0b3bc35839ba98e74211ed2b05d2119be4e8a0f224fba9384f1fe02e"},
{file = "cffi-1.17.1-cp39-cp39-win32.whl", hash = "sha256:e31ae45bc2e29f6b2abd0de1cc3b9d5205aa847cafaecb8af1476a609a2f6eb7"},
{file = "cffi-1.17.1-cp39-cp39-win_amd64.whl", hash = "sha256:d016c76bdd850f3c626af19b0542c9677ba156e4ee4fccfdd7848803533ef662"},
{file = "cffi-1.17.1.tar.gz", hash = "sha256:1c39c6016c32bc48dd54561950ebd6836e1670f2ae46128f67cf49e789c52824"},
]
[package.dependencies]
pycparser = "*"
[[package]]
name = "colorama"
version = "0.4.6"
description = "Cross-platform colored terminal text."
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7"
groups = ["dev"]
markers = "sys_platform == \"win32\""
files = [
{file = "colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6"},
{file = "colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44"},
]
[[package]]
name = "coverage"
version = "7.8.0"
description = "Code coverage measurement for Python"
optional = false
python-versions = ">=3.9"
groups = ["dev"]
files = [
{file = "coverage-7.8.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:2931f66991175369859b5fd58529cd4b73582461877ecfd859b6549869287ffe"},
{file = "coverage-7.8.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:52a523153c568d2c0ef8826f6cc23031dc86cffb8c6aeab92c4ff776e7951b28"},
{file = "coverage-7.8.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:5c8a5c139aae4c35cbd7cadca1df02ea8cf28a911534fc1b0456acb0b14234f3"},
{file = "coverage-7.8.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:5a26c0c795c3e0b63ec7da6efded5f0bc856d7c0b24b2ac84b4d1d7bc578d676"},
{file = "coverage-7.8.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:821f7bcbaa84318287115d54becb1915eece6918136c6f91045bb84e2f88739d"},
{file = "coverage-7.8.0-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:a321c61477ff8ee705b8a5fed370b5710c56b3a52d17b983d9215861e37b642a"},
{file = "coverage-7.8.0-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:ed2144b8a78f9d94d9515963ed273d620e07846acd5d4b0a642d4849e8d91a0c"},
{file = "coverage-7.8.0-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:042e7841a26498fff7a37d6fda770d17519982f5b7d8bf5278d140b67b61095f"},
{file = "coverage-7.8.0-cp310-cp310-win32.whl", hash = "sha256:f9983d01d7705b2d1f7a95e10bbe4091fabc03a46881a256c2787637b087003f"},
{file = "coverage-7.8.0-cp310-cp310-win_amd64.whl", hash = "sha256:5a570cd9bd20b85d1a0d7b009aaf6c110b52b5755c17be6962f8ccd65d1dbd23"},
{file = "coverage-7.8.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:e7ac22a0bb2c7c49f441f7a6d46c9c80d96e56f5a8bc6972529ed43c8b694e27"},
{file = "coverage-7.8.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:bf13d564d310c156d1c8e53877baf2993fb3073b2fc9f69790ca6a732eb4bfea"},
{file = "coverage-7.8.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a5761c70c017c1b0d21b0815a920ffb94a670c8d5d409d9b38857874c21f70d7"},
{file = "coverage-7.8.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e5ff52d790c7e1628241ffbcaeb33e07d14b007b6eb00a19320c7b8a7024c040"},
{file = "coverage-7.8.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d39fc4817fd67b3915256af5dda75fd4ee10621a3d484524487e33416c6f3543"},
{file = "coverage-7.8.0-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:b44674870709017e4b4036e3d0d6c17f06a0e6d4436422e0ad29b882c40697d2"},
{file = "coverage-7.8.0-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:8f99eb72bf27cbb167b636eb1726f590c00e1ad375002230607a844d9e9a2318"},
{file = "coverage-7.8.0-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:b571bf5341ba8c6bc02e0baeaf3b061ab993bf372d982ae509807e7f112554e9"},
{file = "coverage-7.8.0-cp311-cp311-win32.whl", hash = "sha256:e75a2ad7b647fd8046d58c3132d7eaf31b12d8a53c0e4b21fa9c4d23d6ee6d3c"},
{file = "coverage-7.8.0-cp311-cp311-win_amd64.whl", hash = "sha256:3043ba1c88b2139126fc72cb48574b90e2e0546d4c78b5299317f61b7f718b78"},
{file = "coverage-7.8.0-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:bbb5cc845a0292e0c520656d19d7ce40e18d0e19b22cb3e0409135a575bf79fc"},
{file = "coverage-7.8.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4dfd9a93db9e78666d178d4f08a5408aa3f2474ad4d0e0378ed5f2ef71640cb6"},
{file = "coverage-7.8.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f017a61399f13aa6d1039f75cd467be388d157cd81f1a119b9d9a68ba6f2830d"},
{file = "coverage-7.8.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0915742f4c82208ebf47a2b154a5334155ed9ef9fe6190674b8a46c2fb89cb05"},
{file = "coverage-7.8.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:8a40fcf208e021eb14b0fac6bdb045c0e0cab53105f93ba0d03fd934c956143a"},
{file = "coverage-7.8.0-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:a1f406a8e0995d654b2ad87c62caf6befa767885301f3b8f6f73e6f3c31ec3a6"},
{file = "coverage-7.8.0-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:77af0f6447a582fdc7de5e06fa3757a3ef87769fbb0fdbdeba78c23049140a47"},
{file = "coverage-7.8.0-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:f2d32f95922927186c6dbc8bc60df0d186b6edb828d299ab10898ef3f40052fe"},
{file = "coverage-7.8.0-cp312-cp312-win32.whl", hash = "sha256:769773614e676f9d8e8a0980dd7740f09a6ea386d0f383db6821df07d0f08545"},
{file = "coverage-7.8.0-cp312-cp312-win_amd64.whl", hash = "sha256:e5d2b9be5b0693cf21eb4ce0ec8d211efb43966f6657807f6859aab3814f946b"},
{file = "coverage-7.8.0-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:5ac46d0c2dd5820ce93943a501ac5f6548ea81594777ca585bf002aa8854cacd"},
{file = "coverage-7.8.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:771eb7587a0563ca5bb6f622b9ed7f9d07bd08900f7589b4febff05f469bea00"},
{file = "coverage-7.8.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:42421e04069fb2cbcbca5a696c4050b84a43b05392679d4068acbe65449b5c64"},
{file = "coverage-7.8.0-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:554fec1199d93ab30adaa751db68acec2b41c5602ac944bb19187cb9a41a8067"},
{file = "coverage-7.8.0-cp313-cp313-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5aaeb00761f985007b38cf463b1d160a14a22c34eb3f6a39d9ad6fc27cb73008"},
{file = "coverage-7.8.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:581a40c7b94921fffd6457ffe532259813fc68eb2bdda60fa8cc343414ce3733"},
{file = "coverage-7.8.0-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:f319bae0321bc838e205bf9e5bc28f0a3165f30c203b610f17ab5552cff90323"},
{file = "coverage-7.8.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:04bfec25a8ef1c5f41f5e7e5c842f6b615599ca8ba8391ec33a9290d9d2db3a3"},
{file = "coverage-7.8.0-cp313-cp313-win32.whl", hash = "sha256:dd19608788b50eed889e13a5d71d832edc34fc9dfce606f66e8f9f917eef910d"},
{file = "coverage-7.8.0-cp313-cp313-win_amd64.whl", hash = "sha256:a9abbccd778d98e9c7e85038e35e91e67f5b520776781d9a1e2ee9d400869487"},
{file = "coverage-7.8.0-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:18c5ae6d061ad5b3e7eef4363fb27a0576012a7447af48be6c75b88494c6cf25"},
{file = "coverage-7.8.0-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:95aa6ae391a22bbbce1b77ddac846c98c5473de0372ba5c463480043a07bff42"},
{file = "coverage-7.8.0-cp313-cp313t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e013b07ba1c748dacc2a80e69a46286ff145935f260eb8c72df7185bf048f502"},
{file = "coverage-7.8.0-cp313-cp313t-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:d766a4f0e5aa1ba056ec3496243150698dc0481902e2b8559314368717be82b1"},
{file = "coverage-7.8.0-cp313-cp313t-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ad80e6b4a0c3cb6f10f29ae4c60e991f424e6b14219d46f1e7d442b938ee68a4"},
{file = "coverage-7.8.0-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:b87eb6fc9e1bb8f98892a2458781348fa37e6925f35bb6ceb9d4afd54ba36c73"},
{file = "coverage-7.8.0-cp313-cp313t-musllinux_1_2_i686.whl", hash = "sha256:d1ba00ae33be84066cfbe7361d4e04dec78445b2b88bdb734d0d1cbab916025a"},
{file = "coverage-7.8.0-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:f3c38e4e5ccbdc9198aecc766cedbb134b2d89bf64533973678dfcf07effd883"},
{file = "coverage-7.8.0-cp313-cp313t-win32.whl", hash = "sha256:379fe315e206b14e21db5240f89dc0774bdd3e25c3c58c2c733c99eca96f1ada"},
{file = "coverage-7.8.0-cp313-cp313t-win_amd64.whl", hash = "sha256:2e4b6b87bb0c846a9315e3ab4be2d52fac905100565f4b92f02c445c8799e257"},
{file = "coverage-7.8.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:fa260de59dfb143af06dcf30c2be0b200bed2a73737a8a59248fcb9fa601ef0f"},
{file = "coverage-7.8.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:96121edfa4c2dfdda409877ea8608dd01de816a4dc4a0523356067b305e4e17a"},
{file = "coverage-7.8.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:6b8af63b9afa1031c0ef05b217faa598f3069148eeee6bb24b79da9012423b82"},
{file = "coverage-7.8.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:89b1f4af0d4afe495cd4787a68e00f30f1d15939f550e869de90a86efa7e0814"},
{file = "coverage-7.8.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:94ec0be97723ae72d63d3aa41961a0b9a6f5a53ff599813c324548d18e3b9e8c"},
{file = "coverage-7.8.0-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:8a1d96e780bdb2d0cbb297325711701f7c0b6f89199a57f2049e90064c29f6bd"},
{file = "coverage-7.8.0-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:f1d8a2a57b47142b10374902777e798784abf400a004b14f1b0b9eaf1e528ba4"},
{file = "coverage-7.8.0-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:cf60dd2696b457b710dd40bf17ad269d5f5457b96442f7f85722bdb16fa6c899"},
{file = "coverage-7.8.0-cp39-cp39-win32.whl", hash = "sha256:be945402e03de47ba1872cd5236395e0f4ad635526185a930735f66710e1bd3f"},
{file = "coverage-7.8.0-cp39-cp39-win_amd64.whl", hash = "sha256:90e7fbc6216ecaffa5a880cdc9c77b7418c1dcb166166b78dbc630d07f278cc3"},
{file = "coverage-7.8.0-pp39.pp310.pp311-none-any.whl", hash = "sha256:b8194fb8e50d556d5849753de991d390c5a1edeeba50f68e3a9253fbd8bf8ccd"},
{file = "coverage-7.8.0-py3-none-any.whl", hash = "sha256:dbf364b4c5e7bae9250528167dfe40219b62e2d573c854d74be213e1e52069f7"},
{file = "coverage-7.8.0.tar.gz", hash = "sha256:7a3d62b3b03b4b6fd41a085f3574874cf946cb4604d2b4d3e8dca8cd570ca501"},
]
[package.dependencies]
tomli = {version = "*", optional = true, markers = "python_full_version <= \"3.11.0a6\" and extra == \"toml\""}
[package.extras]
toml = ["tomli ; python_full_version <= \"3.11.0a6\""]
[[package]]
name = "cryptography"
version = "44.0.2"
description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers."
optional = false
python-versions = "!=3.9.0,!=3.9.1,>=3.7"
groups = ["main"]
files = [
{file = "cryptography-44.0.2-cp37-abi3-macosx_10_9_universal2.whl", hash = "sha256:efcfe97d1b3c79e486554efddeb8f6f53a4cdd4cf6086642784fa31fc384e1d7"},
{file = "cryptography-44.0.2-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:29ecec49f3ba3f3849362854b7253a9f59799e3763b0c9d0826259a88efa02f1"},
{file = "cryptography-44.0.2-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:bc821e161ae88bfe8088d11bb39caf2916562e0a2dc7b6d56714a48b784ef0bb"},
{file = "cryptography-44.0.2-cp37-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:3c00b6b757b32ce0f62c574b78b939afab9eecaf597c4d624caca4f9e71e7843"},
{file = "cryptography-44.0.2-cp37-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:7bdcd82189759aba3816d1f729ce42ffded1ac304c151d0a8e89b9996ab863d5"},
{file = "cryptography-44.0.2-cp37-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:4973da6ca3db4405c54cd0b26d328be54c7747e89e284fcff166132eb7bccc9c"},
{file = "cryptography-44.0.2-cp37-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:4e389622b6927d8133f314949a9812972711a111d577a5d1f4bee5e58736b80a"},
{file = "cryptography-44.0.2-cp37-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:f514ef4cd14bb6fb484b4a60203e912cfcb64f2ab139e88c2274511514bf7308"},
{file = "cryptography-44.0.2-cp37-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:1bc312dfb7a6e5d66082c87c34c8a62176e684b6fe3d90fcfe1568de675e6688"},
{file = "cryptography-44.0.2-cp37-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:3b721b8b4d948b218c88cb8c45a01793483821e709afe5f622861fc6182b20a7"},
{file = "cryptography-44.0.2-cp37-abi3-win32.whl", hash = "sha256:51e4de3af4ec3899d6d178a8c005226491c27c4ba84101bfb59c901e10ca9f79"},
{file = "cryptography-44.0.2-cp37-abi3-win_amd64.whl", hash = "sha256:c505d61b6176aaf982c5717ce04e87da5abc9a36a5b39ac03905c4aafe8de7aa"},
{file = "cryptography-44.0.2-cp39-abi3-macosx_10_9_universal2.whl", hash = "sha256:8e0ddd63e6bf1161800592c71ac794d3fb8001f2caebe0966e77c5234fa9efc3"},
{file = "cryptography-44.0.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:81276f0ea79a208d961c433a947029e1a15948966658cf6710bbabb60fcc2639"},
{file = "cryptography-44.0.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9a1e657c0f4ea2a23304ee3f964db058c9e9e635cc7019c4aa21c330755ef6fd"},
{file = "cryptography-44.0.2-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:6210c05941994290f3f7f175a4a57dbbb2afd9273657614c506d5976db061181"},
{file = "cryptography-44.0.2-cp39-abi3-manylinux_2_28_armv7l.manylinux_2_31_armv7l.whl", hash = "sha256:d1c3572526997b36f245a96a2b1713bf79ce99b271bbcf084beb6b9b075f29ea"},
{file = "cryptography-44.0.2-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:b042d2a275c8cee83a4b7ae30c45a15e6a4baa65a179a0ec2d78ebb90e4f6699"},
{file = "cryptography-44.0.2-cp39-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:d03806036b4f89e3b13b6218fefea8d5312e450935b1a2d55f0524e2ed7c59d9"},
{file = "cryptography-44.0.2-cp39-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:c7362add18b416b69d58c910caa217f980c5ef39b23a38a0880dfd87bdf8cd23"},
{file = "cryptography-44.0.2-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:8cadc6e3b5a1f144a039ea08a0bdb03a2a92e19c46be3285123d32029f40a922"},
{file = "cryptography-44.0.2-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:6f101b1f780f7fc613d040ca4bdf835c6ef3b00e9bd7125a4255ec574c7916e4"},
{file = "cryptography-44.0.2-cp39-abi3-win32.whl", hash = "sha256:3dc62975e31617badc19a906481deacdeb80b4bb454394b4098e3f2525a488c5"},
{file = "cryptography-44.0.2-cp39-abi3-win_amd64.whl", hash = "sha256:5f6f90b72d8ccadb9c6e311c775c8305381db88374c65fa1a68250aa8a9cb3a6"},
{file = "cryptography-44.0.2-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:af4ff3e388f2fa7bff9f7f2b31b87d5651c45731d3e8cfa0944be43dff5cfbdb"},
{file = "cryptography-44.0.2-pp310-pypy310_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:0529b1d5a0105dd3731fa65680b45ce49da4d8115ea76e9da77a875396727b41"},
{file = "cryptography-44.0.2-pp310-pypy310_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:7ca25849404be2f8e4b3c59483d9d3c51298a22c1c61a0e84415104dacaf5562"},
{file = "cryptography-44.0.2-pp310-pypy310_pp73-manylinux_2_34_aarch64.whl", hash = "sha256:268e4e9b177c76d569e8a145a6939eca9a5fec658c932348598818acf31ae9a5"},
{file = "cryptography-44.0.2-pp310-pypy310_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:9eb9d22b0a5d8fd9925a7764a054dca914000607dff201a24c791ff5c799e1fa"},
{file = "cryptography-44.0.2-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:2bf7bf75f7df9715f810d1b038870309342bff3069c5bd8c6b96128cb158668d"},
{file = "cryptography-44.0.2-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl", hash = "sha256:909c97ab43a9c0c0b0ada7a1281430e4e5ec0458e6d9244c0e821bbf152f061d"},
{file = "cryptography-44.0.2-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl", hash = "sha256:96e7a5e9d6e71f9f4fca8eebfd603f8e86c5225bb18eb621b2c1e50b290a9471"},
{file = "cryptography-44.0.2-pp311-pypy311_pp73-manylinux_2_34_aarch64.whl", hash = "sha256:d1b3031093a366ac767b3feb8bcddb596671b3aaff82d4050f984da0c248b615"},
{file = "cryptography-44.0.2-pp311-pypy311_pp73-manylinux_2_34_x86_64.whl", hash = "sha256:04abd71114848aa25edb28e225ab5f268096f44cf0127f3d36975bdf1bdf3390"},
{file = "cryptography-44.0.2.tar.gz", hash = "sha256:c63454aa261a0cf0c5b4718349629793e9e634993538db841165b3df74f37ec0"},
]
[package.dependencies]
cffi = {version = ">=1.12", markers = "platform_python_implementation != \"PyPy\""}
[package.extras]
docs = ["sphinx (>=5.3.0)", "sphinx-rtd-theme (>=3.0.0) ; python_version >= \"3.8\""]
docstest = ["pyenchant (>=3)", "readme-renderer (>=30.0)", "sphinxcontrib-spelling (>=7.3.1)"]
nox = ["nox (>=2024.4.15)", "nox[uv] (>=2024.3.2) ; python_version >= \"3.8\""]
pep8test = ["check-sdist ; python_version >= \"3.8\"", "click (>=8.0.1)", "mypy (>=1.4)", "ruff (>=0.3.6)"]
sdist = ["build (>=1.0.0)"]
ssh = ["bcrypt (>=3.1.5)"]
test = ["certifi (>=2024)", "cryptography-vectors (==44.0.2)", "pretend (>=0.7)", "pytest (>=7.4.0)", "pytest-benchmark (>=4.0)", "pytest-cov (>=2.10.1)", "pytest-xdist (>=3.5.0)"]
test-randomorder = ["pytest-randomly"]
[[package]]
name = "dbus-fast"
version = "2.44.1"
description = "A faster version of dbus-next"
optional = false
python-versions = ">=3.9"
groups = ["main"]
markers = "platform_system == \"Linux\""
files = [
{file = "dbus_fast-2.44.1-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c78a004ba43aeaf203a19169d2b4be238375905645999da30cb0da730df80cf2"},
{file = "dbus_fast-2.44.1-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:65a634286651398f3f1326e8200fc54289d52c2c00249d29cacfc691660a5da1"},
{file = "dbus_fast-2.44.1-cp310-cp310-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl", hash = "sha256:0c4a128f8b29941307fc5722f37a1bb87ddcf733188d917ab374d9da0c6e1ce7"},
{file = "dbus_fast-2.44.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:adaf459fbce22a63d3578f3ec782c6978edf975eb06d71fb5b7a690496cf6bbe"},
{file = "dbus_fast-2.44.1-cp310-cp310-musllinux_1_2_aarch64.whl", hash = "sha256:de871cf722c436bdcceb96b2a3af7084e1fa468f7916ae278ec8ec49a6fa7eef"},
{file = "dbus_fast-2.44.1-cp310-cp310-musllinux_1_2_i686.whl", hash = "sha256:b40863de172031bcc02f54c6f05cccb0b882dc2e1b09e11314a8ccf38c558760"},
{file = "dbus_fast-2.44.1-cp310-cp310-musllinux_1_2_x86_64.whl", hash = "sha256:8b7ae16555df6b56d3befcc51e036779ef47c0e954fdb9fb0821ac25212aefe9"},
{file = "dbus_fast-2.44.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:a220a28e88062a2548f0c6da9eb15fb7e3af70eae56729fc3795ce3e3fba057d"},
{file = "dbus_fast-2.44.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4ec5db912bd4cfeadf7134163d6dde684271cd44cf26e3b4720107f3de406623"},
{file = "dbus_fast-2.44.1-cp311-cp311-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl", hash = "sha256:6ad99f626837753b39a39e09facd2091ee4851ee1eb6ebec5fa9a9a231734254"},
{file = "dbus_fast-2.44.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f7aa157f689a114bfb5367c55884d35e25d57cf25202a6590ce05010f929e7df"},
{file = "dbus_fast-2.44.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:f961d8bcad80359f24c0156b3094f58a87d583d56139ee50922fe5894b6797cf"},
{file = "dbus_fast-2.44.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:1f38fb5c31846c3ada8fc2b693d8d19953d376a9ea21079e3686e93faa1f8a0f"},
{file = "dbus_fast-2.44.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:35e3cde53cc9180ce95c6c84a1e8d1ded429031e4a0a182606e8d22cf57d3294"},
{file = "dbus_fast-2.44.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:f3f30fb09f1ea13658fb4316511e27d6b94f8363b16f2d093efe73e6e289b740"},
{file = "dbus_fast-2.44.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:3dd0f8d41f6ab9d4a782c116470bc319d690f9b50c97b6debc6d1fef08e4615a"},
{file = "dbus_fast-2.44.1-cp312-cp312-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl", hash = "sha256:9d6e386658343db380b9e4e81b3bf4e3c17135dbb5889173b1f2582b675b9a8c"},
{file = "dbus_fast-2.44.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:3bd27563c11219b6fde7a5458141d860d8445c2defb036bab360d1f9bf1dfae0"},
{file = "dbus_fast-2.44.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:0272784aceac821dd63c8187a8860179061a850269617ff5c5bd25ca37bf9307"},
{file = "dbus_fast-2.44.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:eed613a909a45f0e0a415c88b373024f007a9be56b1316812ed616d69a3b9161"},
{file = "dbus_fast-2.44.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:0d4288f2cba4f8309dcfd9f4392e0f4f2b5be6c796dfdb0c5e03228b1ab649b1"},
{file = "dbus_fast-2.44.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:50a9a4c6921f4b7446717fb4869750f54b561ce486b25b36550cb2a910c988d9"},
{file = "dbus_fast-2.44.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:89dc5db158bf9838979f732acc39e0e1ecd7e3295a09fa8adb93b09c097615a4"},
{file = "dbus_fast-2.44.1-cp313-cp313-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl", hash = "sha256:f11878c0c089d278861e48c02db8002496c2233b0f605b5630ef61f0b7fb0ea3"},
{file = "dbus_fast-2.44.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:afd81f483b3ffb71e88478cfabccc1fab8d7154fccb1c661bfafcff9b0cfd996"},
{file = "dbus_fast-2.44.1-cp313-cp313-manylinux_2_36_x86_64.whl", hash = "sha256:ad499de96a991287232749c98a59f2436ed260f6fd9ad4cb3b04a4b1bbbef148"},
{file = "dbus_fast-2.44.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:36c44286b11e83977cd29f9551b66b446bb6890dff04585852d975aa3a038ca2"},
{file = "dbus_fast-2.44.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:89f2f6eccbb0e464b90e5a8741deb9d6a91873eeb41a8c7b963962b39eb1e0cd"},
{file = "dbus_fast-2.44.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:bb74a227b071e1a7c517bf3a3e4a5a0a2660620084162e74f15010075534c9d5"},
{file = "dbus_fast-2.44.1-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:5e3719399e687359b0ef66af1b720661dd4f12059db1c4f506e678569a2256b4"},
{file = "dbus_fast-2.44.1-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:806450623ef3f8df846524da7e448edc8174261a01cfd5dfda92e3df89c0de10"},
{file = "dbus_fast-2.44.1-cp39-cp39-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl", hash = "sha256:55ad499b7ef08cb76fce9c9fdcdd6589d2ebfc7e53b3d261d8f40c6d97a8d901"},
{file = "dbus_fast-2.44.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:55d717865219ec2ae9977b6d067c05261cdc3ef6205c687c8bb92b3437886e58"},
{file = "dbus_fast-2.44.1-cp39-cp39-musllinux_1_2_aarch64.whl", hash = "sha256:39d4cc61e491e11912f76d70cc1c47387ab4f2e5b71f34bfa13eb11aa6026268"},
{file = "dbus_fast-2.44.1-cp39-cp39-musllinux_1_2_i686.whl", hash = "sha256:9b3b10151f1140f7b6dd47a89fc37edd05d6213be0a1748eadba82fc144c05c2"},
{file = "dbus_fast-2.44.1-cp39-cp39-musllinux_1_2_x86_64.whl", hash = "sha256:33772c223f5cef1bacc298e83dc04b27b3a47065b245fde766fcc126e761dca7"},
{file = "dbus_fast-2.44.1-pp310-pypy310_pp73-macosx_11_0_arm64.whl", hash = "sha256:80e3f42f982af45bcfa0ff23e808f3aa54a45fe4bf43aadd3beb5ace816fba76"},
{file = "dbus_fast-2.44.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:f29a81d86c9ce3020a5df8c1e5557edaa00e1e00c9804ec874d46c99d967a686"},
{file = "dbus_fast-2.44.1-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl", hash = "sha256:5dec134715457601c0fa8df3040a56d319de1a152464ae4d4bfc53bbb5c02e04"},
{file = "dbus_fast-2.44.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl", hash = "sha256:893509b516f2f24b4e3f09a6b1f3a30f856cf237cd773cdc505ea7ab4fa3c863"},
{file = "dbus_fast-2.44.1-pp39-pypy39_pp73-macosx_11_0_arm64.whl", hash = "sha256:db81275d708774f6a17c89f2e063398c0deb358c4d22b663a3dd99861f6683a4"},
{file = "dbus_fast-2.44.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:161a3e6fc8783c30c9feb072e09604d96ec0c465b06bd35b6acc1a0316bd2a27"},
{file = "dbus_fast-2.44.1-pp39-pypy39_pp73-manylinux_2_17_i686.manylinux_2_5_i686.manylinux1_i686.manylinux2014_i686.whl", hash = "sha256:67febe6454e714d85a532bd84969001ed948bbaf1699a7e1e4c6abb5508c9522"},
{file = "dbus_fast-2.44.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux_2_5_x86_64.manylinux1_x86_64.manylinux2014_x86_64.whl", hash = "sha256:890f0fc046d5db66524ddedeca8c14b65739fbbf32d6488175c07428362bf250"},
{file = "dbus_fast-2.44.1.tar.gz", hash = "sha256:b027e96c39ed5622bb54d811dcdbbe9d9d6edec3454808a85a1ceb1867d9e25c"},
]
[[package]]
name = "exceptiongroup"
version = "1.2.2"
description = "Backport of PEP 654 (exception groups)"
optional = false
python-versions = ">=3.7"
groups = ["dev"]
markers = "python_version < \"3.11\""
files = [
{file = "exceptiongroup-1.2.2-py3-none-any.whl", hash = "sha256:3111b9d131c238bec2f8f516e123e14ba243563fb135d3fe885990585aa7795b"},
{file = "exceptiongroup-1.2.2.tar.gz", hash = "sha256:47c2edf7c6738fafb49fd34290706d1a1a2f4d1c6df275526b62cbb4aa5393cc"},
]
[package.extras]
test = ["pytest (>=6)"]
[[package]]
name = "iniconfig"
version = "2.1.0"
description = "brain-dead simple config-ini parsing"
optional = false
python-versions = ">=3.8"
groups = ["dev"]
files = [
{file = "iniconfig-2.1.0-py3-none-any.whl", hash = "sha256:9deba5723312380e77435581c6bf4935c94cbfab9b1ed33ef8d238ea168eb760"},
{file = "iniconfig-2.1.0.tar.gz", hash = "sha256:3abbd2e30b36733fee78f9c7f7308f2d0050e88f0087fd25c2645f63c773e1c7"},
]
[[package]]
name = "lru-dict"
version = "1.3.0"
description = "An Dict like LRU container."
optional = false
python-versions = ">=3.8"
groups = ["main"]
files = [
{file = "lru-dict-1.3.0.tar.gz", hash = "sha256:54fd1966d6bd1fcde781596cb86068214edeebff1db13a2cea11079e3fd07b6b"},
{file = "lru_dict-1.3.0-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:4073333894db9840f066226d50e6f914a2240711c87d60885d8c940b69a6673f"},
{file = "lru_dict-1.3.0-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:0ad6361e4dd63b47b2fc8eab344198f37387e1da3dcfacfee19bafac3ec9f1eb"},
{file = "lru_dict-1.3.0-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:c637ab54b8cd9802fe19b260261e38820d748adf7606e34045d3c799b6dde813"},
{file = "lru_dict-1.3.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:0fce5f95489ca1fc158cc9fe0f4866db9cec82c2be0470926a9080570392beaf"},
{file = "lru_dict-1.3.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:b2bf2e24cf5f19c3ff69bf639306e83dced273e6fa775b04e190d7f5cd16f794"},
{file = "lru_dict-1.3.0-cp310-cp310-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e90059f7701bef3c4da073d6e0434a9c7dc551d5adce30e6b99ef86b186f4b4a"},
{file = "lru_dict-1.3.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:1ecb7ae557239c64077e9b26a142eb88e63cddb104111a5122de7bebbbd00098"},
{file = "lru_dict-1.3.0-cp310-cp310-musllinux_1_1_aarch64.whl", hash = "sha256:6af36166d22dba851e06a13e35bbf33845d3dd88872e6aebbc8e3e7db70f4682"},
{file = "lru_dict-1.3.0-cp310-cp310-musllinux_1_1_i686.whl", hash = "sha256:8ee38d420c77eed548df47b7d74b5169a98e71c9e975596e31ab808e76d11f09"},
{file = "lru_dict-1.3.0-cp310-cp310-musllinux_1_1_ppc64le.whl", hash = "sha256:0e1845024c31e6ff246c9eb5e6f6f1a8bb564c06f8a7d6d031220044c081090b"},
{file = "lru_dict-1.3.0-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:3ca5474b1649555d014be1104e5558a92497509021a5ba5ea6e9b492303eb66b"},
{file = "lru_dict-1.3.0-cp310-cp310-win32.whl", hash = "sha256:ebb03a9bd50c2ed86d4f72a54e0aae156d35a14075485b2127c4b01a3f4a63fa"},
{file = "lru_dict-1.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:04cda617f4e4c27009005d0a8185ef02829b14b776d2791f5c994cc9d668bc24"},
{file = "lru_dict-1.3.0-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:20c595764695d20bdc3ab9b582e0cc99814da183544afb83783a36d6741a0dac"},
{file = "lru_dict-1.3.0-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:d9b30a8f50c3fa72a494eca6be5810a1b5c89e4f0fda89374f0d1c5ad8d37d51"},
{file = "lru_dict-1.3.0-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:9710737584650a4251b9a566cbb1a86f83437adb209c9ba43a4e756d12faf0d7"},
{file = "lru_dict-1.3.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:b84c321ae34f2f40aae80e18b6fa08b31c90095792ab64bb99d2e385143effaa"},
{file = "lru_dict-1.3.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:eed24272b4121b7c22f234daed99899817d81d671b3ed030c876ac88bc9dc890"},
{file = "lru_dict-1.3.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:9bd13af06dab7c6ee92284fd02ed9a5613a07d5c1b41948dc8886e7207f86dfd"},
{file = "lru_dict-1.3.0-cp311-cp311-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:a1efc59bfba6aac33684d87b9e02813b0e2445b2f1c444dae2a0b396ad0ed60c"},
{file = "lru_dict-1.3.0-cp311-cp311-musllinux_1_1_aarch64.whl", hash = "sha256:cfaf75ac574447afcf8ad998789071af11d2bcf6f947643231f692948839bd98"},
{file = "lru_dict-1.3.0-cp311-cp311-musllinux_1_1_i686.whl", hash = "sha256:c95f8751e2abd6f778da0399c8e0239321d560dbc58cb063827123137d213242"},
{file = "lru_dict-1.3.0-cp311-cp311-musllinux_1_1_ppc64le.whl", hash = "sha256:abd0c284b26b5c4ee806ca4f33ab5e16b4bf4d5ec9e093e75a6f6287acdde78e"},
{file = "lru_dict-1.3.0-cp311-cp311-musllinux_1_1_x86_64.whl", hash = "sha256:2a47740652b25900ac5ce52667b2eade28d8b5fdca0ccd3323459df710e8210a"},
{file = "lru_dict-1.3.0-cp311-cp311-win32.whl", hash = "sha256:a690c23fc353681ed8042d9fe8f48f0fb79a57b9a45daea2f0be1eef8a1a4aa4"},
{file = "lru_dict-1.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:efd3f4e0385d18f20f7ea6b08af2574c1bfaa5cb590102ef1bee781bdfba84bc"},
{file = "lru_dict-1.3.0-cp312-cp312-macosx_10_9_universal2.whl", hash = "sha256:c279068f68af3b46a5d649855e1fb87f5705fe1f744a529d82b2885c0e1fc69d"},
{file = "lru_dict-1.3.0-cp312-cp312-macosx_10_9_x86_64.whl", hash = "sha256:350e2233cfee9f326a0d7a08e309372d87186565e43a691b120006285a0ac549"},
{file = "lru_dict-1.3.0-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:4eafb188a84483b3231259bf19030859f070321b00326dcb8e8c6cbf7db4b12f"},
{file = "lru_dict-1.3.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:73593791047e36b37fdc0b67b76aeed439fcea80959c7d46201240f9ec3b2563"},
{file = "lru_dict-1.3.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:1958cb70b9542773d6241974646e5410e41ef32e5c9e437d44040d59bd80daf2"},
{file = "lru_dict-1.3.0-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:bc1cd3ed2cee78a47f11f3b70be053903bda197a873fd146e25c60c8e5a32cd6"},
{file = "lru_dict-1.3.0-cp312-cp312-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:82eb230d48eaebd6977a92ddaa6d788f14cf4f4bcf5bbffa4ddfd60d051aa9d4"},
{file = "lru_dict-1.3.0-cp312-cp312-musllinux_1_1_aarch64.whl", hash = "sha256:5ad659cbc349d0c9ba8e536b5f40f96a70c360f43323c29f4257f340d891531c"},
{file = "lru_dict-1.3.0-cp312-cp312-musllinux_1_1_i686.whl", hash = "sha256:ba490b8972531d153ac0d4e421f60d793d71a2f4adbe2f7740b3c55dce0a12f1"},
{file = "lru_dict-1.3.0-cp312-cp312-musllinux_1_1_ppc64le.whl", hash = "sha256:c0131351b8a7226c69f1eba5814cbc9d1d8daaf0fdec1ae3f30508e3de5262d4"},
{file = "lru_dict-1.3.0-cp312-cp312-musllinux_1_1_x86_64.whl", hash = "sha256:0e88dba16695f17f41701269fa046197a3fd7b34a8dba744c8749303ddaa18df"},
{file = "lru_dict-1.3.0-cp312-cp312-win32.whl", hash = "sha256:6ffaf595e625b388babc8e7d79b40f26c7485f61f16efe76764e32dce9ea17fc"},
{file = "lru_dict-1.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:cf9da32ef2582434842ab6ba6e67290debfae72771255a8e8ab16f3e006de0aa"},
{file = "lru_dict-1.3.0-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:c265f16c936a8ff3bb4b8a4bda0be94c15ec28b63e99fdb1439c1ffe4cd437db"},
{file = "lru_dict-1.3.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:784ca9d3b0730b3ec199c0a58f66264c63dd5d438119c739c349a6a9be8e5f6e"},
{file = "lru_dict-1.3.0-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:e13b2f58f647178470adaa14603bb64cc02eeed32601772ccea30e198252883c"},
{file = "lru_dict-1.3.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:7ffbce5c2e80f57937679553c8f27e61ec327c962bf7ea0b15f1d74277fd5363"},
{file = "lru_dict-1.3.0-cp38-cp38-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:7969cb034b3ccc707aff877c73c225c32d7e2a7981baa8f92f5dd4d468fe8c33"},
{file = "lru_dict-1.3.0-cp38-cp38-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:ca9ab676609cce85dd65d91c275e47da676d13d77faa72de286fbea30fbaa596"},
{file = "lru_dict-1.3.0-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:f27c078b5d75989952acbf9b77e14c3dadc468a4aafe85174d548afbc5efc38b"},
{file = "lru_dict-1.3.0-cp38-cp38-musllinux_1_1_aarch64.whl", hash = "sha256:6123aefe97762ad74215d05320a7f389f196f0594c8813534284d4eafeca1a96"},
{file = "lru_dict-1.3.0-cp38-cp38-musllinux_1_1_i686.whl", hash = "sha256:cd869cadba9a63e1e7fe2dced4a5747d735135b86016b0a63e8c9e324ab629ac"},
{file = "lru_dict-1.3.0-cp38-cp38-musllinux_1_1_ppc64le.whl", hash = "sha256:40a8daddc29c7edb09dfe44292cf111f1e93a8344349778721d430d336b50505"},
{file = "lru_dict-1.3.0-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:6a03170e4152836987a88dcebde61aaeb73ab7099a00bb86509d45b3fe424230"},
{file = "lru_dict-1.3.0-cp38-cp38-win32.whl", hash = "sha256:3b4f121afe10f5a82b8e317626eb1e1c325b3f104af56c9756064cd833b1950b"},
{file = "lru_dict-1.3.0-cp38-cp38-win_amd64.whl", hash = "sha256:1470f5828c7410e16c24b5150eb649647986e78924816e6fb0264049dea14a2b"},
{file = "lru_dict-1.3.0-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:a3c9f746a9917e784fffcedeac4c8c47a3dbd90cbe13b69e9140182ad97ce4b7"},
{file = "lru_dict-1.3.0-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:2789296819525a1f3204072dfcf3df6db8bcf69a8fc740ffd3de43a684ea7002"},
{file = "lru_dict-1.3.0-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:170b66d29945391460351588a7bd8210a95407ae82efe0b855e945398a1d24ea"},
{file = "lru_dict-1.3.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:774ca88501a9effe8797c3db5a6685cf20978c9cb0fe836b6813cfe1ca60d8c9"},
{file = "lru_dict-1.3.0-cp39-cp39-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl", hash = "sha256:df2e119c6ae412d2fd641a55f8a1e2e51f45a3de3449c18b1b86c319ab79e0c4"},
{file = "lru_dict-1.3.0-cp39-cp39-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:28aa1ea42a7e48174bf513dc2416fea7511a547961e678dc6f5670ca987c18cb"},
{file = "lru_dict-1.3.0-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9537e1cee6fa582cb68f2fb9ce82d51faf2ccc0a638b275d033fdcb1478eb80b"},
{file = "lru_dict-1.3.0-cp39-cp39-musllinux_1_1_aarch64.whl", hash = "sha256:64545fca797fe2c68c5168efb5f976c6e1459e058cab02445207a079180a3557"},
{file = "lru_dict-1.3.0-cp39-cp39-musllinux_1_1_i686.whl", hash = "sha256:a193a14c66cfc0c259d05dddc5e566a4b09e8f1765e941503d065008feebea9d"},
{file = "lru_dict-1.3.0-cp39-cp39-musllinux_1_1_ppc64le.whl", hash = "sha256:3cb1de0ce4137b060abaafed8474cc0ebd12cedd88aaa7f7b3ebb1ddfba86ae0"},
{file = "lru_dict-1.3.0-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:8551ccab1349d4bebedab333dfc8693c74ff728f4b565fe15a6bf7d296bd7ea9"},
{file = "lru_dict-1.3.0-cp39-cp39-win32.whl", hash = "sha256:6cb0be5e79c3f34d69b90d8559f0221e374b974b809a22377122c4b1a610ff67"},
{file = "lru_dict-1.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:9f725f2a0bdf1c18735372d5807af4ea3b77888208590394d4660e3d07971f21"},
{file = "lru_dict-1.3.0-pp310-pypy310_pp73-macosx_10_9_x86_64.whl", hash = "sha256:f8f7824db5a64581180ab9d09842e6dd9fcdc46aac9cb592a0807cd37ea55680"},
{file = "lru_dict-1.3.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:acd04b7e7b0c0c192d738df9c317093335e7282c64c9d1bb6b7ebb54674b4e24"},
{file = "lru_dict-1.3.0-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e5c20f236f27551e3f0adbf1a987673fb1e9c38d6d284502cd38f5a3845ef681"},
{file = "lru_dict-1.3.0-pp310-pypy310_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:ca3703ff03b03a1848c563bc2663d0ad813c1cd42c4d9cf75b623716d4415d9a"},
{file = "lru_dict-1.3.0-pp310-pypy310_pp73-win_amd64.whl", hash = "sha256:a9fb71ba262c6058a0017ce83d343370d0a0dbe2ae62c2eef38241ec13219330"},
{file = "lru_dict-1.3.0-pp38-pypy38_pp73-macosx_10_9_x86_64.whl", hash = "sha256:f5b88a7c39e307739a3701194993455968fcffe437d1facab93546b1b8a334c1"},
{file = "lru_dict-1.3.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:2682bfca24656fb7a643621520d57b7fe684ed5fa7be008704c1235d38e16a32"},
{file = "lru_dict-1.3.0-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:96fc87ddf569181827458ec5ad8fa446c4690cffacda66667de780f9fcefd44d"},
{file = "lru_dict-1.3.0-pp38-pypy38_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:dcec98e2c7da7631f0811730303abc4bdfe70d013f7a11e174a2ccd5612a7c59"},
{file = "lru_dict-1.3.0-pp38-pypy38_pp73-win_amd64.whl", hash = "sha256:6bba2863060caeaedd8386b0c8ee9a7ce4d57a7cb80ceeddf440b4eff2d013ba"},
{file = "lru_dict-1.3.0-pp39-pypy39_pp73-macosx_10_9_x86_64.whl", hash = "sha256:3c497fb60279f1e1d7dfbe150b1b069eaa43f7e172dab03f206282f4994676c5"},
{file = "lru_dict-1.3.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:8d9509d817a47597988615c1a322580c10100acad10c98dfcf3abb41e0e5877f"},
{file = "lru_dict-1.3.0-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:0213ab4e3d9a8d386c18e485ad7b14b615cb6f05df6ef44fb2a0746c6ea9278b"},
{file = "lru_dict-1.3.0-pp39-pypy39_pp73-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:b50fbd69cd3287196796ab4d50e4cc741eb5b5a01f89d8e930df08da3010c385"},
{file = "lru_dict-1.3.0-pp39-pypy39_pp73-win_amd64.whl", hash = "sha256:5247d1f011f92666010942434020ddc5a60951fefd5d12a594f0e5d9f43e3b3b"},
]
[package.extras]
test = ["pytest"]
[[package]]
name = "packaging"
version = "25.0"
description = "Core utilities for Python packages"
optional = false
python-versions = ">=3.8"
groups = ["dev"]
files = [
{file = "packaging-25.0-py3-none-any.whl", hash = "sha256:29572ef2b1f17581046b3a2227d5c611fb25ec70ca1ba8554b24b0e69331a484"},
{file = "packaging-25.0.tar.gz", hash = "sha256:d443872c98d677bf60f6a1f2f8c1cb748e8fe762d2bf9d3148b5599295b0fc4f"},
]
[[package]]
name = "pluggy"
version = "1.5.0"
description = "plugin and hook calling mechanisms for python"
optional = false
python-versions = ">=3.8"
groups = ["dev"]
files = [
{file = "pluggy-1.5.0-py3-none-any.whl", hash = "sha256:44e1ad92c8ca002de6377e165f3e0f1be63266ab4d554740532335b9d75ea669"},
{file = "pluggy-1.5.0.tar.gz", hash = "sha256:2cffa88e94fdc978c4c574f15f9e59b7f4201d439195c3715ca9e2486f1d0cf1"},
]
[package.extras]
dev = ["pre-commit", "tox"]
testing = ["pytest", "pytest-benchmark"]
[[package]]
name = "pycparser"
version = "2.22"
description = "C parser in Python"
optional = false
python-versions = ">=3.8"
groups = ["main"]
markers = "platform_python_implementation != \"PyPy\""
files = [
{file = "pycparser-2.22-py3-none-any.whl", hash = "sha256:c3702b6d3dd8c7abc1afa565d7e63d53a1d0bd86cdc24edd75470f4de499cfcc"},
{file = "pycparser-2.22.tar.gz", hash = "sha256:491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6"},
]
[[package]]
name = "pyobjc-core"
version = "10.3.2"
description = "Python<->ObjC Interoperability Module"
optional = false
python-versions = ">=3.8"
groups = ["main"]
markers = "platform_system == \"Darwin\""
files = [
{file = "pyobjc_core-10.3.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:acb40672d682851a5c7fd84e5041c4d069b62076168d72591abb5fcc871bb039"},
{file = "pyobjc_core-10.3.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:cea5e77659619ad93c782ca07644b6efe7d7ec6f59e46128843a0a87c1af511a"},
{file = "pyobjc_core-10.3.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:16644a92fb9661de841ba6115e5354db06a1d193a5e239046e840013c7b3874d"},
{file = "pyobjc_core-10.3.2-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:76b8b911d94501dac89821df349b1860bb770dce102a1a293f524b5b09dd9462"},
{file = "pyobjc_core-10.3.2-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:8c6288fdb210b64115760a4504efbc4daffdc390d309e9318eb0e3e3b78d2828"},
{file = "pyobjc_core-10.3.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:87901e9f7032f33eb4fa884e407bf2744d5a0791b379bfca783982a02be3f7fb"},
{file = "pyobjc_core-10.3.2-cp38-cp38-macosx_11_0_universal2.whl", hash = "sha256:636971ab48a4198ca129e149fe58ccf85a7b4a9b93d27f5ae920d88eb2655431"},
{file = "pyobjc_core-10.3.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:48e9ac3af42b2340dae709a8b894f5ef7e5132d8546adcd1797cffcc449dabdc"},
{file = "pyobjc_core-10.3.2.tar.gz", hash = "sha256:dbf1475d864ce594288ce03e94e3a98dc7f0e4639971eb1e312bdf6661c21e0e"},
]
[[package]]
name = "pyobjc-framework-cocoa"
version = "10.3.2"
description = "Wrappers for the Cocoa frameworks on macOS"
optional = false
python-versions = ">=3.8"
groups = ["main"]
markers = "platform_system == \"Darwin\""
files = [
{file = "pyobjc_framework_Cocoa-10.3.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:61f44c2adab28fdf3aa3d593c9497a2d9ceb9583ed9814adb48828c385d83ff4"},
{file = "pyobjc_framework_Cocoa-10.3.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:7caaf8b260e81b27b7b787332846f644b9423bfc1536f6ec24edbde59ab77a87"},
{file = "pyobjc_framework_Cocoa-10.3.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:c49e99fc4b9e613fb308651b99d52a8a9ae9916c8ef27aa2f5d585b6678a59bf"},
{file = "pyobjc_framework_Cocoa-10.3.2-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:f1161b5713f9b9934c12649d73a6749617172e240f9431eff9e22175262fdfda"},
{file = "pyobjc_framework_Cocoa-10.3.2-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:08e48b9ee4eb393447b2b781d16663b954bd10a26927df74f92e924c05568d89"},
{file = "pyobjc_framework_Cocoa-10.3.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:7faa448d2038ae0e0287a326d390002e744bb6470e45995e2dbd16c892e4495a"},
{file = "pyobjc_framework_Cocoa-10.3.2-cp38-cp38-macosx_11_0_universal2.whl", hash = "sha256:fcd53fee2be9708576617994b107aedc2c40824b648cd51e780e8399c0a447b6"},
{file = "pyobjc_framework_Cocoa-10.3.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:838fcf0d10674bde9ff64a3f20c0e188f2dc5e804476d80509b81c4ac1dabc59"},
{file = "pyobjc_framework_cocoa-10.3.2.tar.gz", hash = "sha256:673968e5435845bef969bfe374f31a1a6dc660c98608d2b84d5cae6eafa5c39d"},
]
[package.dependencies]
pyobjc-core = ">=10.3.2"
[[package]]
name = "pyobjc-framework-corebluetooth"
version = "10.3.2"
description = "Wrappers for the framework CoreBluetooth on macOS"
optional = false
python-versions = ">=3.8"
groups = ["main"]
markers = "platform_system == \"Darwin\""
files = [
{file = "pyobjc_framework_CoreBluetooth-10.3.2-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:af3e2f935a6a7e5b009b4cf63c64899592a7b46c3ddcbc8f2e28848842ef65f4"},
{file = "pyobjc_framework_CoreBluetooth-10.3.2-cp36-abi3-macosx_10_13_universal2.whl", hash = "sha256:973b78f47c7e2209a475e60bcc7d1b4a87be6645d39b4e8290ee82640e1cc364"},
{file = "pyobjc_framework_CoreBluetooth-10.3.2-cp36-abi3-macosx_10_9_universal2.whl", hash = "sha256:4bafdf1be15eae48a4878dbbf1bf19877ce28cbbba5baa0267a9564719ee736e"},
{file = "pyobjc_framework_CoreBluetooth-10.3.2-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:4d7dc7494de66c850bda7b173579df7481dc97046fa229d480fe9bf90b2b9651"},
{file = "pyobjc_framework_CoreBluetooth-10.3.2-cp36-abi3-macosx_11_0_universal2.whl", hash = "sha256:62e09e730f4d98384f1b6d44718812195602b3c82d5c78e09f60e8a934e7b266"},
{file = "pyobjc_framework_corebluetooth-10.3.2.tar.gz", hash = "sha256:c0a077bc3a2466271efa382c1e024630bc43cc6f9ab8f3f97431ad08b1ad52bb"},
]
[package.dependencies]
pyobjc-core = ">=10.3.2"
pyobjc-framework-Cocoa = ">=10.3.2"
[[package]]
name = "pyobjc-framework-libdispatch"
version = "10.3.2"
description = "Wrappers for libdispatch on macOS"
optional = false
python-versions = ">=3.8"
groups = ["main"]
markers = "platform_system == \"Darwin\""
files = [
{file = "pyobjc_framework_libdispatch-10.3.2-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:35233a8b1135567c7696087f924e398799467c7f129200b559e8e4fa777af860"},
{file = "pyobjc_framework_libdispatch-10.3.2-cp311-cp311-macosx_10_9_universal2.whl", hash = "sha256:061f6aa0f88d11d993e6546ec734303cb8979f40ae0f5cd23541236a6b426abd"},
{file = "pyobjc_framework_libdispatch-10.3.2-cp312-cp312-macosx_10_13_universal2.whl", hash = "sha256:6bb528f34538f35e1b79d839dbfc398dd426990e190d9301fe2d811fddc3da62"},
{file = "pyobjc_framework_libdispatch-10.3.2-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:1357729d5fded08fbf746834ebeef27bee07d6acb991f3b8366e8f4319d882c4"},
{file = "pyobjc_framework_libdispatch-10.3.2-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:210398f9e1815ceeff49b578bf51c2d6a4a30d4c33f573da322f3d7da1add121"},
{file = "pyobjc_framework_libdispatch-10.3.2-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:e7ae5988ac0b369ad40ce5497af71864fac45c289fa52671009b427f03d6871f"},
{file = "pyobjc_framework_libdispatch-10.3.2-cp38-cp38-macosx_11_0_universal2.whl", hash = "sha256:f9d51d52dff453a4b19c096171a6cd31dd5e665371c00c1d72d480e1c22cd3d4"},
{file = "pyobjc_framework_libdispatch-10.3.2-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:ef755bcabff2ea8db45603a8294818e0eeae85bf0b7b9d59e42f5947a26e33b9"},
{file = "pyobjc_framework_libdispatch-10.3.2.tar.gz", hash = "sha256:e9f4311fbf8df602852557a98d2a64f37a9d363acf4d75634120251bbc7b7304"},
]
[package.dependencies]
pyobjc-core = ">=10.3.2"
pyobjc-framework-Cocoa = ">=10.3.2"
[[package]]
name = "pytest"
version = "8.3.5"
description = "pytest: simple powerful testing with Python"
optional = false
python-versions = ">=3.8"
groups = ["dev"]
files = [
{file = "pytest-8.3.5-py3-none-any.whl", hash = "sha256:c69214aa47deac29fad6c2a4f590b9c4a9fdb16a403176fe154b79c0b4d4d820"},
{file = "pytest-8.3.5.tar.gz", hash = "sha256:f4efe70cc14e511565ac476b57c279e12a855b11f48f212af1080ef2263d3845"},
]
[package.dependencies]
colorama = {version = "*", markers = "sys_platform == \"win32\""}
exceptiongroup = {version = ">=1.0.0rc8", markers = "python_version < \"3.11\""}
iniconfig = "*"
packaging = "*"
pluggy = ">=1.5,<2"
tomli = {version = ">=1", markers = "python_version < \"3.11\""}
[package.extras]
dev = ["argcomplete", "attrs (>=19.2)", "hypothesis (>=3.56)", "mock", "pygments (>=2.7.2)", "requests", "setuptools", "xmlschema"]
[[package]]
name = "pytest-asyncio"
version = "0.26.0"
description = "Pytest support for asyncio"
optional = false
python-versions = ">=3.9"
groups = ["dev"]
files = [
{file = "pytest_asyncio-0.26.0-py3-none-any.whl", hash = "sha256:7b51ed894f4fbea1340262bdae5135797ebbe21d8638978e35d31c6d19f72fb0"},
{file = "pytest_asyncio-0.26.0.tar.gz", hash = "sha256:c4df2a697648241ff39e7f0e4a73050b03f123f760673956cf0d72a4990e312f"},
]
[package.dependencies]
pytest = ">=8.2,<9"
[package.extras]
docs = ["sphinx (>=5.3)", "sphinx-rtd-theme (>=1)"]
testing = ["coverage (>=6.2)", "hypothesis (>=5.7.1)"]
[[package]]
name = "pytest-cov"
version = "6.1.1"
description = "Pytest plugin for measuring coverage."
optional = false
python-versions = ">=3.9"
groups = ["dev"]
files = [
{file = "pytest_cov-6.1.1-py3-none-any.whl", hash = "sha256:bddf29ed2d0ab6f4df17b4c55b0a657287db8684af9c42ea546b21b1041b3dde"},
{file = "pytest_cov-6.1.1.tar.gz", hash = "sha256:46935f7aaefba760e716c2ebfbe1c216240b9592966e7da99ea8292d4d3e2a0a"},
]
[package.dependencies]
coverage = {version = ">=7.5", extras = ["toml"]}
pytest = ">=4.6"
[package.extras]
testing = ["fields", "hunter", "process-tests", "pytest-xdist", "virtualenv"]
[[package]]
name = "tomli"
version = "2.2.1"
description = "A lil' TOML parser"
optional = false
python-versions = ">=3.8"
groups = ["dev"]
markers = "python_full_version <= \"3.11.0a6\""
files = [
{file = "tomli-2.2.1-cp311-cp311-macosx_10_9_x86_64.whl", hash = "sha256:678e4fa69e4575eb77d103de3df8a895e1591b48e740211bd1067378c69e8249"},
{file = "tomli-2.2.1-cp311-cp311-macosx_11_0_arm64.whl", hash = "sha256:023aa114dd824ade0100497eb2318602af309e5a55595f76b626d6d9f3b7b0a6"},
{file = "tomli-2.2.1-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:ece47d672db52ac607a3d9599a9d48dcb2f2f735c6c2d1f34130085bb12b112a"},
{file = "tomli-2.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:6972ca9c9cc9f0acaa56a8ca1ff51e7af152a9f87fb64623e31d5c83700080ee"},
{file = "tomli-2.2.1-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:c954d2250168d28797dd4e3ac5cf812a406cd5a92674ee4c8f123c889786aa8e"},
{file = "tomli-2.2.1-cp311-cp311-musllinux_1_2_aarch64.whl", hash = "sha256:8dd28b3e155b80f4d54beb40a441d366adcfe740969820caf156c019fb5c7ec4"},
{file = "tomli-2.2.1-cp311-cp311-musllinux_1_2_i686.whl", hash = "sha256:e59e304978767a54663af13c07b3d1af22ddee3bb2fb0618ca1593e4f593a106"},
{file = "tomli-2.2.1-cp311-cp311-musllinux_1_2_x86_64.whl", hash = "sha256:33580bccab0338d00994d7f16f4c4ec25b776af3ffaac1ed74e0b3fc95e885a8"},
{file = "tomli-2.2.1-cp311-cp311-win32.whl", hash = "sha256:465af0e0875402f1d226519c9904f37254b3045fc5084697cefb9bdde1ff99ff"},
{file = "tomli-2.2.1-cp311-cp311-win_amd64.whl", hash = "sha256:2d0f2fdd22b02c6d81637a3c95f8cd77f995846af7414c5c4b8d0545afa1bc4b"},
{file = "tomli-2.2.1-cp312-cp312-macosx_10_13_x86_64.whl", hash = "sha256:4a8f6e44de52d5e6c657c9fe83b562f5f4256d8ebbfe4ff922c495620a7f6cea"},
{file = "tomli-2.2.1-cp312-cp312-macosx_11_0_arm64.whl", hash = "sha256:8d57ca8095a641b8237d5b079147646153d22552f1c637fd3ba7f4b0b29167a8"},
{file = "tomli-2.2.1-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:4e340144ad7ae1533cb897d406382b4b6fede8890a03738ff1683af800d54192"},
{file = "tomli-2.2.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:db2b95f9de79181805df90bedc5a5ab4c165e6ec3fe99f970d0e302f384ad222"},
{file = "tomli-2.2.1-cp312-cp312-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:40741994320b232529c802f8bc86da4e1aa9f413db394617b9a256ae0f9a7f77"},
{file = "tomli-2.2.1-cp312-cp312-musllinux_1_2_aarch64.whl", hash = "sha256:400e720fe168c0f8521520190686ef8ef033fb19fc493da09779e592861b78c6"},
{file = "tomli-2.2.1-cp312-cp312-musllinux_1_2_i686.whl", hash = "sha256:02abe224de6ae62c19f090f68da4e27b10af2b93213d36cf44e6e1c5abd19fdd"},
{file = "tomli-2.2.1-cp312-cp312-musllinux_1_2_x86_64.whl", hash = "sha256:b82ebccc8c8a36f2094e969560a1b836758481f3dc360ce9a3277c65f374285e"},
{file = "tomli-2.2.1-cp312-cp312-win32.whl", hash = "sha256:889f80ef92701b9dbb224e49ec87c645ce5df3fa2cc548664eb8a25e03127a98"},
{file = "tomli-2.2.1-cp312-cp312-win_amd64.whl", hash = "sha256:7fc04e92e1d624a4a63c76474610238576942d6b8950a2d7f908a340494e67e4"},
{file = "tomli-2.2.1-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:f4039b9cbc3048b2416cc57ab3bda989a6fcf9b36cf8937f01a6e731b64f80d7"},
{file = "tomli-2.2.1-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:286f0ca2ffeeb5b9bd4fcc8d6c330534323ec51b2f52da063b11c502da16f30c"},
{file = "tomli-2.2.1-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:a92ef1a44547e894e2a17d24e7557a5e85a9e1d0048b0b5e7541f76c5032cb13"},
{file = "tomli-2.2.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:9316dc65bed1684c9a98ee68759ceaed29d229e985297003e494aa825ebb0281"},
{file = "tomli-2.2.1-cp313-cp313-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:e85e99945e688e32d5a35c1ff38ed0b3f41f43fad8df0bdf79f72b2ba7bc5272"},
{file = "tomli-2.2.1-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:ac065718db92ca818f8d6141b5f66369833d4a80a9d74435a268c52bdfa73140"},
{file = "tomli-2.2.1-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:d920f33822747519673ee656a4b6ac33e382eca9d331c87770faa3eef562aeb2"},
{file = "tomli-2.2.1-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:a198f10c4d1b1375d7687bc25294306e551bf1abfa4eace6650070a5c1ae2744"},
{file = "tomli-2.2.1-cp313-cp313-win32.whl", hash = "sha256:d3f5614314d758649ab2ab3a62d4f2004c825922f9e370b29416484086b264ec"},
{file = "tomli-2.2.1-cp313-cp313-win_amd64.whl", hash = "sha256:a38aa0308e754b0e3c67e344754dff64999ff9b513e691d0e786265c93583c69"},
{file = "tomli-2.2.1-py3-none-any.whl", hash = "sha256:cb55c73c5f4408779d0cf3eef9f762b9c9f147a77de7b258bef0a5628adc85cc"},
{file = "tomli-2.2.1.tar.gz", hash = "sha256:cd45e1dc79c835ce60f7404ec8119f2eb06d38b1deba146f07ced3bbc44505ff"},
]
[[package]]
name = "typing-extensions"
version = "4.13.2"
description = "Backported and Experimental Type Hints for Python 3.8+"
optional = false
python-versions = ">=3.8"
groups = ["main"]
markers = "python_version < \"3.12\""
files = [
{file = "typing_extensions-4.13.2-py3-none-any.whl", hash = "sha256:a439e7c04b49fec3e5d3e2beaa21755cadbbdc391694e28ccdd36ca4a1408f8c"},
{file = "typing_extensions-4.13.2.tar.gz", hash = "sha256:e6c81219bd689f51865d9e372991c540bda33a0379d5573cddb9a3a23f7caaef"},
]
[[package]]
name = "uart-devices"
version = "0.1.1"
description = "UART Devices for Linux"
optional = false
python-versions = "<4.0,>=3.9"
groups = ["main"]
markers = "platform_system == \"Linux\""
files = [
{file = "uart_devices-0.1.1-py3-none-any.whl", hash = "sha256:55bc8cce66465e90b298f0910e5c496bc7be021341c5455954cf61c6253dc123"},
{file = "uart_devices-0.1.1.tar.gz", hash = "sha256:3a52c4ae0f5f7400ebe1ae5f6e2a2d40cc0b7f18a50e895236535c4e53c6ed34"},
]
[[package]]
name = "usb-devices"
version = "0.4.5"
description = "Tools for mapping, describing, and resetting USB devices"
optional = false
python-versions = ">=3.9,<4.0"
groups = ["main"]
markers = "platform_system == \"Linux\""
files = [
{file = "usb_devices-0.4.5-py3-none-any.whl", hash = "sha256:8a415219ef1395e25aa0bddcad484c88edf9673acdeae8a07223ca7222a01dcf"},
{file = "usb_devices-0.4.5.tar.gz", hash = "sha256:9b5c7606df2bc791c6c45b7f76244a0cbed83cb6fa4c68791a143c03345e195d"},
]
[[package]]
name = "winrt-runtime"
version = "2.3.0"
description = "Python projection of Windows Runtime (WinRT) APIs"
optional = false
python-versions = "<3.14,>=3.9"
groups = ["main"]
markers = "platform_system == \"Windows\" and python_version >= \"3.12\""
files = [
{file = "winrt_runtime-2.3.0-cp310-cp310-win32.whl", hash = "sha256:5c22ed339b420a6026134e28281b25078a9e6755eceb494dce5d42ee5814e3fd"},
{file = "winrt_runtime-2.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:f3ef0d6b281a8d4155ea14a0f917faf82a004d4996d07beb2b3d2af191503fb1"},
{file = "winrt_runtime-2.3.0-cp310-cp310-win_arm64.whl", hash = "sha256:93ce23df52396ed89dfe659ee0e1a968928e526b9c577942d4a54ad55b333644"},
{file = "winrt_runtime-2.3.0-cp311-cp311-win32.whl", hash = "sha256:352d70864846fd7ec89703845b82a35cef73f42d178a02a4635a38df5a61c0f8"},
{file = "winrt_runtime-2.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:286e6036af4903dd830398103c3edd110a46432347e8a52ba416d937c0e1f5f9"},
{file = "winrt_runtime-2.3.0-cp311-cp311-win_arm64.whl", hash = "sha256:44d0f0f48f2f10c02b885989e8bbac41d7bf9c03550b20ddf562100356fca7a9"},
{file = "winrt_runtime-2.3.0-cp312-cp312-win32.whl", hash = "sha256:03d3e4aedc65832e57c0dbf210ec2a9d7fb2819c74d420ba889b323e9fa5cf28"},
{file = "winrt_runtime-2.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:0dc636aec2f4ee6c3849fa59dae10c128f4a908f0ce452e91af65d812ea66dcb"},
{file = "winrt_runtime-2.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:d9f140c71e4f3bf7bf7d6853b246eab2e1632c72f218ff163aa41a74b576736f"},
{file = "winrt_runtime-2.3.0-cp313-cp313-win32.whl", hash = "sha256:77f06df6b7a6cb536913ae455e30c1733d31d88dafe2c3cd8c3d0e2bcf7e2a20"},
{file = "winrt_runtime-2.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:7388774b74ea2f4510ab3a98c95af296665ebe69d9d7e2fd7ee2c3fc5856099e"},
{file = "winrt_runtime-2.3.0-cp313-cp313-win_arm64.whl", hash = "sha256:0d3a4ac7661cad492d51653054e63328b940a6083c1ee1dd977f90069cb8afaa"},
{file = "winrt_runtime-2.3.0-cp39-cp39-win32.whl", hash = "sha256:cd7bce2c7703054e7f64d11be665e9728e15d9dae0d952a51228fe830e0c4b55"},
{file = "winrt_runtime-2.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:2da01af378ab9374a3a933da97543f471a676a3b844318316869bffeff811e8a"},
{file = "winrt_runtime-2.3.0-cp39-cp39-win_arm64.whl", hash = "sha256:1c6bbfcc7cbe1c8159ed5d776b30b7f1cbc2c6990803292823b0788c22d75636"},
{file = "winrt_runtime-2.3.0.tar.gz", hash = "sha256:bb895a2b8c74b375781302215e2661914369c625aa1f8df84f8d37691b22db77"},
]
[[package]]
name = "winrt-windows-devices-bluetooth"
version = "2.3.0"
description = "Python projection of Windows Runtime (WinRT) APIs"
optional = false
python-versions = "<3.14,>=3.9"
groups = ["main"]
markers = "platform_system == \"Windows\" and python_version >= \"3.12\""
files = [
{file = "winrt_Windows.Devices.Bluetooth-2.3.0-cp310-cp310-win32.whl", hash = "sha256:554aa6d0ca4bebc22a45f19fa60db1183a2b5643468f3c95cf0ebc33fbc1b0d0"},
{file = "winrt_Windows.Devices.Bluetooth-2.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:cec2682e10431f027c1823647772671fb09bebc1e8a00021a3651120b846d36f"},
{file = "winrt_Windows.Devices.Bluetooth-2.3.0-cp310-cp310-win_arm64.whl", hash = "sha256:b4d42faef99845de2aded4c75c906f03cc3ba3df51fb4435e4cc88a19168cf99"},
{file = "winrt_Windows.Devices.Bluetooth-2.3.0-cp311-cp311-win32.whl", hash = "sha256:64e0992175d4d5a1160179a8c586c2202a0edbd47a5b6da4efdbc8bb601f2f99"},
{file = "winrt_Windows.Devices.Bluetooth-2.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:0830111c077508b599062fbe2d817203e4efa3605bd209cf4a3e03388ec39dda"},
{file = "winrt_Windows.Devices.Bluetooth-2.3.0-cp311-cp311-win_arm64.whl", hash = "sha256:3943d538cb7b6bde3fd8741591eb6e23487ee9ee6284f05428b205e7d10b6d92"},
{file = "winrt_Windows.Devices.Bluetooth-2.3.0-cp312-cp312-win32.whl", hash = "sha256:544ed169039e6d5e250323cc18c87967cfeb4d3d09ce354fd7c5fd2283f3bb98"},
{file = "winrt_Windows.Devices.Bluetooth-2.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:f7becf095bf9bc999629fcb6401a88b879c3531b3c55c820e63259c955ddc06c"},
{file = "winrt_Windows.Devices.Bluetooth-2.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:a6a2980409c855b4e5dab0be9bde9f30236292ac1fc994df959fa5a518cd6690"},
{file = "winrt_Windows.Devices.Bluetooth-2.3.0-cp313-cp313-win32.whl", hash = "sha256:82f443be43379d4762e72633047c82843c873b6f26428a18855ca7b53e1958d7"},
{file = "winrt_Windows.Devices.Bluetooth-2.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:8b407da87ab52315c2d562a75d824dcafcae6e1628031cdb971072a47eb78ff0"},
{file = "winrt_Windows.Devices.Bluetooth-2.3.0-cp313-cp313-win_arm64.whl", hash = "sha256:e36d0b487bc5b64662b8470085edf8bfa5a220d7afc4f2e8d7faa3e3ac2bae80"},
{file = "winrt_Windows.Devices.Bluetooth-2.3.0-cp39-cp39-win32.whl", hash = "sha256:6553023433edf5a75767e8962bf492d0623036975c7d8373d5bbccc633a77bbc"},
{file = "winrt_Windows.Devices.Bluetooth-2.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:77bdeadb043190c40ebbad462cd06e38b6461bc976bc67daf587e9395c387aae"},
{file = "winrt_Windows.Devices.Bluetooth-2.3.0-cp39-cp39-win_arm64.whl", hash = "sha256:c588ab79b534fedecce48f7082b419315e8d797d0120556166492e603e90d932"},
{file = "winrt_windows_devices_bluetooth-2.3.0.tar.gz", hash = "sha256:a1204b71c369a0399ec15d9a7b7c67990dd74504e486b839bf81825bd381a837"},
]
[package.dependencies]
winrt-runtime = "2.3.0"
[package.extras]
all = ["winrt-Windows.Devices.Bluetooth.GenericAttributeProfile[all] (==2.3.0)", "winrt-Windows.Devices.Bluetooth.Rfcomm[all] (==2.3.0)", "winrt-Windows.Devices.Enumeration[all] (==2.3.0)", "winrt-Windows.Devices.Radios[all] (==2.3.0)", "winrt-Windows.Foundation.Collections[all] (==2.3.0)", "winrt-Windows.Foundation[all] (==2.3.0)", "winrt-Windows.Networking[all] (==2.3.0)", "winrt-Windows.Storage.Streams[all] (==2.3.0)"]
[[package]]
name = "winrt-windows-devices-bluetooth-advertisement"
version = "2.3.0"
description = "Python projection of Windows Runtime (WinRT) APIs"
optional = false
python-versions = "<3.14,>=3.9"
groups = ["main"]
markers = "platform_system == \"Windows\" and python_version >= \"3.12\""
files = [
{file = "winrt_Windows.Devices.Bluetooth.Advertisement-2.3.0-cp310-cp310-win32.whl", hash = "sha256:4386498e7794ed383542ea868f0aa2dd8fb5f09f12bdffde024d12bd9f5a3756"},
{file = "winrt_Windows.Devices.Bluetooth.Advertisement-2.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:d6fa25b2541d2898ae17982e86e0977a639b04f75119612cb46e1719474513fd"},
{file = "winrt_Windows.Devices.Bluetooth.Advertisement-2.3.0-cp310-cp310-win_arm64.whl", hash = "sha256:b200ff5acd181353f61f5b6446176faf78a61867d8c1d21e77a15e239d2cdf6b"},
{file = "winrt_Windows.Devices.Bluetooth.Advertisement-2.3.0-cp311-cp311-win32.whl", hash = "sha256:e56ad277813b48e35a3074f286c55a7a25884676e23ef9c3fc12349a42cb8fa4"},
{file = "winrt_Windows.Devices.Bluetooth.Advertisement-2.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:d6533fef6a5914dc8d519b83b1841becf6fd2f37163d6e07df318a6a6118f194"},
{file = "winrt_Windows.Devices.Bluetooth.Advertisement-2.3.0-cp311-cp311-win_arm64.whl", hash = "sha256:8f4369cb0108f8ee0cace559f9870b00a4dde3fc1abd52f84adba08bc733825c"},
{file = "winrt_Windows.Devices.Bluetooth.Advertisement-2.3.0-cp312-cp312-win32.whl", hash = "sha256:d729d989acd7c1d703e2088299b6e219089a415db4a7b80cd52fdc507ec3ce95"},
{file = "winrt_Windows.Devices.Bluetooth.Advertisement-2.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:1d3d258d4388a2b46f2e46f2fbdede1bf327eaa9c2dd4605f8a7fe454077c49e"},
{file = "winrt_Windows.Devices.Bluetooth.Advertisement-2.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:d8c12457b00a79f8f1058d7a51bd8e7f177fb66e31389469e75b1104f6358921"},
{file = "winrt_Windows.Devices.Bluetooth.Advertisement-2.3.0-cp313-cp313-win32.whl", hash = "sha256:ac1e55a350881f82cb51e162cb7a4b5d9359e9e5fbde922de802404a951d64ec"},
{file = "winrt_Windows.Devices.Bluetooth.Advertisement-2.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:0fc339340fb8be21c1c829816a49dc31b986c6d602d113d4a49ee8ffaf0e2396"},
{file = "winrt_Windows.Devices.Bluetooth.Advertisement-2.3.0-cp313-cp313-win_arm64.whl", hash = "sha256:da63d9c56edcb3b2d5135e65cc8c9c4658344dd480a8a2daf45beb2106f17874"},
{file = "winrt_Windows.Devices.Bluetooth.Advertisement-2.3.0-cp39-cp39-win32.whl", hash = "sha256:e98c6ae4b0afd3e4f3ab4fa06e84d6017ff9242146a64e3bad73f7f34183a076"},
{file = "winrt_Windows.Devices.Bluetooth.Advertisement-2.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:cdc485f4143fbbb3ae0c9c9ad03b1021a5cb233c6df65bf56ac14f8e22c918c3"},
{file = "winrt_Windows.Devices.Bluetooth.Advertisement-2.3.0-cp39-cp39-win_arm64.whl", hash = "sha256:7af519cc895be84d6974e9f70d102545a5e8db05e065903b0fd84521218e60a9"},
{file = "winrt_windows_devices_bluetooth_advertisement-2.3.0.tar.gz", hash = "sha256:c8adbec690b765ca70337c35efec9910b0937a40a0a242184ea295367137f81c"},
]
[package.dependencies]
winrt-runtime = "2.3.0"
[package.extras]
all = ["winrt-Windows.Devices.Bluetooth[all] (==2.3.0)", "winrt-Windows.Foundation.Collections[all] (==2.3.0)", "winrt-Windows.Foundation[all] (==2.3.0)", "winrt-Windows.Storage.Streams[all] (==2.3.0)"]
[[package]]
name = "winrt-windows-devices-bluetooth-genericattributeprofile"
version = "2.3.0"
description = "Python projection of Windows Runtime (WinRT) APIs"
optional = false
python-versions = "<3.14,>=3.9"
groups = ["main"]
markers = "platform_system == \"Windows\" and python_version >= \"3.12\""
files = [
{file = "winrt_Windows.Devices.Bluetooth.GenericAttributeProfile-2.3.0-cp310-cp310-win32.whl", hash = "sha256:1ec75b107370827874d8435a47852d0459cb66d5694e02a833e0a75c4748e847"},
{file = "winrt_Windows.Devices.Bluetooth.GenericAttributeProfile-2.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:0a178aa936abbc56ae1cc54a222dee4a34ce6c09506a5b592d4f7d04dbe76b95"},
{file = "winrt_Windows.Devices.Bluetooth.GenericAttributeProfile-2.3.0-cp310-cp310-win_arm64.whl", hash = "sha256:b7067b8578e19ad17b28694090d5b000fee57db5b219462155961b685d71fba5"},
{file = "winrt_Windows.Devices.Bluetooth.GenericAttributeProfile-2.3.0-cp311-cp311-win32.whl", hash = "sha256:e0aeba201e20b6c4bc18a4336b5b07d653d4ab4c9c17a301613db680a346cd5e"},
{file = "winrt_Windows.Devices.Bluetooth.GenericAttributeProfile-2.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:f87b3995de18b98075ec2b02afc7252873fa75e7c840eb770d7bfafb4fda5c12"},
{file = "winrt_Windows.Devices.Bluetooth.GenericAttributeProfile-2.3.0-cp311-cp311-win_arm64.whl", hash = "sha256:7dccce04ec076666001efca8e2484d0ec444b2302ae150ef184aa253b8cfba09"},
{file = "winrt_Windows.Devices.Bluetooth.GenericAttributeProfile-2.3.0-cp312-cp312-win32.whl", hash = "sha256:1b97ef2ab9c9f5bae984989a47565d0d19c84969d74982a2664a4a3485cb8274"},
{file = "winrt_Windows.Devices.Bluetooth.GenericAttributeProfile-2.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:5fac2c7b301fa70e105785d7504176c76e4d824fc3823afed4d1ab6a7682272c"},
{file = "winrt_Windows.Devices.Bluetooth.GenericAttributeProfile-2.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:353fdccf2398b2a12e0835834cff8143a7efd9ba877fb5820fdcce531732b500"},
{file = "winrt_Windows.Devices.Bluetooth.GenericAttributeProfile-2.3.0-cp313-cp313-win32.whl", hash = "sha256:f414f793767ccc56d055b1c74830efb51fa4cbdc9163847b1a38b1ee35778f49"},
{file = "winrt_Windows.Devices.Bluetooth.GenericAttributeProfile-2.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:8ef35d9cda5bbdcc55aa7eaf143ab873227d6ee467aaf28edbd2428f229e7c94"},
{file = "winrt_Windows.Devices.Bluetooth.GenericAttributeProfile-2.3.0-cp313-cp313-win_arm64.whl", hash = "sha256:6a9e7308ba264175c2a9ee31f6cf1d647cb35ee9a1da7350793d8fe033a6b9b8"},
{file = "winrt_Windows.Devices.Bluetooth.GenericAttributeProfile-2.3.0-cp39-cp39-win32.whl", hash = "sha256:aea58f7e484cf3480ab9472a3e99b61c157b8a47baae8694bc7400ea5335f5dc"},
{file = "winrt_Windows.Devices.Bluetooth.GenericAttributeProfile-2.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:992b792a9e7f5771ccdc18eec4e526a11f23b75d9be5de3ec552ff719333897a"},
{file = "winrt_Windows.Devices.Bluetooth.GenericAttributeProfile-2.3.0-cp39-cp39-win_arm64.whl", hash = "sha256:66b030a9cc6099dafe4253239e8e625cc063bb9bb115bebed6260d92dd86f6b1"},
{file = "winrt_windows_devices_bluetooth_genericattributeprofile-2.3.0.tar.gz", hash = "sha256:f40f94bf2f7243848dc10e39cfde76c9044727a05e7e5dfb8cb7f062f3fd3dda"},
]
[package.dependencies]
winrt-runtime = "2.3.0"
[package.extras]
all = ["winrt-Windows.Devices.Bluetooth[all] (==2.3.0)", "winrt-Windows.Devices.Enumeration[all] (==2.3.0)", "winrt-Windows.Foundation.Collections[all] (==2.3.0)", "winrt-Windows.Foundation[all] (==2.3.0)", "winrt-Windows.Storage.Streams[all] (==2.3.0)"]
[[package]]
name = "winrt-windows-devices-enumeration"
version = "2.3.0"
description = "Python projection of Windows Runtime (WinRT) APIs"
optional = false
python-versions = "<3.14,>=3.9"
groups = ["main"]
markers = "platform_system == \"Windows\" and python_version >= \"3.12\""
files = [
{file = "winrt_Windows.Devices.Enumeration-2.3.0-cp310-cp310-win32.whl", hash = "sha256:461360ab47967f39721e71276fdcfe87ad2f71ba7b09d721f2f88bcdf16a6924"},
{file = "winrt_Windows.Devices.Enumeration-2.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:a7d7b01d43d5dcc1f3846db12f4c552155efae75469f36052623faed7f0f74a8"},
{file = "winrt_Windows.Devices.Enumeration-2.3.0-cp310-cp310-win_arm64.whl", hash = "sha256:6478fbe6f45172a9911c15b061ec9b0f30c9f4845ba3fd1e9e1bb78c1fb691c4"},
{file = "winrt_Windows.Devices.Enumeration-2.3.0-cp311-cp311-win32.whl", hash = "sha256:30be5cba8e9e81ea8dd514ba1300b5bb14ad7cc4e32efe908ddddd14c73e7f61"},
{file = "winrt_Windows.Devices.Enumeration-2.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:86c2a1865e0a0146dd4f51f17e3d773d3e6732742f61838c05061f28738c6dbd"},
{file = "winrt_Windows.Devices.Enumeration-2.3.0-cp311-cp311-win_arm64.whl", hash = "sha256:1b50d9304e49a9f04bc8139831b75be968ff19a1f50529d5eb0081dae2103d92"},
{file = "winrt_Windows.Devices.Enumeration-2.3.0-cp312-cp312-win32.whl", hash = "sha256:42ed0349f0290a1b0a101425a06196c5d5db1240db6f8bd7d2204f23c48d727b"},
{file = "winrt_Windows.Devices.Enumeration-2.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:83e385fbf85b9511699d33c659673611f42b98bd3a554a85b377a34cc3b68b2e"},
{file = "winrt_Windows.Devices.Enumeration-2.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:26f855caee61c12449c6b07e22ea1ad470f8daa24223d8581e1fe622c70b48a8"},
{file = "winrt_Windows.Devices.Enumeration-2.3.0-cp313-cp313-win32.whl", hash = "sha256:a5f2cff6ee584e5627a2246bdbcd1b3a3fd1e7ae0741f62c59f7d5a5650d5791"},
{file = "winrt_Windows.Devices.Enumeration-2.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:7516171521aa383ccdc8f422cc202979a2359d0d1256f22852bfb0b55d9154f0"},
{file = "winrt_Windows.Devices.Enumeration-2.3.0-cp313-cp313-win_arm64.whl", hash = "sha256:80d01dfffe4b548439242f3f7a737189354768b203cca023dc29b267dfe5595a"},
{file = "winrt_Windows.Devices.Enumeration-2.3.0-cp39-cp39-win32.whl", hash = "sha256:990a375cd8edc2d30b939a49dcc1349ede3a4b8e4da78baf0de5e5711d3a4f00"},
{file = "winrt_Windows.Devices.Enumeration-2.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:2e7bedf0eac2066d7d37b1d34071b95bb57024e9e083867be1d24e916e012ac0"},
{file = "winrt_Windows.Devices.Enumeration-2.3.0-cp39-cp39-win_arm64.whl", hash = "sha256:c53b673b80ba794f1c1320a5e0a14d795193c3f64b8132ebafba2f49c7301c2f"},
{file = "winrt_windows_devices_enumeration-2.3.0.tar.gz", hash = "sha256:a14078aac41432781acb0c950fcdcdeb096e2f80f7591a3d46435f30221fc3eb"},
]
[package.dependencies]
winrt-runtime = "2.3.0"
[package.extras]
all = ["winrt-Windows.ApplicationModel.Background[all] (==2.3.0)", "winrt-Windows.Foundation.Collections[all] (==2.3.0)", "winrt-Windows.Foundation[all] (==2.3.0)", "winrt-Windows.Security.Credentials[all] (==2.3.0)", "winrt-Windows.Storage.Streams[all] (==2.3.0)", "winrt-Windows.UI.Popups[all] (==2.3.0)", "winrt-Windows.UI[all] (==2.3.0)"]
[[package]]
name = "winrt-windows-foundation"
version = "2.3.0"
description = "Python projection of Windows Runtime (WinRT) APIs"
optional = false
python-versions = "<3.14,>=3.9"
groups = ["main"]
markers = "platform_system == \"Windows\" and python_version >= \"3.12\""
files = [
{file = "winrt_Windows.Foundation-2.3.0-cp310-cp310-win32.whl", hash = "sha256:ea7b0e82be5c05690fedaf0dac5aa5e5fefd7ebf90b1497e5993197d305d916d"},
{file = "winrt_Windows.Foundation-2.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:6807dd40f8ecd6403679f6eae0db81674fdcf33768d08fdee66e0a17b7a02515"},
{file = "winrt_Windows.Foundation-2.3.0-cp310-cp310-win_arm64.whl", hash = "sha256:0a861815e97ace82583210c03cf800507b0c3a97edd914bfffa5f88de1fbafcc"},
{file = "winrt_Windows.Foundation-2.3.0-cp311-cp311-win32.whl", hash = "sha256:c79b3d9384128b6b28c2483b4600f15c5d32c1f6646f9d77fdb3ee9bbaef6f81"},
{file = "winrt_Windows.Foundation-2.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:fdd9c4914070dc598f5961d9c7571dd7d745f5cc60347603bf39d6ee921bd85c"},
{file = "winrt_Windows.Foundation-2.3.0-cp311-cp311-win_arm64.whl", hash = "sha256:62bbb0ffa273551d33fd533d6e09b6f9f633dc214225d483722af47d2525fb84"},
{file = "winrt_Windows.Foundation-2.3.0-cp312-cp312-win32.whl", hash = "sha256:d36f472ac258e79eee6061e1bb4ce50bfd200f9271392d23479c800ca6aee8d1"},
{file = "winrt_Windows.Foundation-2.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:8de9b5e95a3fdabdb45b1952e05355dd5a678f80bf09a54d9f966dccc805b383"},
{file = "winrt_Windows.Foundation-2.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:37da09c08c9c772baedb1958e5ee116fe63809f33c6820c69750f340b3dda292"},
{file = "winrt_Windows.Foundation-2.3.0-cp313-cp313-win32.whl", hash = "sha256:2b00fad3f2a3859ccae41eee12ab44434813a371c2f3003b4f2419e5eecb4832"},
{file = "winrt_Windows.Foundation-2.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:686619932b2a2c689cbebc7f5196437a45fd2056656ef130bb10240bb111086a"},
{file = "winrt_Windows.Foundation-2.3.0-cp313-cp313-win_arm64.whl", hash = "sha256:b38dcb83fe82a7da9a57d7d5ad5deb09503b5be6d9357a9fd3016ca31673805d"},
{file = "winrt_Windows.Foundation-2.3.0-cp39-cp39-win32.whl", hash = "sha256:2d6922de4dc38061b86d314c7319d7c6bd78a52d64ee0c93eb81474bddb499bc"},
{file = "winrt_Windows.Foundation-2.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:1513e43adff3779d2f611d8bdf9350ac1a7c04389e9e6b1d777c5cd54f46e4fc"},
{file = "winrt_Windows.Foundation-2.3.0-cp39-cp39-win_arm64.whl", hash = "sha256:c811e4a4f79b947fbbb50f74d34ef6840dd2dd26e0199bd61a4185e48c6a84a8"},
{file = "winrt_windows_foundation-2.3.0.tar.gz", hash = "sha256:c5766f011c8debbe89b460af4a97d026ca252144e62d7278c9c79c5581ea0c02"},
]
[package.dependencies]
winrt-runtime = "2.3.0"
[package.extras]
all = ["winrt-Windows.Foundation.Collections[all] (==2.3.0)"]
[[package]]
name = "winrt-windows-foundation-collections"
version = "2.3.0"
description = "Python projection of Windows Runtime (WinRT) APIs"
optional = false
python-versions = "<3.14,>=3.9"
groups = ["main"]
markers = "platform_system == \"Windows\" and python_version >= \"3.12\""
files = [
{file = "winrt_Windows.Foundation.Collections-2.3.0-cp310-cp310-win32.whl", hash = "sha256:d2fca59eef9582a33c2797b1fda1d5757d66827cc34e6fc1d1c94a5875c4c043"},
{file = "winrt_Windows.Foundation.Collections-2.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:d14b47d9137aebad71aa4fde5892673f2fa326f5f4799378cb9f6158b07a9824"},
{file = "winrt_Windows.Foundation.Collections-2.3.0-cp310-cp310-win_arm64.whl", hash = "sha256:cca5398a4522dffd76decf64a28368cda67e81dc01cad35a9f39cc351af69bdd"},
{file = "winrt_Windows.Foundation.Collections-2.3.0-cp311-cp311-win32.whl", hash = "sha256:3808af64c95a9b464e8e97f6bec57a8b22168185f1c893f30de69aaf48c85b17"},
{file = "winrt_Windows.Foundation.Collections-2.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:1e9a3842a39feb965545124abfe79ed726adc5a1fc6a192470a3c5d3ec3f7a74"},
{file = "winrt_Windows.Foundation.Collections-2.3.0-cp311-cp311-win_arm64.whl", hash = "sha256:751c2a68fef080dfe0af892ef4cebf317844e4baa786e979028757fe2740fba4"},
{file = "winrt_Windows.Foundation.Collections-2.3.0-cp312-cp312-win32.whl", hash = "sha256:498c1fc403d3dc7a091aaac92af471615de4f9550d544347cb3b169c197183b5"},
{file = "winrt_Windows.Foundation.Collections-2.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:4d1b1cacc159f38d8e6b662f6e7a5c41879a36aa7434c1580d7f948c9037419e"},
{file = "winrt_Windows.Foundation.Collections-2.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:398d93b76a2cf70d5e75c1f802e1dd856501e63bc9a31f4510ac59f718951b9e"},
{file = "winrt_Windows.Foundation.Collections-2.3.0-cp313-cp313-win32.whl", hash = "sha256:1e5f1637e0919c7bb5b11ba1eebbd43bc0ad9600cf887b59fcece0f8a6c0eac3"},
{file = "winrt_Windows.Foundation.Collections-2.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:c809a70bc0f93d53c7289a0a86d8869740e09fff0c57318a14401f5c17e0b912"},
{file = "winrt_Windows.Foundation.Collections-2.3.0-cp313-cp313-win_arm64.whl", hash = "sha256:269942fe86af06293a2676c8b2dcd5cb1d8ddfe1b5244f11c16e48ae0a5d100f"},
{file = "winrt_Windows.Foundation.Collections-2.3.0-cp39-cp39-win32.whl", hash = "sha256:936b1c5720b564ec699673198addee97f3bdb790622d24c8fd1b346a9767717c"},
{file = "winrt_Windows.Foundation.Collections-2.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:905a6ac9cd6b51659a9bba08cf44cfc925f528ef34cdd9c3a6c2632e97804a96"},
{file = "winrt_Windows.Foundation.Collections-2.3.0-cp39-cp39-win_arm64.whl", hash = "sha256:1d6eac85976bd831e1b8cc479d7f14afa51c27cec5a38e2540077d3400cbd3ef"},
{file = "winrt_windows_foundation_collections-2.3.0.tar.gz", hash = "sha256:15c997fd6b64ef0400a619319ea3c6851c9c24e31d51b6448ba9bac3616d25a0"},
]
[package.dependencies]
winrt-runtime = "2.3.0"
[package.extras]
all = ["winrt-Windows.Foundation[all] (==2.3.0)"]
[[package]]
name = "winrt-windows-storage-streams"
version = "2.3.0"
description = "Python projection of Windows Runtime (WinRT) APIs"
optional = false
python-versions = "<3.14,>=3.9"
groups = ["main"]
markers = "platform_system == \"Windows\" and python_version >= \"3.12\""
files = [
{file = "winrt_Windows.Storage.Streams-2.3.0-cp310-cp310-win32.whl", hash = "sha256:2c0901aee1232e92ed9320644b853d7801a0bdb87790164d56e961cd39910f07"},
{file = "winrt_Windows.Storage.Streams-2.3.0-cp310-cp310-win_amd64.whl", hash = "sha256:ba07dc25decffd29aa8603119629c167bd03fa274099e3bad331a4920c292b78"},
{file = "winrt_Windows.Storage.Streams-2.3.0-cp310-cp310-win_arm64.whl", hash = "sha256:5b60b48460095c50a00a6f7f9b3b780f5bdcb1ec663fc09458201499f93e23ea"},
{file = "winrt_Windows.Storage.Streams-2.3.0-cp311-cp311-win32.whl", hash = "sha256:8388f37759df64ceef1423ae7dd9275c8a6eb3b8245d400173b4916adc94b5ad"},
{file = "winrt_Windows.Storage.Streams-2.3.0-cp311-cp311-win_amd64.whl", hash = "sha256:e5783dbe3694cc3deda594256ebb1088655386959bb834a6bfb7cd763ee87631"},
{file = "winrt_Windows.Storage.Streams-2.3.0-cp311-cp311-win_arm64.whl", hash = "sha256:0a487d19c73b82aafa3d5ef889bb35e6e8e2487ca4f16f5446f2445033d5219c"},
{file = "winrt_Windows.Storage.Streams-2.3.0-cp312-cp312-win32.whl", hash = "sha256:272e87e6c74cb2832261ab33db7966a99e7a2400240cc4f8bf526a80ca054c68"},
{file = "winrt_Windows.Storage.Streams-2.3.0-cp312-cp312-win_amd64.whl", hash = "sha256:997bf1a2d52c5f104b172947e571f27d9916a4409b4da592ec3e7f907848dd1a"},
{file = "winrt_Windows.Storage.Streams-2.3.0-cp312-cp312-win_arm64.whl", hash = "sha256:d56daa00205c24ede6669d41eb70d6017e0202371d99f8ee2b0b31350ab59bd5"},
{file = "winrt_Windows.Storage.Streams-2.3.0-cp313-cp313-win32.whl", hash = "sha256:7ac4e46fc5e21d8badc5d41779273c3f5e7196f1cf2df1959b6b70eca1d5d85f"},
{file = "winrt_Windows.Storage.Streams-2.3.0-cp313-cp313-win_amd64.whl", hash = "sha256:1460027c94c107fcee484997494f3a400f08ee40396f010facb0e72b3b74c457"},
{file = "winrt_Windows.Storage.Streams-2.3.0-cp313-cp313-win_arm64.whl", hash = "sha256:e4553a70f5264a7733596802a2991e2414cdcd5e396b9d11ee87be9abae9329e"},
{file = "winrt_Windows.Storage.Streams-2.3.0-cp39-cp39-win32.whl", hash = "sha256:28e1117e23046e499831af16d11f5e61e6066ed6247ef58b93738702522c29b0"},
{file = "winrt_Windows.Storage.Streams-2.3.0-cp39-cp39-win_amd64.whl", hash = "sha256:5511dc578f92eb303aee4d3345ee4ffc88aa414564e43e0e3d84ff29427068f0"},
{file = "winrt_Windows.Storage.Streams-2.3.0-cp39-cp39-win_arm64.whl", hash = "sha256:6f5b3f8af4df08f5bf9329373949236ffaef22d021070278795e56da5326a876"},
{file = "winrt_windows_storage_streams-2.3.0.tar.gz", hash = "sha256:d2c010beeb1dd7c135ed67ecfaea13440474a7c469e2e9aa2852db27d2063d44"},
]
[package.dependencies]
winrt-runtime = "2.3.0"
[package.extras]
all = ["winrt-Windows.Foundation.Collections[all] (==2.3.0)", "winrt-Windows.Foundation[all] (==2.3.0)", "winrt-Windows.Storage[all] (==2.3.0)", "winrt-Windows.System[all] (==2.3.0)"]
[metadata]
lock-version = "2.1"
python-versions = ">=3.10,<3.14"
content-hash = "d7048dee43e16ab0c5ce162a3602056b30a1f8026c9a06d61535182637e6a8fe"
yalexs-ble-3.0.0/pyproject.toml 0000664 0000000 0000000 00000004434 15005200656 0016477 0 ustar 00root root 0000000 0000000 [project]
name = "yalexs-ble"
version = "3.0.0"
description = "Bluetooth control of Yale and August locks"
authors = [{ name = "J. Nick Koston", email = "nick@koston.org" }]
license = "GPL-3.0-only"
readme = "README.md"
requires-python = ">=3.10"
dynamic = ["classifiers", "dependencies"]
[project.urls]
"Documentation" = "https://yalexs-ble.readthedocs.io"
"Repository" = "https://github.com/bdraco/yalexs-ble"
"Bug Tracker" = "https://github.com/bdraco/yalexs-ble/issues"
"Changelog" = "https://github.com/bdraco/yalexs-ble/blob/main/CHANGELOG.md"
[tool.poetry]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"Natural Language :: English",
"Operating System :: OS Independent",
"Topic :: Software Development :: Libraries",
]
packages = [
{ include = "yalexs_ble", from = "src" },
]
[tool.poetry.dependencies]
python = ">=3.10,<3.14"
# Documentation Dependencies
bleak = ">=0.19.0"
bleak-retry-connector = ">=3.4.0"
async-timeout = {version = ">=3.0.0", python = "<3.11"}
cryptography = ">=38.0.0"
lru-dict = ">=1.1.4"
async-interrupt = ">=1.1.1"
[tool.poetry.group.dev.dependencies]
pytest = "^8.3"
pytest-cov = "^6.1"
pytest-asyncio = "^0.26.0"
[tool.semantic_release]
branch = "main"
version_toml = ["pyproject.toml:project.version"]
version_variables = ["src/yalexs_ble/__init__.py:__version__"]
build_command = "pip install poetry && poetry build"
[tool.pytest.ini_options]
addopts = "-v -Wdefault --cov=yalexs_ble --cov-report=term-missing:skip-covered"
pythonpath = ["src"]
[tool.coverage.run]
branch = true
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"@overload",
"if TYPE_CHECKING",
"raise NotImplementedError",
]
[tool.isort]
profile = "black"
known_first_party = ["yalexs_ble", "tests"]
[tool.mypy]
check_untyped_defs = true
disallow_any_generics = true
disallow_incomplete_defs = true
disallow_untyped_defs = true
mypy_path = "src/"
no_implicit_optional = true
show_error_codes = true
warn_unreachable = true
warn_unused_ignores = true
exclude = [
'docs/.*',
'setup.py',
]
[[tool.mypy.overrides]]
module = "tests.*"
allow_untyped_defs = true
[[tool.mypy.overrides]]
module = "docs.*"
ignore_errors = true
[build-system]
requires = ["poetry-core>=2.0.0"]
build-backend = "poetry.core.masonry.api"
yalexs-ble-3.0.0/renovate.json 0000664 0000000 0000000 00000000101 15005200656 0016264 0 ustar 00root root 0000000 0000000 {
"extends": ["github>browniebroke/renovate-configs:python"]
}
yalexs-ble-3.0.0/setup.py 0000664 0000000 0000000 00000000360 15005200656 0015267 0 ustar 00root root 0000000 0000000 #!/usr/bin/env python
# This is a shim to allow GitHub to detect the package, build is done with poetry
# Taken from https://github.com/Textualize/rich
import setuptools
if __name__ == "__main__":
setuptools.setup(name="yalexs-ble")
yalexs-ble-3.0.0/src/ 0000775 0000000 0000000 00000000000 15005200656 0014345 5 ustar 00root root 0000000 0000000 yalexs-ble-3.0.0/src/yalexs_ble/ 0000775 0000000 0000000 00000000000 15005200656 0016474 5 ustar 00root root 0000000 0000000 yalexs-ble-3.0.0/src/yalexs_ble/__init__.py 0000664 0000000 0000000 00000001727 15005200656 0020614 0 ustar 00root root 0000000 0000000 from bleak_retry_connector import close_stale_connections_by_address
from .const import (
ConnectionInfo,
DoorStatus,
LockInfo,
LockState,
LockStatus,
YaleXSBLEDiscovery,
)
from .lock import Lock
from .push import PushLock
from .session import AuthError, DisconnectedError, YaleXSBLEError
from .util import (
ValidatedLockConfig,
local_name_is_unique,
local_name_to_serial,
serial_to_local_name,
unique_id_from_device_adv,
unique_id_from_local_name_address,
)
__version__ = "3.0.0"
__all__ = [
"AuthError",
"ConnectionInfo",
"DisconnectedError",
"DoorStatus",
"Lock",
"LockInfo",
"LockState",
"LockStatus",
"PushLock",
"ValidatedLockConfig",
"serial_to_local_name",
"local_name_to_serial",
"unique_id_from_device_adv",
"unique_id_from_local_name_address",
"local_name_is_unique",
"YaleXSBLEDiscovery",
"YaleXSBLEError",
"close_stale_connections_by_address",
]
yalexs-ble-3.0.0/src/yalexs_ble/const.py 0000664 0000000 0000000 00000004537 15005200656 0020205 0 ustar 00root root 0000000 0000000 from __future__ import annotations
from dataclasses import dataclass
from enum import Enum, IntEnum
from typing import TypedDict
COMMAND_SERVICE_UUID = "0000fe24-0000-1000-8000-00805f9b34fb"
WRITE_CHARACTERISTIC = "bd4ac611-0b45-11e3-8ffd-0800200c9a66"
READ_CHARACTERISTIC = "bd4ac612-0b45-11e3-8ffd-0800200c9a66"
SECURE_WRITE_CHARACTERISTIC = "bd4ac613-0b45-11e3-8ffd-0800200c9a66"
SECURE_READ_CHARACTERISTIC = "bd4ac614-0b45-11e3-8ffd-0800200c9a66"
APPLE_MFR_ID = 76
YALE_MFR_ID = 465
HAP_FIRST_BYTE = 0x06
HAP_ENCRYPTED_FIRST_BYTE = 0x11
MANUFACTURER_NAME_CHARACTERISTIC = "00002a29-0000-1000-8000-00805f9b34fb"
MODEL_NUMBER_CHARACTERISTIC = "00002a24-0000-1000-8000-00805f9b34fb"
SERIAL_NUMBER_CHARACTERISTIC = "00002a25-0000-1000-8000-00805f9b34fb"
FIRMWARE_REVISION_CHARACTERISTIC = "00002a26-0000-1000-8000-00805f9b34fb"
NO_DOOR_SENSE_MODELS = {"ASL-02", "ASL-01"}
class Commands(IntEnum):
GETSTATUS = 0x02
UNLOCK = 0x0A
LOCK = 0x0B
class LockStatus(Enum):
UNKNOWN = 0x00
UNKNOWN_01 = 0x01 # Calibrating
UNLOCKING = 0x02
UNLOCKED = 0x03
LOCKING = 0x04
LOCKED = 0x05
UNKNOWN_06 = 0x06 # PolDiscovery
# STATICPOSITION = 0x07
# UNLATCHING = 0x09
# UNLATCHED = 0x0A
SECUREMODE = 0x0C
VALUE_TO_LOCK_STATUS = {status.value: status for status in LockStatus}
class DoorStatus(Enum):
UNKNOWN = 0x00 # Init
CLOSED = 0x01
AJAR = 0x02
OPENED = 0x03
UNKNOWN_04 = 0x04 # Unknown
VALUE_TO_DOOR_STATUS = {status.value: status for status in DoorStatus}
@dataclass
class BatteryState:
voltage: float
percentage: int
@dataclass
class LockState:
lock: LockStatus
door: DoorStatus
battery: BatteryState | None
auth: AuthState | None
@dataclass
class AuthState:
successful: bool
@dataclass
class LockInfo:
manufacturer: str
model: str
serial: str
firmware: str
@property
def door_sense(self) -> bool:
"""Check if the lock has door sense support."""
return bool(
self.model
and not any(
self.model.startswith(old_model) for old_model in NO_DOOR_SENSE_MODELS
)
)
@dataclass
class ConnectionInfo:
rssi: int
class YaleXSBLEDiscovery(TypedDict):
"""A validated discovery of a Yale XS BLE device."""
name: str
address: str
serial: str
key: str
slot: int
yalexs-ble-3.0.0/src/yalexs_ble/lock.py 0000664 0000000 0000000 00000042517 15005200656 0020007 0 ustar 00root root 0000000 0000000 from __future__ import annotations
import asyncio
import bisect
import logging
import os
from collections.abc import Callable, Iterable
from typing import Any, TypeVar, cast
from bleak import BleakError
from bleak_retry_connector import (
MAX_CONNECT_ATTEMPTS,
BleakClientWithServiceCache,
BLEDevice,
establish_connection,
)
from . import util
from .const import (
FIRMWARE_REVISION_CHARACTERISTIC,
MANUFACTURER_NAME_CHARACTERISTIC,
MODEL_NUMBER_CHARACTERISTIC,
SERIAL_NUMBER_CHARACTERISTIC,
VALUE_TO_DOOR_STATUS,
VALUE_TO_LOCK_STATUS,
BatteryState,
Commands,
DoorStatus,
LockInfo,
LockStatus,
)
from .secure_session import SecureSession
from .session import AuthError, DisconnectedError, Session, YaleXSBLEError
_LOGGER = logging.getLogger(__name__)
AA_BATTERY_VOLTAGE_TO_PERCENTAGE = (
(1.55, 100),
(1.549, 97),
(1.548, 95),
(1.547, 94), # confirmed
(1.49075, 93), # confirmed
(1.49, 90),
(1.471, 85), # confirmed
(1.46, 80),
(1.45, 75),
(1.40, 70),
(1.39, 65),
(1.38, 60),
(1.37, 55),
(1.36, 50),
(1.35, 45),
(1.34, 40),
(1.33, 35),
(1.32, 30),
(1.31, 35),
(1.30, 30),
(1.29, 25),
(1.28, 20),
(1.27, 15),
(1.26, 10),
(1.25, 5),
(1.24, 0),
)
AA_BATTERY_VOLTAGE_LIST = [
voltage for voltage, _ in sorted(AA_BATTERY_VOLTAGE_TO_PERCENTAGE)
]
AA_BATTERY_VOLTAGE_MAP = {
voltage: percentage for voltage, percentage in AA_BATTERY_VOLTAGE_TO_PERCENTAGE
}
WrapFuncType = TypeVar("WrapFuncType", bound=Callable[..., Any])
def raise_if_not_connected(func: WrapFuncType) -> WrapFuncType:
"""Define a wrapper to raise if we are not connected to the lock."""
async def _async_wrap_connected_operation(
self: Lock, *args: Any, **kwargs: Any
) -> None:
"""Wrap a function to make sure the lock is connected."""
if not self.is_connected:
raise DisconnectedError("Lock is not connected")
return await func(self, *args, **kwargs)
return cast(WrapFuncType, _async_wrap_connected_operation)
def convert_voltage_to_percentage(voltage: float) -> int:
"""Convert voltage to percentage."""
pos = bisect.bisect_left(AA_BATTERY_VOLTAGE_LIST, voltage)
if pos != 0:
pos -= 1
return AA_BATTERY_VOLTAGE_MAP[AA_BATTERY_VOLTAGE_LIST[pos]]
class Lock:
def __init__(
self,
ble_device_callback: Callable[[], BLEDevice],
keyString: str,
keyIndex: int,
name: str,
state_callback: Callable[
[Iterable[LockStatus | DoorStatus | BatteryState]], None
],
info: LockInfo | None = None,
disconnect_callback: Callable[[], None] | None = None,
) -> None:
self.ble_device_callback = ble_device_callback
self.key = bytes.fromhex(keyString)
self.key_index = keyIndex
self.name = name
self.session: Session | None = None
self.secure_session: SecureSession | None = None
self.is_secure = False
self._lock = asyncio.Lock()
self._lock_info = info
self.client: BleakClientWithServiceCache | None = None
self._state_callback = state_callback
self._disconnected = False
self._disconnect_callback = disconnect_callback
self._disconnected_futures: set[asyncio.Future[None]] = set()
def set_name(self, name: str) -> None:
self.name = name
def disconnected(self, *args: Any, **kwargs: Any) -> None:
_LOGGER.debug("%s: Disconnected from lock callback", self.name)
self._disconnected = True
for future in self._disconnected_futures:
if not future.done():
future.set_result(None)
self._disconnected_futures.clear()
if self._disconnect_callback:
self._disconnect_callback()
async def connect(self, max_attempts: int = MAX_CONNECT_ATTEMPTS) -> None:
"""Connect to the lock."""
_LOGGER.debug(
"%s: Connecting to the lock",
self.name,
)
try:
self.client = await establish_connection(
BleakClientWithServiceCache,
self.ble_device_callback(),
self.name,
self.disconnected,
use_services_cache=True,
ble_device_callback=self.ble_device_callback,
max_attempts=max_attempts,
)
except (asyncio.TimeoutError, BleakError) as err:
_LOGGER.error("%s: Failed to connect to the lock: %s", self.name, err)
raise err
_LOGGER.debug("%s: Connected", self.name)
self.session = Session(
self.client,
self.name,
self._lock,
self._disconnected_futures,
self._internal_state_callback,
)
self.secure_session = SecureSession(
self.client,
self.name,
self._lock,
self._disconnected_futures,
self.key_index,
)
session = self.session
secure_session = self.secure_session
_char_map = {
session._read_characteristic: session.read_characteristic,
session._write_characteristic: session.write_characteristic,
secure_session._read_characteristic: secure_session.read_characteristic,
secure_session._write_characteristic: secure_session.write_characteristic,
}
for char_uuid, char in _char_map.items():
if not char:
await self._handle_missing_characteristic(char_uuid)
# Order matters here, we must start notify for the secure session before
# the non-secure session
await self.secure_session.start_notify()
try:
await self._setup_session()
except BleakError as err:
error_desc = str(err).lower()
if "invalid handle" in error_desc:
await self._handle_missing_characteristic(error_desc)
raise err
await self.session.start_notify()
async def _handle_missing_characteristic(self, char_uuid: str) -> None:
"""Handle missing characteristic."""
self.secure_session = None
self.session = None
client = cast(BleakClientWithServiceCache, self.client)
_LOGGER.warning(
"%s: Missing characteristic %s; Clearing cache", self.name, char_uuid
)
await client.clear_cache()
raise BleakError(f"Missing characteristic {char_uuid}")
def _internal_state_callback(self, state: bytes) -> None:
"""Handle state change."""
_LOGGER.debug("%s: State changed: %s", self.name, state.hex())
if state[0] == 0xBB:
if state[4] == 0x02: # lock only
lock_status = state[0x08]
self._state_callback(
[VALUE_TO_LOCK_STATUS.get(lock_status, LockStatus.UNKNOWN)]
)
elif state[4] == 0x2E: # door state
door_status = state[0x08]
self._state_callback(
[VALUE_TO_DOOR_STATUS.get(door_status, DoorStatus.UNKNOWN)]
)
elif state[4] == 0x2F: # door and lock
self._state_callback(self._parse_lock_and_door_state(state))
elif state[4] == 0x0F:
self._state_callback([self._parse_battery_state(state)])
else:
_LOGGER.info("%s: Unknown state: %s", self.name, state.hex())
elif state[0] == 0xAA:
if state[1] == Commands.UNLOCK.value:
self._state_callback([LockStatus.UNLOCKED])
elif state[1] == Commands.LOCK.value:
self._state_callback([LockStatus.LOCKED])
else:
_LOGGER.info("%s: Unknown state: %s", self.name, state.hex())
async def _setup_session(self) -> None:
"""Setup the session."""
assert self.session is not None # nosec
assert self.secure_session is not None # nosec
_LOGGER.debug("%s: Setting up the session", self.name)
self.secure_session.set_key(self.key)
handshake_keys = os.urandom(16)
# Send SEC_LOCK_TO_MOBILE_KEY_EXCHANGE
cmd = self.secure_session.build_command(0x01)
util._copy(cmd, handshake_keys[0x00:0x08], destLocation=0x04)
response = await self.secure_session.execute(
cmd, "SEC_LOCK_TO_MOBILE_KEY_EXCHANGE"
)
if response[0x00] != 0x02:
raise AuthError(
"Authentication error: key or slot (key index) is incorrect: unexpected response to SEC_LOCK_TO_MOBILE_KEY_EXCHANGE: "
+ response.hex()
)
self.is_secure = True
session_key = bytearray(16)
util._copy(session_key, handshake_keys[0x00:0x08])
util._copy(session_key, response[0x04:0x0C], destLocation=0x08)
self.secure_session.set_key(session_key)
# Send SEC_INITIALIZATION_COMMAND
cmd = self.secure_session.build_command(0x03)
util._copy(cmd, handshake_keys[0x08:0x10], destLocation=0x04)
response = await self.secure_session.execute(cmd, "SEC_INITIALIZATION_COMMAND")
if response[0] != 0x04:
raise AuthError(
"Authentication error: key or slot (key index) is incorrect: unexpected response to SEC_INITIALIZATION_COMMAND: "
+ response.hex()
)
self.session.set_key(session_key)
self.secure_session.enable_cooldown()
self.session.enable_cooldown()
@raise_if_not_connected
async def lock_info(self) -> LockInfo:
"""Probe the lock for information."""
_LOGGER.debug("%s: Probing the lock", self.name)
assert self.client is not None # nosec
lock_info = []
for char_uuid in (
MANUFACTURER_NAME_CHARACTERISTIC,
MODEL_NUMBER_CHARACTERISTIC,
SERIAL_NUMBER_CHARACTERISTIC,
FIRMWARE_REVISION_CHARACTERISTIC,
):
char = self.client.services.get_characteristic(char_uuid)
if not char:
await self._handle_missing_characteristic(char_uuid)
lock_info.append(
(await self.client.read_gatt_char(char)).decode().split("\0")[0]
)
self._lock_info = LockInfo(*lock_info)
return self._lock_info
@raise_if_not_connected
async def force_securemode(self) -> None:
"""Force the lock into securemode."""
_LOGGER.debug("%s: Securing", self.name)
assert self.session is not None # nosec
await self.session.execute(
self.session.build_operation_command(Commands.LOCK, 0x04),
"force_securemode",
)
_LOGGER.debug("%s: Finished securemode", self.name)
@raise_if_not_connected
async def force_lock(self) -> None:
"""Force the lock to lock."""
_LOGGER.debug("%s: Locking", self.name)
assert self.session is not None # nosec
await self.session.execute(
self.session.build_command(Commands.LOCK), "force_lock"
)
_LOGGER.debug("%s: Finished locking", self.name)
@raise_if_not_connected
async def force_unlock(self) -> None:
"""Force the lock to unlock."""
_LOGGER.debug("%s: Unlocking", self.name)
assert self.session is not None # nosec
await self.session.execute(
self.session.build_command(Commands.UNLOCK), "force_unlock"
)
_LOGGER.debug("%s: Finished unlocking", self.name)
async def securemode(self) -> None:
if (await self.lock_status()) != LockStatus.SECUREMODE:
await self.force_securemode()
async def lock(self) -> None:
if (await self.lock_status()) != LockStatus.LOCKED:
await self.force_lock()
async def unlock(self) -> None:
if (await self.lock_status()) != LockStatus.UNLOCKED:
await self.force_unlock()
async def _execute_command(
self, opcode: int, cmd_byte: int, command_name: str
) -> bytes:
assert self.session is not None # nosec
command = self.session.build_operation_command(opcode, cmd_byte)
_LOGGER.debug("%s: send: [%s] [%s]", self.name, command.hex(), hex(cmd_byte))
response = await self.session.execute(command, command_name)
_LOGGER.debug(
"%s: response: [%s] [%s]", self.name, response.hex(), hex(cmd_byte)
)
return response
def _parse_lock_and_door_state(
self, response: bytes
) -> tuple[LockStatus, DoorStatus]:
"""Parse the lock and door state from the response."""
return self._parse_lock_status(response[0x08]), self._parse_door_status(
response[0x09]
)
def _parse_lock_status(self, lock_status: int) -> LockStatus:
"""Parse the lock state from the response."""
lock_status_enum = VALUE_TO_LOCK_STATUS.get(lock_status, LockStatus.UNKNOWN)
if lock_status_enum == LockStatus.UNKNOWN:
_LOGGER.info(
"%s: Unrecognized lock_status_str code: %s", self.name, hex(lock_status)
)
return lock_status_enum
def _parse_door_status(self, door_status: int) -> DoorStatus:
"""Parse the door state from the response."""
door_status_enum = VALUE_TO_DOOR_STATUS.get(door_status, DoorStatus.UNKNOWN)
if door_status_enum == DoorStatus.UNKNOWN:
_LOGGER.info(
"%s: Unrecognized door_status_str code: %s", self.name, hex(door_status)
)
return door_status_enum
@raise_if_not_connected
async def lock_status(self) -> LockStatus:
_LOGGER.debug("%s: Executing lock_status", self.name)
# We used to use 0x2F here but it seems to be broken on some locks
response = await self._execute_command(Commands.GETSTATUS, 0x02, "lock_status")
_LOGGER.debug("%s: Finished executing lock_status", self.name)
return self._parse_lock_status(response[0x08])
@raise_if_not_connected
async def door_status(self) -> DoorStatus:
_LOGGER.debug("%s: Executing door_status", self.name)
# We used to use 0x2F here but it seems to be broken on some locks
response = await self._execute_command(Commands.GETSTATUS, 0x2E, "door_status")
_LOGGER.debug("%s: Finished executing door_status", self.name)
return self._parse_door_status(response[0x08])
def _parse_battery_state(self, response: bytes) -> BatteryState:
"""Parse the battery state from the response."""
voltage = (response[0x09] * 256 + response[0x08]) / 1000
# The voltage is divided by 4 in the lock
# since it uses 4 AA batteries. For the Li-ion
# battery, this is likely wrong, but since we don't
# currently have a way to detect the battery type,
# this is the best we can do for now.
percentage = convert_voltage_to_percentage(voltage / 4)
return BatteryState(voltage, percentage)
@raise_if_not_connected
async def battery(self) -> BatteryState:
_LOGGER.debug("%s: Executing battery", self.name)
response = await self._execute_command(Commands.GETSTATUS, 0x0F, "battery")
_LOGGER.debug("%s: Finished executing battery", self.name)
return self._parse_battery_state(response)
async def disconnect(self) -> None:
"""Disconnect from the lock."""
_LOGGER.debug("%s: Disconnecting from the lock", self.name)
if not self.client or not self.client.is_connected:
return
try:
await self._shutdown_connection()
except BleakError:
_LOGGER.debug(
"%s: Failed to shutdown connection to lock", self.name, exc_info=True
)
finally:
try:
await self.client.disconnect()
except BleakError:
_LOGGER.debug(
"%s: Failed to disconnect from lock", self.name, exc_info=True
)
async def _shutdown_connection(self) -> None:
"""Shutdown the connection."""
_LOGGER.debug("%s: Shutting down the connection", self.name)
if self.session:
await self.session.stop_notify()
if not self.is_secure or not self.secure_session or self._disconnected:
return
cmd = self.secure_session.build_command(0x05)
cmd[0x11] = 0x00
response = None
try:
response = await self.secure_session.execute(cmd, "shutdown")
await self.secure_session.stop_notify()
except (AuthError, DisconnectedError):
# Lock already disconnected us
return
except (BleakError, asyncio.TimeoutError, EOFError) as err:
if not util.is_disconnected_error(err):
_LOGGER.debug(
"%s: Failed to cleanly disconnect from lock: %s", self.name, err
)
return
except YaleXSBLEError as err:
_LOGGER.debug(
"%s: Failed to cleanly disconnect from lock: %s", self.name, err
)
return
if response and response[0] != 0x8B:
_LOGGER.debug("%s: Unexpected response to DISCONNECT: %s", response.hex())
@property
def is_connected(self) -> bool:
"""Return True if the lock is connected."""
return bool(
self.client
and self.client.is_connected
and self.session
and self.secure_session
and not self._disconnected
)
yalexs-ble-3.0.0/src/yalexs_ble/push.py 0000664 0000000 0000000 00000121735 15005200656 0020036 0 ustar 00root root 0000000 0000000 from __future__ import annotations
import asyncio
import contextlib
import logging
import struct
import time
from collections.abc import Coroutine, Callable, Iterable
from dataclasses import replace
from typing import Any, TypeVar, cast
from bleak.backends.scanner import AdvertisementData
from bleak.exc import BleakDBusError, BleakError
from bleak_retry_connector import (
BLEAK_RETRY_EXCEPTIONS,
MAX_CONNECT_ATTEMPTS,
BleakNotFoundError,
BLEDevice,
get_device,
)
from lru import LRU # pylint: disable=no-name-in-module
from .const import (
APPLE_MFR_ID,
HAP_ENCRYPTED_FIRST_BYTE,
HAP_FIRST_BYTE,
YALE_MFR_ID,
AuthState,
BatteryState,
ConnectionInfo,
DoorStatus,
LockInfo,
LockState,
LockStatus,
)
from .lock import Lock
from .session import (
AuthError,
BluetoothError,
DisconnectedError,
NoAdvertisementError,
ResponseError,
YaleXSBLEError,
)
from .util import asyncio_timeout, is_disconnected_error, local_name_is_unique
_LOGGER = logging.getLogger(__name__)
# Advertisement debugger (this one is quite noisy so it has its only logger)
_ADV_LOGGER = logging.getLogger("yalexs_ble_adv")
WrapFuncType = TypeVar("WrapFuncType", bound=Callable[..., Any])
NEVER_TIME = -86400.0
DEFAULT_ATTEMPTS = 4
# How long to wait to disconnect after an operation
DISCONNECT_DELAY = 5.1
# How long to wait to disconnect after an operation if there is a pending update
DISCONNECT_DELAY_PENDING_UPDATE = 12.5
RESYNC_DELAY = 0.01
KEEP_ALIVE_TIME = 25.0 # Lock will disconnect after 30 seconds of inactivity
# Number of seconds to wait after the first connection
# to disconnect to free up the bluetooth adapter.
FIRST_CONNECTION_DISCONNECT_TIME = 2.1
# After a lock operation we need to wait for the lock to
# update its state or it will return a stale state.
LOCK_STALE_STATE_DEBOUNCE_DELAY = 6.1
# How long to wait before processing an advertisement change
ADV_UPDATE_COALESCE_SECONDS = 0.05
# How long to wait before processing the first update
FIRST_UPDATE_COALESCE_SECONDS = 0.01
# How long to wait before processing a HomeKit advertisement change
HK_UPDATE_COALESCE_SECONDS = 0.025
# How long to wait before processing a manual update request
MANUAL_UPDATE_COALESCE_SECONDS = 0.05
# How long to wait to query the lock after an operation to make sure its not jammed
POST_OPERATION_SYNC_TIME = 10.00
# How long to wait if we get an update storm from the lock
UPDATE_IN_PROGRESS_DEFER_SECONDS = DISCONNECT_DELAY - 1
RETRY_BACKOFF_EXCEPTIONS = (BleakDBusError, DisconnectedError)
RETRY_EXCEPTIONS = (ResponseError, *BLEAK_RETRY_EXCEPTIONS)
# 255 seems to be broadcast randomly when
# there is no update from the lock.
VALID_ADV_VALUES = {0, 1}
AUTH_FAILURE_TO_START_REAUTH = 5
NO_BATTERY_SUPPORT_MODELS = {
"SL-103", # Linus L2
"CERES", # Smart code handle
}
def operation_lock(func: WrapFuncType) -> WrapFuncType:
"""Define a wrapper to only allow a single operation at a time."""
async def _async_wrap_operation_lock(
self: PushLock, *args: Any, **kwargs: Any
) -> None:
_LOGGER.debug("%s: Acquiring lock", self.name)
async with self._operation_lock:
return await func(self, *args, **kwargs)
return cast(WrapFuncType, _async_wrap_operation_lock)
class AuthFailureHistory:
"""Track the number of auth failures."""
def __init__(self) -> None:
"""Init the history."""
self._failures_by_mac: dict[str, int] = LRU(1024)
def auth_failed(self, mac: str) -> None:
"""Increment the number of auth failures."""
self._failures_by_mac[mac] = self._failures_by_mac.get(mac, 0) + 1
def auth_success(self, mac: str) -> None:
"""Reset the number of auth failures."""
self._failures_by_mac[mac] = 0
def should_raise(self, mac: str) -> bool:
"""Return if we should raise an error."""
return self._failures_by_mac.get(mac, 0) >= AUTH_FAILURE_TO_START_REAUTH
_AUTH_FAILURE_HISTORY = AuthFailureHistory()
def retry_bluetooth_connection_error(func: WrapFuncType) -> WrapFuncType:
"""Define a wrapper to retry on bleak error.
The accessory is allowed to disconnect us any time so
we need to retry the operation.
"""
async def _async_wrap_retry_bluetooth_connection_error(
self: PushLock, *args: Any, **kwargs: Any
) -> Any:
_LOGGER.debug("%s: Starting retry loop", self.name)
attempts = DEFAULT_ATTEMPTS
max_attempts = attempts - 1
for attempt in range(attempts):
try:
return await func(self, *args, **kwargs)
except AuthError:
_AUTH_FAILURE_HISTORY.auth_failed(self.address)
if _AUTH_FAILURE_HISTORY.should_raise(self.address):
# If the bluetooth connection drops in the middle of authentication
# we may see it as a failed authentication. If we see 5 failed
# authentications in a row we can reasonably assume that the key has
# changed and we should re-authenticate.
self._update_any_state([AuthState(successful=False)])
raise
_LOGGER.debug(
"%s: Auth error calling %s, retrying (%s/%s)...",
self.name,
func,
attempt,
max_attempts,
exc_info=True,
)
await asyncio.sleep(0.25)
except BleakNotFoundError:
# The lock cannot be found so there is no
# point in retrying.
raise
except RETRY_BACKOFF_EXCEPTIONS as err:
await self._async_handle_disconnected(err)
if attempt >= max_attempts:
_LOGGER.debug(
"%s: %s error calling %s, reach max attempts (%s/%s)",
self.name,
type(err),
func,
attempt,
max_attempts,
exc_info=True,
)
if is_disconnected_error(err):
raise DisconnectedError(str(err))
raise
_LOGGER.debug(
"%s: %s error calling %s, backing off %ss, retrying (%s/%s)...",
self.name,
type(err),
func,
0.25,
attempt,
max_attempts,
exc_info=True,
)
await asyncio.sleep(0.25)
except RETRY_EXCEPTIONS as err:
await self._async_handle_disconnected(err)
if attempt >= max_attempts:
_LOGGER.debug(
"%s: %s error calling %s, reach max attempts (%s/%s)",
self.name,
type(err),
func,
attempt,
max_attempts,
exc_info=True,
)
if is_disconnected_error(err):
raise DisconnectedError(str(err))
raise
_LOGGER.debug(
"%s: %s error calling %s, retrying (%s/%s)...",
self.name,
type(err),
func,
attempt,
max_attempts,
exc_info=True,
)
return cast(WrapFuncType, _async_wrap_retry_bluetooth_connection_error)
class PushLock:
"""A lock with push updates."""
def __init__(
self,
local_name: str | None = None,
address: str | None = None,
ble_device: BLEDevice | None = None,
key: str | None = None,
key_index: int | None = None,
advertisement_data: AdvertisementData | None = None,
idle_disconnect_delay: float = DISCONNECT_DELAY,
always_connected: bool = False,
idle_disconnect_delay_pending_update: float = DISCONNECT_DELAY_PENDING_UPDATE,
) -> None:
"""Init the lock watcher."""
if local_name is None and address is None:
raise ValueError("Must specify either local_name or address")
if not address and not local_name_is_unique(local_name):
raise ValueError("local_name must be unique when address is not provided")
self._local_name = local_name
self._local_name_is_unique = local_name_is_unique(local_name)
self._address = address
self._name: str | None = None
self._lock_info: LockInfo | None = None
self._lock_state: LockState | None = None
self._last_adv_value = -1
self._last_hk_state = -1
self._lock_key = key
self._lock_key_index = key_index
self._advertisement_data = advertisement_data
self._ble_device = ble_device
self._operation_lock = asyncio.Lock()
self._running = False
self._callbacks: list[
Callable[[LockState, LockInfo, ConnectionInfo], None]
] = []
self._update_task: asyncio.Task[None] | None = None
self.loop = asyncio._get_running_loop()
self._cancel_deferred_update: asyncio.TimerHandle | None = None
self._client: Lock | None = None
self._connect_lock = asyncio.Lock()
self._seen_this_session: set[
type[LockStatus] | type[DoorStatus] | type[BatteryState] | type[AuthState]
] = set()
self._disconnect_timer: asyncio.TimerHandle | None = None
self._keep_alive_timer: asyncio.TimerHandle | None = None
self._idle_disconnect_delay_pending_update = (
idle_disconnect_delay_pending_update
)
self._idle_disconnect_delay = idle_disconnect_delay
self._next_disconnect_delay = idle_disconnect_delay
self._first_update_future: asyncio.Future[None] | None = None
self._background_tasks: set[asyncio.Task[None]] = set()
self._last_lock_operation_complete_time = NEVER_TIME
self._last_operation_complete_time = NEVER_TIME
self._always_connected = always_connected
@property
def local_name(self) -> str | None:
"""Get the local name."""
return self._local_name
@property
def name(self) -> str:
"""Get the name of the lock."""
if self._name:
return self._name
if self._local_name_is_unique and self._local_name:
return self._local_name
return self.address
@property
def address(self) -> str:
"""Get the address of the lock."""
if self._ble_device:
return self._ble_device.address
assert self._address is not None # nosec
return self._address
@property
def door_status(self) -> DoorStatus:
"""Return the current door status."""
return self._lock_state.door if self._lock_state else DoorStatus.UNKNOWN
@property
def lock_status(self) -> LockStatus:
"""Return the current lock status."""
return self._lock_state.lock if self._lock_state else LockStatus.UNKNOWN
@property
def battery(self) -> BatteryState | None:
"""Return the current battery state."""
return self._lock_state.battery if self._lock_state else None
@property
def auth(self) -> AuthState | None:
"""Return the current auth state."""
return self._lock_state.auth if self._lock_state else None
@property
def lock_state(self) -> LockState | None:
"""Return the current lock state."""
return self._lock_state
@property
def lock_info(self) -> LockInfo | None:
"""Return the current lock info."""
return self._lock_info
@property
def connection_info(self) -> ConnectionInfo | None:
"""Return the current connection info."""
if self._advertisement_data:
return ConnectionInfo(self._advertisement_data.rssi)
return None
@property
def ble_device(self) -> BLEDevice | None:
"""Return the current BLEDevice."""
return self._ble_device
@property
def is_connected(self) -> bool:
"""Return if the lock is connected."""
return bool(self._client and self._client.is_connected)
def set_name(self, name: str) -> None:
"""Set the name of the lock."""
self._name = name
def reset_advertisement_state(self) -> None:
"""Reset the advertisement state."""
self._last_adv_value = -1
self._last_hk_state = -1
def register_callback(
self, callback: Callable[[LockState, LockInfo, ConnectionInfo], None]
) -> Callable[[], None]:
"""Register a callback to be called when the lock state changes."""
def unregister_callback() -> None:
self._callbacks.remove(callback)
self._callbacks.append(callback)
return unregister_callback
def set_lock_key(self, key: str, slot: int) -> None:
"""Set the lock key."""
self._lock_key = key
self._lock_key_index = slot
def set_ble_device(self, ble_device: BLEDevice) -> None:
"""Set the ble device."""
self._ble_device = ble_device
self._address = ble_device.address
def set_advertisement_data(self, advertisement_data: AdvertisementData) -> None:
"""Set the advertisement data."""
self._advertisement_data = advertisement_data
def _get_lock_instance(self) -> Lock:
"""Get the lock instance."""
assert self._ble_device is not None # nosec
assert self._lock_key is not None # nosec
assert self._lock_key_index is not None # nosec
return Lock(
lambda: self._ble_device,
self._lock_key,
self._lock_key_index,
self.name,
self._state_callback,
self._lock_info,
self._disconnected_callback,
)
def _disconnected_callback(self) -> None:
"""Handle a disconnect from the lock."""
_LOGGER.debug("%s: Disconnected from lock callback", self.name)
if self._always_connected and not _AUTH_FAILURE_HISTORY.should_raise(
self.address
):
_LOGGER.debug(
"%s: Scheduling reconnect from disconnected callback", self.name
)
self._keep_alive()
def _keep_alive(self) -> None:
"""Keep the lock connection alive."""
if not self._always_connected:
return
_LOGGER.debug("%s: Executing keep alive", self.name)
self._schedule_future_update(0)
self._schedule_next_keep_alive(KEEP_ALIVE_TIME)
def _time_since_last_operation(self) -> float:
"""Return the time since the last operation."""
return time.monotonic() - self._last_operation_complete_time
def _reschedule_next_keep_alive(self) -> None:
"""Reschedule the next keep alive."""
next_keep_alive_time = max(
0, KEEP_ALIVE_TIME - self._time_since_last_operation()
)
self._schedule_next_keep_alive(next_keep_alive_time)
def _schedule_next_keep_alive(self, delay: float) -> None:
"""Schedule the next keep alive."""
self._cancel_keepalive_timer()
if not self._always_connected or not self._running:
return
_LOGGER.debug(
"%s: Scheduling next keep alive in %s seconds",
self.name,
delay,
)
self._keep_alive_timer = self.loop.call_later(
delay,
self._keep_alive,
)
def _reset_disconnect_timer(self) -> None:
"""Reset disconnect timer."""
if self._always_connected and self._running:
return
self._cancel_disconnect_timer()
self._expected_disconnect = False
timeout = self._next_disconnect_delay
_LOGGER.debug(
"%s: Resetting disconnect timer to %s seconds", self.name, timeout
)
self._disconnect_timer = self.loop.call_later(
timeout, self._disconnect_with_timer, timeout
)
async def _execute_forced_disconnect(self, reason: str) -> None:
"""Execute forced disconnection."""
self._cancel_disconnect_timer()
_LOGGER.debug("%s: Executing forced disconnect: %s", self.name, reason)
if (update_task := self._update_task) and not update_task.done():
self._update_task = None
update_task.cancel()
with contextlib.suppress(Exception, asyncio.CancelledError):
await update_task
await self._execute_disconnect()
def _disconnect_with_timer(self, timeout: float) -> None:
"""Disconnect from device.
This should only ever be called from _reset_disconnect_timer
"""
if self._operation_lock.locked():
_LOGGER.debug("%s: Disconnect timer reset due to operation lock", self.name)
self._reset_disconnect_timer()
return
if self._cancel_deferred_update:
_LOGGER.debug(
"%s: Disconnect timer fired while we were waiting to update", self.name
)
self._reset_disconnect_timer()
self._cancel_future_update()
self._deferred_update()
return
self._cancel_disconnect_timer()
self.background_task(self._execute_timed_disconnect(timeout))
def _cancel_disconnect_timer(self) -> None:
"""Cancel disconnect timer."""
if self._disconnect_timer:
self._disconnect_timer.cancel()
self._disconnect_timer = None
def _cancel_keepalive_timer(self) -> None:
"""Cancel keep alive timer."""
if self._keep_alive_timer:
self._keep_alive_timer.cancel()
self._keep_alive_timer = None
async def _execute_timed_disconnect(self, timeout: float) -> None:
"""Execute timed disconnection."""
_LOGGER.debug(
"%s: Executing timed disconnect after timeout of %s",
self.name,
timeout,
)
await self._execute_disconnect()
async def _async_handle_disconnected(self, exc: Exception) -> None:
"""Clean up after a disconnect."""
_LOGGER.debug("%s: Disconnected due to %s, cleaning up", self.name, exc)
if self._connect_lock.locked():
_LOGGER.error(
"%s: Disconnected while connection was in progress, ignoring",
self.name,
)
return
self._cancel_disconnect_timer()
await self._execute_disconnect()
async def _execute_disconnect(self) -> None:
"""Execute disconnection."""
async with self._connect_lock:
if (
self._running and self._disconnect_timer
): # If the timer was reset, don't disconnect
return
client = self._client
self._client = None
if client:
_LOGGER.debug("%s: Disconnecting", self.name)
await client.disconnect()
_LOGGER.debug("%s: Disconnect completed", self.name)
async def _ensure_connected(self) -> Lock:
"""Ensure connection to device is established."""
if self._connect_lock.locked():
self._reset_disconnect_timer()
_LOGGER.debug(
"%s: Connection already in progress, waiting for it to complete",
self.name,
)
if self.is_connected:
assert self._client is not None # nosec
self._reset_disconnect_timer()
return self._client
async with self._connect_lock:
# Check again while holding the lock
if self.is_connected:
assert self._client is not None # type: ignore[unreachable] # nosec
self._reset_disconnect_timer()
return self._client
self._client = self._get_lock_instance()
max_attempts = 1 if self._first_update_future else MAX_CONNECT_ATTEMPTS
try:
await self._client.connect(max_attempts)
except BaseException as ex: # Might be cancelled
_LOGGER.debug(
"%s: Failed to connect due to %s, forcing disconnect", self.name, ex
)
try:
await self._client.disconnect()
except Exception:
_LOGGER.exception(
"%s: Failed to disconnect after failed connect", self.name
)
raise ex
self._next_disconnect_delay = self._idle_disconnect_delay
self._reset_disconnect_timer()
self._seen_this_session.clear()
return self._client
async def securemode(self) -> None:
"""Set the lock into securemode."""
self._update_any_state([LockStatus.LOCKING])
self._cancel_future_update()
await self._execute_lock_operation(
"force_securemode", LockStatus.LOCKING, LockStatus.SECUREMODE
)
async def lock(self) -> None:
"""Lock the lock."""
self._update_any_state([LockStatus.LOCKING])
self._cancel_future_update()
await self._execute_lock_operation(
"force_lock", LockStatus.LOCKING, LockStatus.LOCKED
)
async def unlock(self) -> None:
"""Unlock the lock."""
self._update_any_state([LockStatus.UNLOCKING])
self._cancel_future_update()
await self._execute_lock_operation(
"force_unlock", LockStatus.UNLOCKING, LockStatus.UNLOCKED
)
@operation_lock
@retry_bluetooth_connection_error
async def _execute_lock_operation(
self, op_attr: str, pending_state: LockStatus, complete_state: LockStatus
) -> None:
"""Execute a lock operation."""
if not self._running:
raise RuntimeError(
f"{self.name}: Lock operation not possible because not running"
)
_LOGGER.debug("%s: Starting %s", self.name, pending_state)
self._update_any_state([pending_state])
self._cancel_future_update()
try:
lock = await self._ensure_connected()
self._cancel_future_update()
await getattr(lock, op_attr)()
except Exception as ex:
self._update_any_state([LockStatus.UNKNOWN])
_LOGGER.debug(
"%s: Failed to execute lock operation due to %s, forcing disconnect",
self.name,
ex,
)
raise
self._update_any_state([complete_state])
_LOGGER.debug("%s: Finished %s", self.name, complete_state)
now = time.monotonic()
self._last_lock_operation_complete_time = now
self._last_operation_complete_time = now
self._reset_disconnect_timer()
self._reschedule_next_keep_alive()
def _state_callback(
self, states: Iterable[LockStatus | DoorStatus | BatteryState]
) -> None:
"""Handle state change."""
self._reset_disconnect_timer()
self._update_any_state(states)
def _get_current_state(self) -> LockState:
"""Get the current state of the lock."""
return self._lock_state or LockState(
self.lock_status, self.door_status, self.battery, self.auth
)
def _update_any_state(
self, states: Iterable[LockStatus | DoorStatus | BatteryState | AuthState]
) -> None:
_LOGGER.debug("%s: State changed: %s", self.name, states)
lock_state = self._get_current_state()
original_lock_status = lock_state.lock
changes: dict[str, Any] = {}
for state in states:
state_type = type(state)
self._seen_this_session.add(state_type)
if isinstance(state, AuthState):
if lock_state.auth != state:
changes["auth"] = state
elif isinstance(state, LockStatus):
if lock_state.lock != state:
changes["lock"] = state
elif isinstance(state, DoorStatus):
if lock_state.door != state:
changes["door"] = state
elif isinstance(state, BatteryState):
if state.voltage <= 3.0:
_LOGGER.debug(
"%s: Battery voltage is impossible: %s",
self.name,
state.voltage,
)
continue
if lock_state.battery != state:
changes["battery"] = state
else:
raise ValueError(f"Unexpected state type: {state}")
if not changes:
return
lock_state = replace(lock_state, **changes)
if (
original_lock_status != lock_state.lock
and (not lock_state.auth or lock_state.auth.successful)
and original_lock_status != LockStatus.UNKNOWN
):
self._schedule_future_update(RESYNC_DELAY)
self._callback_state(lock_state)
async def update(self) -> None:
"""Request that status be updated."""
_LOGGER.debug("%s: Starting manual update", self.name)
self._schedule_future_update_with_debounce(
0 if self.is_connected else MANUAL_UPDATE_COALESCE_SECONDS
)
async def validate(self) -> None:
"""Validate lock credentials."""
_LOGGER.debug("%s: Starting validate", self.name)
await self._update()
_LOGGER.debug("%s: Finished validate", self.name)
@operation_lock
@retry_bluetooth_connection_error
async def _update(self) -> LockState:
"""Update the lock state."""
has_lock_info = self._lock_info is not None
_LOGGER.debug(
"%s: Starting update (has_lock_info: %s)", self.name, has_lock_info
)
lock = await self._ensure_connected()
if not self._lock_info:
self._lock_info = await lock.lock_info()
_LOGGER.debug("Obtained lock info: %s", self._lock_info)
# Asking for battery first seems to be reduce the chance of the lock
# getting into a bad state.
state = self._get_current_state()
made_request = False
needs_battery_workaround = self._lock_info.model in NO_BATTERY_SUPPORT_MODELS
_LOGGER.debug(
"Needs battery workaround model %s: %s",
self._lock_info.model,
needs_battery_workaround,
)
if not needs_battery_workaround and BatteryState not in self._seen_this_session:
made_request = True
battery_state = await lock.battery()
_AUTH_FAILURE_HISTORY.auth_success(self.address)
state = replace(
state, battery=battery_state, auth=AuthState(successful=True)
)
if (
DoorStatus not in self._seen_this_session
and self._lock_info
and self._lock_info.door_sense
):
made_request = True
door_status = await lock.door_status()
_AUTH_FAILURE_HISTORY.auth_success(self.address)
state = replace(state, door=door_status, auth=AuthState(successful=True))
# Only ask for the lock status if we haven't seen
# it this session since notify callbacks will happen
# if it changes and the extra polling can cause the lock
# to get into a bad state.
#
# However, we always want to poll lock
# state to keep the connection alive if we are always connected.
if LockStatus not in self._seen_this_session or (
not made_request and self._always_connected
):
made_request = True
lock_status = await lock.lock_status()
_AUTH_FAILURE_HISTORY.auth_success(self.address)
state = replace(state, lock=lock_status, auth=AuthState(successful=True))
_LOGGER.debug("%s: Finished update", self.name)
self._callback_state(state)
if state.battery and state.battery.voltage <= 3.0:
_LOGGER.debug(
"%s: Battery voltage is impossible: %s",
self.name,
state.battery.voltage,
)
# If the battery voltage is impossible, reconnect.
await self._execute_forced_disconnect("impossible battery voltage")
if state.lock in (LockStatus.UNKNOWN_01, LockStatus.UNKNOWN_06):
_LOGGER.debug("%s: Lock is in an unknown state: %s", self.name, state.lock)
# If the lock is in a bad state, reconnect.
await self._execute_forced_disconnect(
f"lock is in unknown state: {state.lock}"
)
if not has_lock_info:
# On first update free up the connection
# so we can bring other locks online if
# the bluetooth adapter is out of connections
# slots. We reset the timer to a low number
# so that if another update request is pending
# we do not disconnect until it completes.
self._next_disconnect_delay = FIRST_CONNECTION_DISCONNECT_TIME
self._reset_disconnect_timer()
if made_request:
self._last_operation_complete_time = time.monotonic()
self._reschedule_next_keep_alive()
return state
def _callback_state(self, lock_state: LockState) -> None:
"""Call the callbacks."""
self._lock_state = lock_state
_LOGGER.debug(
"%s: New state: %s %s %s",
self.name,
self._lock_state,
self._lock_info,
self.connection_info,
)
if not self._callbacks:
return
assert self._lock_info is not None # nosec
connection_info = self.connection_info
assert connection_info is not None # nosec
for callback in self._callbacks:
try:
callback(lock_state, self._lock_info, connection_info)
except Exception: # pylint: disable=broad-except
_LOGGER.exception("%s: Error calling callback", self.name)
def update_advertisement(
self, ble_device: BLEDevice, ad: AdvertisementData
) -> None:
"""Update the advertisement."""
adv_debug_enabled = _ADV_LOGGER.isEnabledFor(logging.DEBUG)
if self._local_name_is_unique and self._local_name == ad.local_name:
if adv_debug_enabled:
_ADV_LOGGER.debug(
"%s: Accepting new advertisement since local_name %s matches: %s",
self.name,
ad.local_name,
ad,
)
elif self.address and self.address == ble_device.address:
if adv_debug_enabled:
_ADV_LOGGER.debug(
"%s: Accepting new advertisement since address %s matches: %s",
self.name,
self.address,
ad,
)
else:
return
self.set_ble_device(ble_device)
self.set_advertisement_data(ad)
next_update = 0.0
mfr_data = ad.manufacturer_data
if APPLE_MFR_ID in mfr_data:
first_byte = mfr_data[APPLE_MFR_ID][0]
if first_byte == HAP_FIRST_BYTE:
hk_state = get_homekit_state_num(mfr_data[APPLE_MFR_ID])
# Sometimes the yale data is glued on to the end of the HomeKit data
# but in that case it seems wrong so we don't process it
#
# if len(mfr_data[APPLE_MFR_ID]) > 20 and YALE_MFR_ID not in mfr_data:
# mfr_data[YALE_MFR_ID] = mfr_data[APPLE_MFR_ID][20:]
if self._last_hk_state == -1:
# We haven't seen a HomeKit state yet so we schedule an update
next_update = FIRST_UPDATE_COALESCE_SECONDS
elif hk_state != self._last_hk_state:
next_update = HK_UPDATE_COALESCE_SECONDS
self._last_hk_state = hk_state
elif first_byte == HAP_ENCRYPTED_FIRST_BYTE:
# Encrypted data, we don't know how to decrypt it
# but we know its a state change so we schedule an update
next_update = HK_UPDATE_COALESCE_SECONDS
if YALE_MFR_ID in mfr_data:
current_value = mfr_data[YALE_MFR_ID][0]
if not next_update:
if self._last_adv_value == -1:
# We haven't seen a valid value yet so we schedule an update
next_update = FIRST_UPDATE_COALESCE_SECONDS
elif (
current_value in VALID_ADV_VALUES
and current_value != self._last_adv_value
):
next_update = ADV_UPDATE_COALESCE_SECONDS
self._last_adv_value = current_value
if adv_debug_enabled:
scheduled_update = None
if self._cancel_deferred_update:
scheduled_update = (
self._cancel_deferred_update.when() - self.loop.time()
)
_ADV_LOGGER.debug(
"%s: State: (current_state: %s) (hk_state: %s) "
"(adv_value: %s) (next_update: %s) (scheduled_update: %s)",
self.name,
self._lock_state,
self._last_hk_state,
self._last_adv_value,
next_update,
scheduled_update,
)
if not next_update:
return
if (
self.is_connected
and self._next_disconnect_delay != FIRST_CONNECTION_DISCONNECT_TIME
and (
self._time_since_last_operation()
+ self._idle_disconnect_delay_pending_update
)
< KEEP_ALIVE_TIME
):
# Already connected, state will be pushed, but stay
# connected a bit longer to make sure we get it unless
# this is the first connection or deferring the update
# would keep the connection idle for too long and
# get us disconnected anyways.
self._next_disconnect_delay = self._idle_disconnect_delay_pending_update
self._reset_disconnect_timer()
return
self._schedule_future_update_with_debounce(next_update)
async def start(self) -> Callable[[], None]:
"""Start watching for updates."""
_LOGGER.debug("Waiting for advertisement callbacks for %s", self.name)
if self._running:
raise RuntimeError("Already running")
self._running = True
self._first_update_future = asyncio.get_running_loop().create_future()
if device := await get_device(self.address):
self.set_ble_device(device)
self._schedule_future_update_with_debounce(ADV_UPDATE_COALESCE_SECONDS)
return self._cancel
def _cancel(self) -> None:
self._running = False
self._cancel_future_update()
self.background_task(self._execute_forced_disconnect("stopping"))
def background_task(self, fut: Coroutine[Any, Any, Any]) -> None:
"""Execute a background task."""
task: asyncio.Task[Any] = asyncio.create_task(fut)
self._background_tasks.add(task)
task.add_done_callback(self._background_tasks.remove)
async def wait_for_first_update(self, timeout: float) -> None:
"""Wait for the first update."""
if not self._running:
raise RuntimeError("Not running")
if not self._first_update_future:
raise RuntimeError("Already waited for first update")
try:
async with asyncio_timeout(timeout):
await self._first_update_future
except (asyncio.TimeoutError, asyncio.CancelledError) as ex:
self._first_update_future.cancel()
with contextlib.suppress(asyncio.CancelledError):
await self._first_update_future
raise NoAdvertisementError(
"No advertisement received before timeout"
) from ex
finally:
self._first_update_future = None
def _cancel_future_update(self) -> None:
"""Cancel an update."""
if self._cancel_deferred_update:
self._cancel_deferred_update.cancel()
self._cancel_deferred_update = None
def _schedule_future_update_with_debounce(self, seconds: float) -> None:
"""Schedule an update with a potential debounce."""
future_update_time = seconds
if self._cancel_deferred_update:
time_till_update = self._cancel_deferred_update.when() - self.loop.time()
if time_till_update < HK_UPDATE_COALESCE_SECONDS:
future_update_time = HK_UPDATE_COALESCE_SECONDS
_LOGGER.debug(
"%s: Existing update too soon %s, "
"rescheduling update for in %s seconds",
self.name,
time_till_update,
future_update_time,
)
elif time_till_update < seconds:
_LOGGER.debug(
"%s: Existing update in %s seconds will happen sooner than now",
self.name,
time_till_update,
)
return
_LOGGER.debug(
"%s: Rescheduling update for %s", self.name, future_update_time
)
self._schedule_future_update(future_update_time)
def _schedule_future_update(self, future_update_time: float) -> None:
"""Schedule an update in future seconds."""
_LOGGER.debug(
"%s: Scheduling update to happen in %s seconds",
self.name,
future_update_time,
)
self._cancel_future_update()
self._cancel_deferred_update = self.loop.call_later(
future_update_time, self._deferred_update
)
def _deferred_update(self) -> None:
"""Update the lock state."""
self._cancel_future_update()
now = time.monotonic()
if self._update_task and not self._update_task.done():
_LOGGER.debug(
"%s: Rescheduling update since one already in progress", self.name
)
self._schedule_future_update_with_debounce(UPDATE_IN_PROGRESS_DEFER_SECONDS)
return
if (
seconds_time_lock_op := (now - self._last_lock_operation_complete_time)
) < LOCK_STALE_STATE_DEBOUNCE_DELAY:
_LOGGER.debug("%s: Rescheduling update to avoid stale state", self.name)
self._schedule_future_update_with_debounce(seconds_time_lock_op)
return
self._update_task = asyncio.create_task(self._execute_deferred_update())
def _set_update_state(self, exception: Exception | None) -> None:
"""Set the update state."""
if not self._first_update_future:
return
if exception:
self._first_update_future.set_exception(exception)
else:
self._first_update_future.set_result(None)
async def _execute_deferred_update(self) -> None:
"""Execute deferred update."""
_LOGGER.debug("%s: Deferred update starting", self.name)
if not self._running:
_LOGGER.debug("%s: Deferred updated ignored because not running", self.name)
return
_LOGGER.debug("%s: Starting deferred update", self.name)
try:
await self._update()
self._set_update_state(None)
except AuthError as ex:
self._set_update_state(ex)
_LOGGER.error(
"%s: Auth error: key or slot (key index) is incorrect: %s",
self.name,
ex,
exc_info=True,
)
except asyncio.CancelledError:
self._set_update_state(RuntimeError("Update was canceled"))
_LOGGER.debug("%s: In-progress update canceled", self.name)
raise
except asyncio.TimeoutError as ex:
self._set_update_state(ex)
_LOGGER.exception("%s: Timed out updating", self.name)
except BleakNotFoundError as ex:
wrapped_bleak_exc = BluetoothError(str(ex))
wrapped_bleak_exc.__cause__ = ex
self._set_update_state(wrapped_bleak_exc)
_LOGGER.debug("%s: not found error updating", self.name, exc_info=True)
except BleakError as ex:
wrapped_bleak_exc = BluetoothError(str(ex))
wrapped_bleak_exc.__cause__ = ex
self._set_update_state(wrapped_bleak_exc)
_LOGGER.exception("%s: Bluetooth error updating", self.name)
except DisconnectedError as ex:
wrapped_bleak_exc = BluetoothError(str(ex))
wrapped_bleak_exc.__cause__ = ex
self._set_update_state(wrapped_bleak_exc)
_LOGGER.exception("%s: Disconnected while updating", self.name)
except Exception as ex: # pylint: disable=broad-except
wrapped_exc = YaleXSBLEError(str(ex))
wrapped_exc.__cause__ = ex
self._set_update_state(wrapped_exc)
_LOGGER.exception("%s: Unknown error updating", self.name)
def get_homekit_state_num(data: bytes) -> int:
"""Get the homekit state number from the manufacturer data."""
acid, gsn, cn, cv = struct.unpack("