Metadata-Version: 2.1
Name: camect-py
Version: 0.1.7
Summary: A client library to talk to Camect.
Home-page: https://github.com/camect/camect-py
Author: Chao Liu
Author-email: chao@camect.com
License: MIT License
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: websockets

# Camect Python client library
==============================

## Installation
<pre>
pip3 install camect-py
</pre>

## Usage
Please open https://local.home.camect.com/ in browser, sign in as admin and accept TOS before
you proceed.
<pre>
import camect
home = camect.Home("camect.local:443", "admin", "xxx")
home.get_name()
home.add_event_listener(lambda evt: print(evt))
for cam in home.list_cameras():
&nbsp;&nbsp;&nbsp;&nbsp;print("%s(%s) @%s(%s)" % (cam["name"], cam["make"], cam["ip_addr"], cam["mac_addr"]))
</pre>


