charms-dwellir-blockchain-common
Shared helpers for Dwellir blockchain charms. Provides a minimal charm-facing interface and a small set of utilities that charms can import to reduce duplicated code.
This package now exposes its stable utility surface at charms.dwellir.blockchain_common.v1.
What is included
charms.dwellir.blockchain_common.v1.processcharms.dwellir.blockchain_common.v1.systemdcharms.dwellir.blockchain_common.v1.userscharms.dwellir.blockchain_common.v1.packagescharms.dwellir.blockchain_common.v1.downloadscharms.dwellir.blockchain_common.v1.cryptocharms.dwellir.blockchain_common.v1.actionscharms.dwellir.blockchain_common.v1.configcharms.dwellir.blockchain_common.v1.versioncharms.dwellir.blockchain_common.v1.jsonrpccharms.dwellir.blockchain_common.v1.metadatacharms.dwellir.blockchain_common.v1.evm_chains.registry
Quick usage
Add the package to your charm's requirements.txt from PyPI.
charms-dwellir-blockchain-common>=0.0.1,<1
Optional fallback for private source installs:
git+ssh://git@github.com/dwellir-public/dwellir-blockchain-charms-common.git@main#egg=charms-dwellir-blockchain-common
Development
- Run unit tests:
python -m pip install -e ".[test]"
pytest -q
Local charm testing
For a temporary workflow that uses a locally built wheel from this repository in
any uv-based charm, see LOCAL_WHEEL_STEPS.md.
Upload to TestPyPi for testing and more flexibility
Run:
make upload-testpypi TOKEN='pypi-<testpypi-token>' VERSION=<new-version>
This target temporarily sets version in setup.cfg for the TestPyPI upload and restores it automatically after the command finishes.
For the full manual workflow, see this file.
Releases
- Follow version bump criteria in RELEASE_VERSIONING_GUIDELINES.md.
- Bump
versioninsetup.cfg. - Trigger
.github/workflows/release-pypi-and-github.ymlmanually from GitHub Actions. - Approve the
pypienvironment when prompted. - On success, the workflow also creates a GitHub release/tag
v<version>and uploadsdist/*artifacts.
Notes:
- There is a
pypienvironment configured in repository that restricts publishing to PyPi from other branches than the default branch (main).
PyPI Trusted Publisher Setup
In PyPI project settings, add a GitHub Actions publisher with:
- Owner:
dwellir-public - Repository:
dwellir-blockchain-charms-common - Workflow filename:
release-pypi-and-github.yml - Environment:
pypi
Notes:
- These values must match
.github/workflows/release-pypi-and-github.ymlexactly. - If the project does not exist on PyPI yet, create a pending publisher first, then run the manual release workflow.
GitHub Branch Protection
There are branch protection rules for the default branch (main) that prevents from force pushing or merging without a PR.
Metadata
Release files for charms-dwellir-blockchain-common 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| charms_dwellir_blockchain_common-0.3.0.tar.gz | 185.1 kB | With provenance | Details for charms_dwellir_blockchain_common-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| charms_dwellir_blockchain_common-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for charms_dwellir_blockchain_common-0.3.0-py3-none-any.whl |
Total release size: 380.3 kB
Release files / charms_dwellir_blockchain_common-0.3.0.tar.gz
| Download URL | charms_dwellir_blockchain_common-0.3.0.tar.gz |
|---|---|
| Size | 185.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1431cb6e9468af0a8e7f2140b45c737b3d0f22baf61d6366a403b1f9917c6a9b
|
|
BLAKE2b-256 checksum How to use checksums |
3557752b5ff39ec112642dddd032942be2092afc82811a84741054a0eb3f0145
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.
Transparency logRelease files / charms_dwellir_blockchain_common-0.3.0-py3-none-any.whl
| Download URL | charms_dwellir_blockchain_common-0.3.0-py3-none-any.whl |
|---|---|
| Size | 195.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8e286eb4d63fcab5ce67c48d23dda3ffd783b8ce1f21b9e7d23fd1344c34e3c1
|
|
BLAKE2b-256 checksum How to use checksums |
3ad626db4474365b9ffcea8a694137e23ca8cf9c43ae98add92a16c5b17655de
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.
Transparency logSecurity for charms-dwellir-blockchain-common 0.3.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for charms_dwellir_blockchain_common-0.3.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 25, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.