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.10.tar.gz
(4.1 kB
view details)
File details
Details for the file camect-py-0.1.10.tar.gz.
File metadata
- Download URL: camect-py-0.1.10.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad45d63fb93e834fc2e17f031d1c0361e49d5f54212466f22a1ce2f11ff7deed
|
|
| MD5 |
8567550948139094354164b5ec92158c
|
|
| BLAKE2b-256 |
752b2dfd47704d45e0f238c5833d4511f4cd3f8cb3d233ce49199d621a8cd60f
|