Dahua RPC API
A Python package that provides a convenient API for interacting with Dahua RPC services.
Installation
You can install this package using pip directly from PyPI. Simply run:
pip install dahua-rpc-api
If you prefer to install from source, follow these steps:
-
Clone the repository:
git clone https://github.com/ctrlsam/dahua-rpc-api.git
-
Navigate to the project directory:
cd dahua-rpc-api
-
Install the package:
pip install .
Usage
After installation, you can import the package in your Python scripts as follows:
from dahua.client import DahuaRpc
client = DahuaRpc(host="172.20.10.254", port=80)
client.login(username="admin", password="password")
print("Serial Number: " + client.magic_box.get_serial_number())
Find a few examples here
Contributing
Contributions and feedback are welcome. Please submit bug reports or pull requests via the project repository.
License
This project is licensed under the MIT License.
Metadata
Release files for dahua-rpc-api 0.1.5
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 |
|---|---|---|---|---|
| dahua_rpc_api-0.1.5.tar.gz | 12.7 kB | Without provenance | Details for dahua_rpc_api-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dahua_rpc_api-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for dahua_rpc_api-0.1.5-py3-none-any.whl |
Total release size: 23.4 kB
Release files / dahua_rpc_api-0.1.5.tar.gz
| Download URL | dahua_rpc_api-0.1.5.tar.gz |
|---|---|
| Size | 12.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7540e79b5f183110a77f321806fe05133b051c6154f84d03c894abe910c82cbc
|
|
BLAKE2b-256 checksum How to use checksums |
aa8aadb2c7e23b99f4e904b27c1687e7536eb3426d7f1f108b4a43c5ff65a3c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.22
|
Release files / dahua_rpc_api-0.1.5-py3-none-any.whl
| Download URL | dahua_rpc_api-0.1.5-py3-none-any.whl |
|---|---|
| Size | 10.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
99c83e0ce8846716e5d9e58339e43364b89688495db21b9e7971adacdd0d00ad
|
|
BLAKE2b-256 checksum How to use checksums |
9754c4cc839ec84055de3b8c0b1d4f92039ec3bb4d745c16f8be7d9c7be13cc1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.9.22
|
Security for dahua-rpc-api 0.1.5
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.