# pynuki



[](https://github.com/pschmitt/pynuki/actions?query=workflow%3A%22CI%22)
Python library for interacting with Nuki locks and openers
## Installation
```bash
pip install -U pynuki
```
## Usage
```python
from pynuki import NukiBridge
bridges = NukiBridge.discover()
br = bridges[0]
br.token = "YOUR_TOKEN"
# Locks
br.locks[0].lock()
br.locks[0].unlock()
# Openers
br.openers[0].activate_rto()
br.openers[0].deactivate_rto()
```
Raw data
{
"_id": null,
"home_page": "https://github.com/pschmitt/pynuki",
"name": "pynuki",
"maintainer": "",
"docs_url": null,
"requires_python": ">3.8,<4.0",
"maintainer_email": "",
"keywords": "",
"author": "Philipp Schmitt",
"author_email": "philipp@schmitt.co",
"download_url": "https://files.pythonhosted.org/packages/e0/15/9e281a6bba226393507852fd68fcc0eef09526137622e62e0574c22f58b1/pynuki-1.6.3.tar.gz",
"platform": null,
"description": "# pynuki\n\n\n\n\n[](https://github.com/pschmitt/pynuki/actions?query=workflow%3A%22CI%22)\n\nPython library for interacting with Nuki locks and openers\n\n## Installation\n\n```bash\npip install -U pynuki\n```\n\n## Usage\n\n```python\nfrom pynuki import NukiBridge\n\nbridges = NukiBridge.discover()\nbr = bridges[0]\nbr.token = \"YOUR_TOKEN\"\n\n# Locks\nbr.locks[0].lock()\nbr.locks[0].unlock()\n\n# Openers\nbr.openers[0].activate_rto()\nbr.openers[0].deactivate_rto()\n```\n",
"bugtrack_url": null,
"license": "GPL-3.0-only",
"summary": "Python bindings for nuki.io bridges",
"version": "1.6.3",
"project_urls": {
"Homepage": "https://github.com/pschmitt/pynuki",
"Repository": "https://github.com/pschmitt/pynuki"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "85dac7fcbf90957b6f33fa3f9a63b25420097d5483e057769e3cd13fee2a7dcc",
"md5": "719221523eae1b88f8a9efc2e27be723",
"sha256": "2665ea60a639905db740eef4060b3727719d8a45d7313b52110ea88bd8f643bc"
},
"downloads": -1,
"filename": "pynuki-1.6.3-py3-none-any.whl",
"has_sig": false,
"md5_digest": "719221523eae1b88f8a9efc2e27be723",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">3.8,<4.0",
"size": 20243,
"upload_time": "2024-02-24T20:03:28",
"upload_time_iso_8601": "2024-02-24T20:03:28.023072Z",
"url": "https://files.pythonhosted.org/packages/85/da/c7fcbf90957b6f33fa3f9a63b25420097d5483e057769e3cd13fee2a7dcc/pynuki-1.6.3-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "e0159e281a6bba226393507852fd68fcc0eef09526137622e62e0574c22f58b1",
"md5": "c9c2b8a73b62e4590df465d099798251",
"sha256": "3e3a0e7dedda832fcace2843926d612a45f90d34cd4d78ac1dac5ba59e6a73fb"
},
"downloads": -1,
"filename": "pynuki-1.6.3.tar.gz",
"has_sig": false,
"md5_digest": "c9c2b8a73b62e4590df465d099798251",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">3.8,<4.0",
"size": 18385,
"upload_time": "2024-02-24T20:03:29",
"upload_time_iso_8601": "2024-02-24T20:03:29.769782Z",
"url": "https://files.pythonhosted.org/packages/e0/15/9e281a6bba226393507852fd68fcc0eef09526137622e62e0574c22f58b1/pynuki-1.6.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-02-24 20:03:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "pschmitt",
"github_project": "pynuki",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pynuki"
}