A lightweight installer for HarmonyOS HDC tools
Project description
harmony_hdc_bin_collection
Complete and available collection of hdc command tools. No need to download the development SDK for FamilyBucket, lightweight downloads are available.
Installation
To install the hdc_installer package, navigate to the hdc_installer directory and run:
pip install .
Or for development installation:
pip install -e .
Usage
After installation, you can use the hdc_installer command:
# Show help message
hdc_installer -h
# List available HDC binaries
hdc_installer -l
# Install HDC binary
hdc_installer -i
Requirements
- Python 3.6 or higher
- click library (automatically installed with the package)
Publishing
Local Publishing
To publish locally to PyPI:
- Make sure you have
twineinstalled:pip install twine - Run the publish script:
./publish_local.sh - Upload to PyPI:
twine upload dist/*
GitHub Actions Publishing
The repository includes GitHub Actions for automatic publishing:
publish.yml- Publishes to PyPI when a release is publishedtest_publish.yml- Publishes to TestPyPI on pushes to main branch
To enable GitHub Actions publishing, you need to set up secrets in your repository:
PYPI_API_TOKEN- API token for PyPITEST_PYPI_API_TOKEN- API token for TestPyPI
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_installer-0.1.0.tar.gz.
File metadata
- Download URL: hdc_installer-0.1.0.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1aea950e720efacc2f4b5ed1f35812aa687c1bd1145cf0475dd1e661ca17302a
|
|
| MD5 |
30644e24b3b6101b97bf4399d909d18e
|
|
| BLAKE2b-256 |
e7fd170895d634055472b3da09b7fcf9d62537e91e5e25f5114c6a22136d464d
|
Provenance
The following attestation bundles were made for hdc_installer-0.1.0.tar.gz:
Publisher:
publish.yml on youngfreeFJS/harmony_hdc_installer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hdc_installer-0.1.0.tar.gz -
Subject digest:
1aea950e720efacc2f4b5ed1f35812aa687c1bd1145cf0475dd1e661ca17302a - Sigstore transparency entry: 692383514
- Sigstore integration time:
-
Permalink:
youngfreeFJS/harmony_hdc_installer@bfebff547ecd1ab01ec976a875a14a732fb84551 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/youngfreeFJS
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@bfebff547ecd1ab01ec976a875a14a732fb84551 -
Trigger Event:
push
-
Statement type:
File details
Details for the file hdc_installer-0.1.0-py3-none-any.whl.
File metadata
- Download URL: hdc_installer-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f6568a75979032296117e353896f07d8c6132f35920aa66c3ebe876d5b73ce74
|
|
| MD5 |
ffc81f0846919516c4534f74dc84bd9f
|
|
| BLAKE2b-256 |
e2e776b91e6f1a4cdd1eaf4918ede68159012b84abc5c48934bd3ac915a85af0
|
Provenance
The following attestation bundles were made for hdc_installer-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on youngfreeFJS/harmony_hdc_installer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hdc_installer-0.1.0-py3-none-any.whl -
Subject digest:
f6568a75979032296117e353896f07d8c6132f35920aa66c3ebe876d5b73ce74 - Sigstore transparency entry: 692383528
- Sigstore integration time:
-
Permalink:
youngfreeFJS/harmony_hdc_installer@bfebff547ecd1ab01ec976a875a14a732fb84551 -
Branch / Tag:
refs/tags/0.1.0 - Owner: https://github.com/youngfreeFJS
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@bfebff547ecd1ab01ec976a875a14a732fb84551 -
Trigger Event:
push
-
Statement type: