A client library to talk to Camect.
Project description
Camect Python client library
==============================
Installation
pip3 install camect-py
Usage
Please open https://local.home.camect.com/ in browser, sign in as admin and accept TOS before you proceed.
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():
print("%s(%s) @%s(%s)" % (cam["name"], cam["make"], cam["ip_addr"], cam["mac_addr"]))
Disable / enable alerts
import camect
home = camect.Home("camect.local:443", "admin", "xxx")
home.disable_alert(["yyy"], "testing")
....
home.enable_alert(["yyy"], "testing")
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
camect-py-0.1.9.tar.gz
(3.9 kB
view details)
File details
Details for the file camect-py-0.1.9.tar.gz.
File metadata
- Download URL: camect-py-0.1.9.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
62eeb229a464fc04b5ff670885c38108c0470896414a6851fd7290142a2d4f60
|
|
| MD5 |
e01cec80d97aa7e746752641083eee53
|
|
| BLAKE2b-256 |
4b7001aa2ee7d13af91c1a64806e06d4c5cb29edadd54c5c01f198fe0c5e7ceb
|