Skip to main content

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 with syntax 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hdc_py-0.1.4.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hdc_py-0.1.4-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file hdc_py-0.1.4.tar.gz.

File metadata

  • Download URL: hdc_py-0.1.4.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"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

Hashes for hdc_py-0.1.4.tar.gz
Algorithm Hash digest
SHA256 96e3563c82f5b8ca35e61bddf8fa79b6611a301a46ef60469b0559237a0af896
MD5 6986b643c609d9888ce1e2335017e038
BLAKE2b-256 5f82fd26fa6ed8c712cb2f79eb7507a5bc495b93a02b63e659827d26a7bd1bbe

See more details on using hashes here.

File details

Details for the file hdc_py-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: hdc_py-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.21 {"installer":{"name":"uv","version":"0.9.21","subcommand":["publish"]},"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

Hashes for hdc_py-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 83adbe917fd2688934d9fc0d72ad106762d77f90f8feaa88a5ecda38ccfe0a4f
MD5 4e71a70c6b7dcba1bb8e1fadb52f35a9
BLAKE2b-256 1a42f182148ee3ee6be3c33d9c3955901398e6b679db6f194f497cf2c8ee8905

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page