New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

onvif-python

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

onvif-python - pypi Package Compare versions

Comparing version
0.2.7
to
0.2.8
+4
-4
onvif_python.egg-info/PKG-INFO
Metadata-Version: 2.4
Name: onvif-python
Version: 0.2.7
Version: 0.2.8
Summary: A modern Python library for ONVIF-compliant devices

@@ -49,3 +49,3 @@ Author-email: Nirsimetri Technologies® <open@nirsimetri.com>

<a href="https://deepwiki.com/nirsimetri/onvif-python"><img alt="Ask DeepWiki" src="https://deepwiki.com/badge.svg"></a>
<a href="https://pypi.org/project/onvif-python/"><img alt="PyPI Version" src="https://img.shields.io/badge/PyPI-0.2.7-orange?logo=archive&color=yellow"></a>
<a href="https://pypi.org/project/onvif-python/"><img alt="PyPI Version" src="https://img.shields.io/badge/PyPI-0.2.8-orange?logo=archive&color=yellow"></a>
<a href="https://pepy.tech/projects/onvif-python"><img alt="Pepy Total Downloads" src="https://img.shields.io/pepy/dt/onvif-python?label=Downloads&color=red"></a>

@@ -366,3 +366,3 @@ <br>

ONVIF Terminal Client — v0.2.7
ONVIF Terminal Client — v0.2.8
https://github.com/nirsimetri/onvif-python

@@ -448,3 +448,3 @@

```bash
ONVIF Interactive Shell — v0.2.7
ONVIF Interactive Shell — v0.2.8
https://github.com/nirsimetri/onvif-python

@@ -451,0 +451,0 @@

# onvif/__init__.py
__version__ = "0.2.7"
__version__ = "0.2.8"

@@ -5,0 +5,0 @@ from .client import ONVIFClient

# onvif/utils/service.py
import logging
import zeep.helpers
from .exceptions import ONVIFOperationException

@@ -10,2 +11,32 @@

class ONVIFResponse:
"""Transparent wrapper that adds to_dict() to zeep objects."""
def __init__(self, wrapped_object):
object.__setattr__(self, "_wrapped", wrapped_object)
def __getattr__(self, name):
return getattr(self._wrapped, name)
def __setattr__(self, name, value):
if name == "_wrapped":
object.__setattr__(self, name, value)
else:
setattr(self._wrapped, name, value)
def __repr__(self):
return repr(self._wrapped)
def __str__(self):
return str(self._wrapped)
def to_dict(self):
"""Convert zeep object to Python dictionary."""
return (
{}
if self._wrapped is None
else zeep.helpers.serialize_object(self._wrapped)
)
def _is_zeep_object(obj):

@@ -108,3 +139,3 @@ """Check if an object is a Zeep-generated object.

logger.debug(f"ONVIF method {name} completed successfully")
return result
return ONVIFResponse(result) if result is not None else result
except ONVIFOperationException as oe:

@@ -111,0 +142,0 @@ # Re-raise ONVIF exceptions as-is

Metadata-Version: 2.4
Name: onvif-python
Version: 0.2.7
Version: 0.2.8
Summary: A modern Python library for ONVIF-compliant devices

@@ -49,3 +49,3 @@ Author-email: Nirsimetri Technologies® <open@nirsimetri.com>

<a href="https://deepwiki.com/nirsimetri/onvif-python"><img alt="Ask DeepWiki" src="https://deepwiki.com/badge.svg"></a>
<a href="https://pypi.org/project/onvif-python/"><img alt="PyPI Version" src="https://img.shields.io/badge/PyPI-0.2.7-orange?logo=archive&color=yellow"></a>
<a href="https://pypi.org/project/onvif-python/"><img alt="PyPI Version" src="https://img.shields.io/badge/PyPI-0.2.8-orange?logo=archive&color=yellow"></a>
<a href="https://pepy.tech/projects/onvif-python"><img alt="Pepy Total Downloads" src="https://img.shields.io/pepy/dt/onvif-python?label=Downloads&color=red"></a>

@@ -366,3 +366,3 @@ <br>

ONVIF Terminal Client — v0.2.7
ONVIF Terminal Client — v0.2.8
https://github.com/nirsimetri/onvif-python

@@ -448,3 +448,3 @@

```bash
ONVIF Interactive Shell — v0.2.7
ONVIF Interactive Shell — v0.2.8
https://github.com/nirsimetri/onvif-python

@@ -451,0 +451,0 @@

@@ -7,3 +7,3 @@ [build-system]

name = "onvif-python"
version = "0.2.7"
version = "0.2.8"
description = "A modern Python library for ONVIF-compliant devices"

@@ -10,0 +10,0 @@ readme = "README.md"

@@ -6,3 +6,3 @@ <h1 align="center">ONVIF Python</h1>

<a href="https://deepwiki.com/nirsimetri/onvif-python"><img alt="Ask DeepWiki" src="https://deepwiki.com/badge.svg"></a>
<a href="https://pypi.org/project/onvif-python/"><img alt="PyPI Version" src="https://img.shields.io/badge/PyPI-0.2.7-orange?logo=archive&color=yellow"></a>
<a href="https://pypi.org/project/onvif-python/"><img alt="PyPI Version" src="https://img.shields.io/badge/PyPI-0.2.8-orange?logo=archive&color=yellow"></a>
<a href="https://pepy.tech/projects/onvif-python"><img alt="Pepy Total Downloads" src="https://img.shields.io/pepy/dt/onvif-python?label=Downloads&color=red"></a>

@@ -323,3 +323,3 @@ <br>

ONVIF Terminal Client — v0.2.7
ONVIF Terminal Client — v0.2.8
https://github.com/nirsimetri/onvif-python

@@ -405,3 +405,3 @@

```bash
ONVIF Interactive Shell — v0.2.7
ONVIF Interactive Shell — v0.2.8
https://github.com/nirsimetri/onvif-python

@@ -408,0 +408,0 @@