ONVIF Python 
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?
|
|
|
|---|---|
|
Explore ONVIF capabilities and build applications for IP cameras and compatible devices. |
Build video intelligence, analytics, and video management system (VMS) platforms. |
|
|
|
|
Integrate security devices and troubleshoot ONVIF interoperability across vendors. |
Develop, test, and integrate ONVIF-compliant devices and IP-based physical security systems. |
Requirements
Python 3.10 or higher is required.
Dependencies
- zeep → SOAP client for ONVIF communication.
- requests → HTTP library for network requests.
- pyreadline3 → Only installed on Windows (
win32) for CLI auto-completion.
Installation
From official PyPI:
pip install --upgrade onvif-python
Or install using pipx for an isolated environment:
pipx install git+https://github.com/nirsimetri/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
Prebuilt Binaries (No Python Required)
To use the ONVIF CLI without installing Python or additional dependencies, download a prebuilt binary for your platform from the GitHub Releases page.
Each release includes downloadable binary assets for supported platforms and architectures. Choose the appropriate binary from the table below:
| Platform | Architecture | Download |
|---|---|---|
| AMD64 (64-bit) | onvif-linux-amd64.zip | |
| ARM64 (aarch64) | onvif-linux-arm64.zip | |
| x64 (64-bit) | onvif-windows-win64.zip | |
| x86 (32-bit) | onvif-windows-win32.zip | |
| ARM64 | onvif-windows-arm64.zip | |
| Intel (AMD64) | onvif-macos-amd64.zip | |
| Apple Silicon (ARM64) | onvif-macos-arm64.zip |
Documentation
For complete guide, including usage examples and API references, please visit the Documentation Site.
License
This project is licensed under the MIT License. See LICENSE for details.
Metadata
Release files for onvif-python 0.4.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| onvif_python-0.4.7.tar.gz | 7.4 MB | With provenance | Details for onvif_python-0.4.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| onvif_python-0.4.7-py3-none-any.whl | Python 3 | none | any | Details for onvif_python-0.4.7-py3-none-any.whl |
Total release size: 15.0 MB
Release files / onvif_python-0.4.7.tar.gz
| Download URL | onvif_python-0.4.7.tar.gz |
|---|---|
| Size | 7.4 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e4b024a185d3449cd2c2edea5c2f78ca66db2d559db5928b6afad0fd9cd01a01
|
|
BLAKE2b-256 checksum How to use checksums |
de194458bf306428ed287f877dd6b500c189b90a352a5eb6a395e4f10c9ad2eb
|
| 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 20, 2026.
Transparency logRelease files / onvif_python-0.4.7-py3-none-any.whl
| Download URL | onvif_python-0.4.7-py3-none-any.whl |
|---|---|
| Size | 7.7 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
78d9d59ed9214bf899e01afb3adbbeabd2dc58eb04bfdc511abc437fc01dca30
|
|
BLAKE2b-256 checksum How to use checksums |
58398d5d757c9f5fcb761f49dce0920f9f89a1d79b7ce60b0b5e51d9ed2a98e7
|
| 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 20, 2026.
Transparency logSecurity for onvif-python 0.4.7
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for onvif_python-0.4.7.tar.gz
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 20, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.