A python wrapper around the (Open-) Harmony device connector
Project description
hdc-py
A Python wrapper around the (Open)Harmony Device Connector hdc.
Using the library requires the hdc tool to be already installed.
hdc-py is meant to make writing scripts for testing on OpenHarmony devices easier, and provide abstractions. Goals include:
- Improved error checking / validation of command success
- Support
withsyntax to enable performance mode for a number of commands, and disable the performance mode again, even if an exception occurs.
This library is still under active development and far from complete. Known limitations include:
- Currently only supports a single connected hdc device.
- Only a subset of commands is currently wrapped.
This library is not an official OpenHarmony project.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hdc_py-0.1.3.tar.gz.
File metadata
- Download URL: hdc_py-0.1.3.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a31932964371d1e8d776f62080cfcd5ee352d65e6cfb6962ddcee39dc411a827
|
|
| MD5 |
8b1f8d9e1513f3b197311cff010454fe
|
|
| BLAKE2b-256 |
9ec08291916f405da154d6980647c57c2d4b7c68c509c2bcb643639bc800f934
|
File details
Details for the file hdc_py-0.1.3-py3-none-any.whl.
File metadata
- Download URL: hdc_py-0.1.3-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.10 {"installer":{"name":"uv","version":"0.9.10"},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f4eb6306d06cbbff7bf3e443b95791afe87e8362275458825d4c15627a4d5f90
|
|
| MD5 |
290a6f805af80d8fb0a2936b3bab0e9d
|
|
| BLAKE2b-256 |
06876bb8c03b9a562d4db38e16a37b3a4e434b97c06c36c110563d28793998df
|