Skip to main content

A Tedee Lock Client package

Project description

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

  {
  "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_dict with the key of the dict being the serial number of each lock, or in a list client.locks

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pytedee_async-0.2.0a2.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

pytedee_async-0.2.0a2-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

Details for the file pytedee_async-0.2.0a2.tar.gz.

File metadata

  • Download URL: pytedee_async-0.2.0a2.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.10

File hashes

Hashes for pytedee_async-0.2.0a2.tar.gz
Algorithm Hash digest
SHA256 1233138c3058b75f90552060830fd46c4a2873dcaa53ab4942eb653c0e025dd6
MD5 202ad9774a851691dae2f2e8098b2724
BLAKE2b-256 eed383174e011f0cafc0f6ac534407b48a8d895813655cdd18aa24611ba0879b

See more details on using hashes here.

File details

Details for the file pytedee_async-0.2.0a2-py3-none-any.whl.

File metadata

File hashes

Hashes for pytedee_async-0.2.0a2-py3-none-any.whl
Algorithm Hash digest
SHA256 af85604f789a6246e3c9f36bebc14acf64d7011b28281d1e135a9ba342f1727c
MD5 5b3a1ae1e14b7855f973905bbfd9358b
BLAKE2b-256 c07f154301e36c835da99b103dd096b396b7c6f863ad1e08b3989f2d8359ce3c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page