Skip to main content

KeyRT

Project description

KeyRT

Не знаю, зачем тебе может понадобиться автоматизация открытия дверей и выдачи кодов, но это твоё право, я даю тебе удобный инструмент для его реализации. Да здравствует питон.

Установка

python -m pip install -U keyrt

Использование

Открытие двери

from keyrt import KeyRT

async def main():
    keyrt_client = KeyRT(access_token='YOUR_ACCESS_TOKEN')
    
    # Список устройств: домофон, шлагбаум, ворота
    devices = await keyrt_client.get_devices()
    
    for i, device in enumerate(devices):
        example = devices[i]
        assert example is device
        
        example = devices[device.]
    
    assert await keyrt_client.open_device(devices[0].id)
    
    # Камеры 
    cameras = await keyrt_client.get_cameras()
    

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

keyrt-0.0.4a2.tar.gz (7.2 kB view details)

Uploaded Source

Built Distribution

keyrt-0.0.4a2-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file keyrt-0.0.4a2.tar.gz.

File metadata

  • Download URL: keyrt-0.0.4a2.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.10

File hashes

Hashes for keyrt-0.0.4a2.tar.gz
Algorithm Hash digest
SHA256 b8592df35715ccc1cf52944bac8bb6f3db66ea31f6d17abbb83267c53d8da21f
MD5 9d5dc774e93a1ceae5e4b7b30e4bfcd4
BLAKE2b-256 35a79209af5d3d192c09ce6c67c65b28bd609e56a21510d86720fed9f932f740

See more details on using hashes here.

File details

Details for the file keyrt-0.0.4a2-py3-none-any.whl.

File metadata

  • Download URL: keyrt-0.0.4a2-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.10

File hashes

Hashes for keyrt-0.0.4a2-py3-none-any.whl
Algorithm Hash digest
SHA256 366cbf3dc5cf52936fbe8d6ad4be7846ea341ba5e56b3809387cf1729fa25681
MD5 f6b38cb17c4a559d0d7d8d09f2cce105
BLAKE2b-256 ea41791a3c093f9ac18ad55a6c9c47acccfeb164a733072e8b4f2ce9829ae126

See more details on using hashes here.

Supported by

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