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.2.tar.gz (6.1 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.2-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: hdc_py-0.1.2.tar.gz
  • Upload date:
  • Size: 6.1 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.2.tar.gz
Algorithm Hash digest
SHA256 bfba036c2847d90d045d4967167fcd1eb79c1edb97a2b3fe2d32bd3e02666132
MD5 0d47e264bb27a0da4dd0e91af425bd0c
BLAKE2b-256 8d554532ba90915e69a2c506d4a3dff41f50444d53aff13806db98e9551ef953

See more details on using hashes here.

File details

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

File metadata

  • Download URL: hdc_py-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.1 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 99966223db86517e3248a489e95627f3e2fa5c126f55fb290c45e8cba16bdb46
MD5 21e273431c8a13a71d1817bf273d4b99
BLAKE2b-256 797bd9c424c98ced5a59f89545d5b6957cc0be99e405b82388a2b6fc04260ae0

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