# Python: Knocki
[![GitHub Release][releases-shield]][releases]
[![Python Versions][python-versions-shield]][pypi]
![Project Stage][project-stage-shield]
![Project Maintenance][maintenance-shield]
[![License][license-shield]](LICENSE.md)
[![Build Status][build-shield]][build]
[![Code Coverage][codecov-shield]][codecov]
Asynchronous Python client for Knocki.
## About
This package is for connecting Knocki to Home Assistant.
## Installation
```bash
pip install knocki
```
## Changelog & Releases
This repository keeps a change log using [GitHub's releases][releases]
functionality. The format of the log is based on
[Keep a Changelog][keepchangelog].
Releases are based on [Semantic Versioning][semver], and use the format
of ``MAJOR.MINOR.PATCH``. In a nutshell, the version will be incremented
based on the following:
- ``MAJOR``: Incompatible or major changes.
- ``MINOR``: Backwards-compatible new features and enhancements.
- ``PATCH``: Backwards-compatible bugfixes and package updates.
## Contributing
This is an active open-source project. We are always open to people who want to
use the code or contribute to it.
We've set up a separate document for our
[contribution guidelines](.github/CONTRIBUTING.md).
Thank you for being involved! :heart_eyes:
## Setting up development environment
This Python project is fully managed using the [Poetry][poetry] dependency manager. But also relies on the use of NodeJS for certain checks during development.
You need at least:
- Python 3.11+
- [Poetry][poetry-install]
- NodeJS 12+ (including NPM)
To install all packages, including all development requirements:
```bash
npm install
poetry install
```
As this repository uses the [pre-commit][pre-commit] framework, all changes
are linted and tested with each commit. You can run all checks and tests
manually, using the following command:
```bash
poetry run pre-commit run --all-files
```
To run just the Python tests:
```bash
poetry run pytest
```
[build-shield]: https://github.com/swan-solutions/knocki-homeassistant/actions/workflows/tests.yaml/badge.svg
[build]: https://github.com/swan-solutions/knocki-homeassistant/actions
[codecov-shield]: https://codecov.io/gh/swan-solutions/knocki-homeassistant/branch/master/graph/badge.svg
[codecov]: https://codecov.io/gh/swan-solutions/knocki-homeassistant
[commits-shield]: https://img.shields.io/github/commit-activity/y/swan-solutions/knocki-homeassistant.svg
[commits]: https://github.com/swan-solutions/knocki-homeassistant/commits/master
[contributors]: https://github.com/swan-solutions/knocki-homeassistant/graphs/contributors
[keepchangelog]: http://keepachangelog.com/en/1.0.0/
[license-shield]: https://img.shields.io/github/license/swan-solutions/knocki-homeassistant.svg
[maintenance-shield]: https://img.shields.io/maintenance/yes/2024.svg
[poetry-install]: https://python-poetry.org/docs/#installation
[poetry]: https://python-poetry.org
[pre-commit]: https://pre-commit.com/
[project-stage-shield]: https://img.shields.io/badge/project%20stage-stable-green.svg
[python-versions-shield]: https://img.shields.io/pypi/pyversions/knocki
[releases-shield]: https://img.shields.io/github/release/swan-solutions/knocki-homeassistant.svg
[releases]: https://github.com/swan-solutions/knocki-homeassistant/releases
[semver]: http://semver.org/spec/v2.0.0.html
[pypi]: https://pypi.org/project/knocki/
Raw data
{
"_id": null,
"home_page": "https://github.com/swan-solutions/knocki-homeassistant",
"name": "knocki",
"maintainer": "Joost Lekkerkerker",
"docs_url": null,
"requires_python": "<4.0,>=3.11",
"maintainer_email": "joostlek@outlook.com",
"keywords": "knocki, api, async, client",
"author": "Joost Lekkerkerker",
"author_email": "joostlek@outlook.com",
"download_url": "https://files.pythonhosted.org/packages/f0/c5/1ed6420a29f927f5f879fb124910c5d7d7aa3bb3970b567fcbc1904b87f2/knocki-0.4.1.tar.gz",
"platform": null,
"description": "# Python: Knocki\n\n[![GitHub Release][releases-shield]][releases]\n[![Python Versions][python-versions-shield]][pypi]\n![Project Stage][project-stage-shield]\n![Project Maintenance][maintenance-shield]\n[![License][license-shield]](LICENSE.md)\n\n[![Build Status][build-shield]][build]\n[![Code Coverage][codecov-shield]][codecov]\n\nAsynchronous Python client for Knocki.\n\n## About\n\nThis package is for connecting Knocki to Home Assistant.\n\n## Installation\n\n```bash\npip install knocki\n```\n\n## Changelog & Releases\n\nThis repository keeps a change log using [GitHub's releases][releases]\nfunctionality. The format of the log is based on\n[Keep a Changelog][keepchangelog].\n\nReleases are based on [Semantic Versioning][semver], and use the format\nof ``MAJOR.MINOR.PATCH``. In a nutshell, the version will be incremented\nbased on the following:\n\n- ``MAJOR``: Incompatible or major changes.\n- ``MINOR``: Backwards-compatible new features and enhancements.\n- ``PATCH``: Backwards-compatible bugfixes and package updates.\n\n## Contributing\n\nThis is an active open-source project. We are always open to people who want to\nuse the code or contribute to it.\n\nWe've set up a separate document for our\n[contribution guidelines](.github/CONTRIBUTING.md).\n\nThank you for being involved! :heart_eyes:\n\n## Setting up development environment\n\nThis Python project is fully managed using the [Poetry][poetry] dependency manager. But also relies on the use of NodeJS for certain checks during development.\n\nYou need at least:\n\n- Python 3.11+\n- [Poetry][poetry-install]\n- NodeJS 12+ (including NPM)\n\nTo install all packages, including all development requirements:\n\n```bash\nnpm install\npoetry install\n```\n\nAs this repository uses the [pre-commit][pre-commit] framework, all changes\nare linted and tested with each commit. You can run all checks and tests\nmanually, using the following command:\n\n```bash\npoetry run pre-commit run --all-files\n```\n\nTo run just the Python tests:\n\n```bash\npoetry run pytest\n```\n\n[build-shield]: https://github.com/swan-solutions/knocki-homeassistant/actions/workflows/tests.yaml/badge.svg\n[build]: https://github.com/swan-solutions/knocki-homeassistant/actions\n[codecov-shield]: https://codecov.io/gh/swan-solutions/knocki-homeassistant/branch/master/graph/badge.svg\n[codecov]: https://codecov.io/gh/swan-solutions/knocki-homeassistant\n[commits-shield]: https://img.shields.io/github/commit-activity/y/swan-solutions/knocki-homeassistant.svg\n[commits]: https://github.com/swan-solutions/knocki-homeassistant/commits/master\n[contributors]: https://github.com/swan-solutions/knocki-homeassistant/graphs/contributors\n[keepchangelog]: http://keepachangelog.com/en/1.0.0/\n[license-shield]: https://img.shields.io/github/license/swan-solutions/knocki-homeassistant.svg\n[maintenance-shield]: https://img.shields.io/maintenance/yes/2024.svg\n[poetry-install]: https://python-poetry.org/docs/#installation\n[poetry]: https://python-poetry.org\n[pre-commit]: https://pre-commit.com/\n[project-stage-shield]: https://img.shields.io/badge/project%20stage-stable-green.svg\n[python-versions-shield]: https://img.shields.io/pypi/pyversions/knocki\n[releases-shield]: https://img.shields.io/github/release/swan-solutions/knocki-homeassistant.svg\n[releases]: https://github.com/swan-solutions/knocki-homeassistant/releases\n[semver]: http://semver.org/spec/v2.0.0.html\n[pypi]: https://pypi.org/project/knocki/\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Asynchronous Python client for Knocki.",
"version": "0.4.1",
"project_urls": {
"Bug Tracker": "https://github.com/swan-solutions/knocki-homeassistant/issues",
"Changelog": "https://github.com/swan-solutions/knocki-homeassistant/releases",
"Documentation": "https://github.com/swan-solutions/knocki-homeassistant",
"Homepage": "https://github.com/swan-solutions/knocki-homeassistant",
"Repository": "https://github.com/swan-solutions/knocki-homeassistant"
},
"split_keywords": [
"knocki",
" api",
" async",
" client"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "17875197084f3a03ea08f7e599ddb0953f05203c976f2038019141c2b6edcdd4",
"md5": "afc061e8ca872082a101cf6395bd1533",
"sha256": "13a0cc5332965bf9e41633f300f248b0879043e15e2626e539cae45d226b6cb0"
},
"downloads": -1,
"filename": "knocki-0.4.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "afc061e8ca872082a101cf6395bd1533",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.11",
"size": 7237,
"upload_time": "2024-10-27T14:07:00",
"upload_time_iso_8601": "2024-10-27T14:07:00.373802Z",
"url": "https://files.pythonhosted.org/packages/17/87/5197084f3a03ea08f7e599ddb0953f05203c976f2038019141c2b6edcdd4/knocki-0.4.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f0c51ed6420a29f927f5f879fb124910c5d7d7aa3bb3970b567fcbc1904b87f2",
"md5": "779109e28a3ebe7c8cce66c56f599036",
"sha256": "87dc3ce1da4582b87783162369cb825b1477df7ff0925b359acec40582f58754"
},
"downloads": -1,
"filename": "knocki-0.4.1.tar.gz",
"has_sig": false,
"md5_digest": "779109e28a3ebe7c8cce66c56f599036",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.11",
"size": 7126,
"upload_time": "2024-10-27T14:07:01",
"upload_time_iso_8601": "2024-10-27T14:07:01.661997Z",
"url": "https://files.pythonhosted.org/packages/f0/c5/1ed6420a29f927f5f879fb124910c5d7d7aa3bb3970b567fcbc1904b87f2/knocki-0.4.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-27 14:07:01",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "swan-solutions",
"github_project": "knocki-homeassistant",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "knocki"
}