Python Tedee Async Client Package
This is a Tedee Lock Client package. It is an async implementation of joerg65's original package.
Install:
From pip
pip install pytedee-async
Locally
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 fileconfig.jsonnext toexample.py:
{
"personalToken": "<your token>"
}
cd into the directory of those to files and run
python example.py
- Initiate an instance of
TedeeClient
from pytedee_async 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_dictwith the key of the dict being the serial number of each lock, or in a listclient.locks
Metadata
Release files for pytedee-async 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytedee_async-0.2.4.tar.gz | 8.9 kB | Without provenance | Details for pytedee_async-0.2.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pytedee_async-0.2.4-py3-none-any.whl | Python 3 | none | any | Details for pytedee_async-0.2.4-py3-none-any.whl |
Total release size: 18.7 kB
Release files / pytedee_async-0.2.4.tar.gz
| Download URL | pytedee_async-0.2.4.tar.gz |
|---|---|
| Size | 8.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38f4821ae84e08496d19bb08d0fad8c1fe94a3783dc028e7247dfb0959d973b0
|
|
BLAKE2b-256 checksum How to use checksums |
a93e3ce5a992b670c509787d921b15ea7bfaab0b947a3f6ee47500e7cb8355ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Release files / pytedee_async-0.2.4-py3-none-any.whl
| Download URL | pytedee_async-0.2.4-py3-none-any.whl |
|---|---|
| Size | 9.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
41068ff71aafadcd5af562ac9f39a37c45a9b93dccf1f08eee54bbc2f6578de1
|
|
BLAKE2b-256 checksum How to use checksums |
930a5909a7df8a6f3512cd86b2d4d4a0b875b6adfc6a8a17dc30b9dd11b192b9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.6
|
Security for pytedee-async 0.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.