aiotedee


Nameaiotedee JSON
Version 0.2.22 PyPI version JSON
download
home_pageNone
SummaryA package to interact with Tedee locks using asyncio
upload_time2025-01-18 20:18:49
maintainerNone
docs_urlNone
authorNone
requires_python>=3.9
licenseMIT License
keywords tedee api async client
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Python asyncio Tedee Client Package

This is a Tedee Lock Client package. It is an async implementation of [joerg65's original package](https://github.com/joerg65/pytedee.git).

## Install:

### From pip

```
pip install aiotedee
```

### Locally

```python
pipenv install -e .
# or
python3 setup.py install
```

## Try it out

- Generate personal key. Instructions: https://tedee-tedee-api-doc.readthedocs-hosted.com/en/latest/howtos/authenticate.html#personal-access-key
  Minimal scopes required for enable integration are:
  - Devices.Read
  - Lock.Operate
- with `example.py`: Create a file `config.json` next to `example.py`:

```json
{
  "personalToken": "<your token>"
}
```

cd into the directory of those to files and run

```
python example.py
```

- Initiate an instance of `TedeeClient`

```python
from aiotedee import TedeeClient

pk = "<your PersonalKey>"
# through init
client = TedeeClient(pk) # is initialized with no locks
client.get_locks() # get the locks

# through classmethod
# will initialize directly with all locks you have
client = await TedeeClient.create(pk)
```

- the locks are avialable in a dictionary `client.locks_dict` with the key of the dict being the serial number of each lock, or in a list `client.locks`

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "aiotedee",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "Josef Zweck <24647999+zweckj@users.noreply.github.com>",
    "keywords": "Tedee, api, async, client",
    "author": null,
    "author_email": "Josef Zweck <24647999+zweckj@users.noreply.github.com>",
    "download_url": "https://files.pythonhosted.org/packages/c7/6d/12077e86db2cdbfa5712de21510317dfc5b6d9e921183faef1dbc71f206b/aiotedee-0.2.22.tar.gz",
    "platform": null,
    "description": "# Python asyncio Tedee Client Package\n\nThis is a Tedee Lock Client package. It is an async implementation of [joerg65's original package](https://github.com/joerg65/pytedee.git).\n\n## Install:\n\n### From pip\n\n```\npip install aiotedee\n```\n\n### Locally\n\n```python\npipenv install -e .\n# or\npython3 setup.py install\n```\n\n## Try it out\n\n- Generate personal key. Instructions: https://tedee-tedee-api-doc.readthedocs-hosted.com/en/latest/howtos/authenticate.html#personal-access-key\n  Minimal scopes required for enable integration are:\n  - Devices.Read\n  - Lock.Operate\n- with `example.py`: Create a file `config.json` next to `example.py`:\n\n```json\n{\n  \"personalToken\": \"<your token>\"\n}\n```\n\ncd into the directory of those to files and run\n\n```\npython example.py\n```\n\n- Initiate an instance of `TedeeClient`\n\n```python\nfrom aiotedee import TedeeClient\n\npk = \"<your PersonalKey>\"\n# through init\nclient = TedeeClient(pk) # is initialized with no locks\nclient.get_locks() # get the locks\n\n# through classmethod\n# will initialize directly with all locks you have\nclient = await TedeeClient.create(pk)\n```\n\n- the locks are avialable in a dictionary `client.locks_dict` with the key of the dict being the serial number of each lock, or in a list `client.locks`\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "A package to interact with Tedee locks using asyncio",
    "version": "0.2.22",
    "project_urls": {
        "Documentation": "https://github.com/zweckj/aiotedee",
        "Homepage": "https://github.com/zweckj/aiotedee",
        "Repository": "https://github.com/zweckj/aiotedee"
    },
    "split_keywords": [
        "tedee",
        " api",
        " async",
        " client"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "99039eb699014aeaf8d3b03c2e6ade3edb8d7a0a8f614c0fdcb74e6dea844404",
                "md5": "4b1618330371f1181f199c799ff74fe9",
                "sha256": "e906dad9e703c2526a4ceffd231fd6505b56005486594b1f09846e3e08274e4b"
            },
            "downloads": -1,
            "filename": "aiotedee-0.2.22-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4b1618330371f1181f199c799ff74fe9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 10656,
            "upload_time": "2025-01-18T20:18:47",
            "upload_time_iso_8601": "2025-01-18T20:18:47.248445Z",
            "url": "https://files.pythonhosted.org/packages/99/03/9eb699014aeaf8d3b03c2e6ade3edb8d7a0a8f614c0fdcb74e6dea844404/aiotedee-0.2.22-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c76d12077e86db2cdbfa5712de21510317dfc5b6d9e921183faef1dbc71f206b",
                "md5": "4fa077650b4d8bc5417089e5a12e9858",
                "sha256": "6d1a32a2e4821e7b0a2e33bc7fda8ecbc305b4e6707c48733f3e7189c127276c"
            },
            "downloads": -1,
            "filename": "aiotedee-0.2.22.tar.gz",
            "has_sig": false,
            "md5_digest": "4fa077650b4d8bc5417089e5a12e9858",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 10080,
            "upload_time": "2025-01-18T20:18:49",
            "upload_time_iso_8601": "2025-01-18T20:18:49.144181Z",
            "url": "https://files.pythonhosted.org/packages/c7/6d/12077e86db2cdbfa5712de21510317dfc5b6d9e921183faef1dbc71f206b/aiotedee-0.2.22.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-18 20:18:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "zweckj",
    "github_project": "aiotedee",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "aiotedee"
}
        
Elapsed time: 0.45233s