onvif-python 0.1.0__py3-none-any.whl → 0.1.2__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
onvif/__init__.py CHANGED
@@ -3,6 +3,7 @@
3
3
  from .client import ONVIFClient
4
4
  from .operator import ONVIFOperator, CacheMode
5
5
  from .utils import ONVIFWSDL, ONVIFOperationException, ONVIFErrorHandler, ZeepPatcher
6
+ from .cli import main as ONVIFCLI
6
7
 
7
8
  __all__ = [
8
9
  "ONVIFClient",
@@ -12,4 +13,5 @@ __all__ = [
12
13
  "ONVIFOperationException",
13
14
  "ONVIFErrorHandler",
14
15
  "ZeepPatcher",
16
+ "ONVIFCLI",
15
17
  ]
onvif/cli/__init__.py ADDED
@@ -0,0 +1,5 @@
1
+ # onvif/cli/__init__.py
2
+
3
+ from .main import main
4
+
5
+ __all__ = ["main"]
onvif/cli/__main__.py ADDED
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env python3
2
+ # onvif/cli/__main__.py
3
+
4
+ """
5
+ ONVIF CLI entry point for python -m onvif.cli
6
+ """
7
+
8
+ from .main import main
9
+
10
+ if __name__ == "__main__":
11
+ main()