charm-lib-reconciler
Charm library for unified reconciliation.
This library aims to make it easier to write charms with a single "reconcile" handler that handles all Juju events.
from charms.reconciler import Reconciler
class SomeCharm(ops.CharmBase):
def __init__(self, *args):
super().__init__(*args)
self.reconciler = Reconciler(self, self.reconcile)
def reconcile(self, event):
# ...
In the above example, the reconcile method will end up being called for any
HookEvent such as install, config_changed, *_relation_changed, and so on.
Within the reconcile method, the charm can check and set relation data,
configure local services, and so on.
Metadata
Release files for charms.reconciler 0.0.1
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_reconciler-0.0.1.tar.gz | 66.2 kB | Without provenance | Details for charms_reconciler-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| charms_reconciler-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for charms_reconciler-0.0.1-py3-none-any.whl |
Total release size: 74.5 kB
Release files / charms_reconciler-0.0.1.tar.gz
| Download URL | charms_reconciler-0.0.1.tar.gz |
|---|---|
| Size | 66.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab5f95b1d91e289275c18d77027c8ebdbdb19e7c30cc40e18db7ccbff2f9529c
|
|
BLAKE2b-256 checksum How to use checksums |
627dbff2abdf22225f6289cba0d2f0ef20c965fa2f7f74a65028a585d791fb45
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / charms_reconciler-0.0.1-py3-none-any.whl
| Download URL | charms_reconciler-0.0.1-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
26692c77b9e6b699f954e3a2d961ddae4af37bb245aeb7629b00441cbbb4e17a
|
|
BLAKE2b-256 checksum How to use checksums |
82696cd61bb1f95a067575dc726e0c52e6119e1126fb5c6d319b6ed46fc5b151
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for charms.reconciler 0.0.1
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.