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.3.tar.gz (6.4 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.3-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

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

Hashes for hdc_py-0.1.3.tar.gz
Algorithm Hash digest
SHA256 a31932964371d1e8d776f62080cfcd5ee352d65e6cfb6962ddcee39dc411a827
MD5 8b1f8d9e1513f3b197311cff010454fe
BLAKE2b-256 9ec08291916f405da154d6980647c57c2d4b7c68c509c2bcb643639bc800f934

See more details on using hashes here.

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

Hashes for hdc_py-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f4eb6306d06cbbff7bf3e443b95791afe87e8362275458825d4c15627a4d5f90
MD5 290a6f805af80d8fb0a2936b3bab0e9d
BLAKE2b-256 06876bb8c03b9a562d4db38e16a37b3a4e434b97c06c36c110563d28793998df

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