ONVIF Python
This project provides a comprehensive and developer-friendly Python library for working with ONVIF-compliant devices. It is designed to be reliable, easy to integrate, and flexible enough to support a wide range of ONVIF profiles and services.
ONVIF (Open Network Video Interface Forum) is a global standard for the interface of IP-based physical security products, including network cameras, video recorders, and related systems.
Behind the scenes, ONVIF communication relies on SOAP (Simple Object Access Protocol); an XML-based messaging protocol with strict schema definitions (WSDL/XSD). SOAP ensures interoperability, but when used directly it can be verbose, complex, and error-prone.
This library simplifies that process by wrapping SOAP communication into a clean, Pythonic API. You no longer need to handle low-level XML parsing, namespaces, or security tokens manually; the library takes care of it, letting you focus on building functionality.
Who Is It For?
- Individual developers exploring ONVIF or building hobby projects
- Companies building video intelligence, analytics, or VMS platforms
- Security integrators who need reliable ONVIF interoperability across devices
Requirements
- Python: 3.10 or higher
- Dependencies:
zeep>=4.3.0- SOAP client for ONVIF communicationrequests>=2.32.0- HTTP library for network requests
Installation
From official PyPI:
pip install --upgrade onvif-python
Or clone this repository and install locally:
git clone https://github.com/nirsimetri/onvif-python
cd onvif-python
pip install .
Once the installation is successful, you can also immediately access the ONVIF CLI via the terminal using:
onvif --help
Documentation
For complete guide, including usage examples and API references, please visit the Documentation Page.
License
This project is licensed under the MIT License. See LICENSE for details.
Metadata
Release files for onvif-python 0.4.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| onvif_python-0.4.2.tar.gz | 7.4 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| onvif_python-0.4.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.0 MB
Release files / onvif_python-0.4.2.tar.gz
| Download URL | onvif_python-0.4.2.tar.gz |
|---|---|
| Size | 7.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7da802449c59d551c5530c4eab0078a61d7b9f5d7a975ead5e293123c33ce15
|
|
BLAKE2b-256 checksum How to use checksums |
96bf55c8809b8af6c60f303764da07296957311d9654d0c62897847bd1d5bb03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency logRelease files / onvif_python-0.4.2-py3-none-any.whl
| Download URL | onvif_python-0.4.2-py3-none-any.whl |
|---|---|
| Size | 7.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
38885294fdaf4132e14d0c79114ee4b238a377470e86aaf8d80b8512bbd06e90
|
|
BLAKE2b-256 checksum How to use checksums |
e7f4a6e41c280381a4f04bb5048804b352bb9f16ae81721ed050cec642cdd172
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.
Transparency log