Skip to main content

Shared abstractions for litmus component operator charms.

Project description

litmus-libs

PyPI

Shared Python package used by all four Litmus charms. It provides:

  • Relation interfaces — typed providers/requirers for the custom litmus-auth, litmus-auth-http-api, litmus-backend-http-api, and litmus-infrastructure Juju relations, plus self-monitoring bindings.
  • Typed data models — Pydantic/dataclass wrappers for MongoDB credentials (DatabaseConfig) and TLS cert data (TLSConfigData), replacing raw dict passing.
  • StatusManager — centralises collect-status logic (blocked on missing relations, waiting on missing config, blocked on failing Pebble checks).
  • TlsReconciler — writes TLS cert/key/CA files into a workload container's filesystem and cleans them up when TLS is removed.
  • Utils — small helpers like resolving the Kubernetes service FQDN for a Juju app.

How to release

Go to https://github.com/canonical/litmus-operators/releases and click on 'Draft a new release'.

Select a tag from the dropdown, or create a new one from the main target branch. The tag needs to start with libs- to get picked up by pypi automation.

Enter a meaningful release title and in the description, put an itemized changelog listing new features and bugfixes, and whatever is good to mention.

Click on 'Publish release'.

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

litmus_libs-0.0.15.tar.gz (84.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

litmus_libs-0.0.15-py3-none-any.whl (21.3 kB view details)

Uploaded Python 3

File details

Details for the file litmus_libs-0.0.15.tar.gz.

File metadata

  • Download URL: litmus_libs-0.0.15.tar.gz
  • Upload date:
  • Size: 84.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for litmus_libs-0.0.15.tar.gz
Algorithm Hash digest
SHA256 576edf1b6d2d316b6b9f421e268dabc518dfdd05398723dbb709beffa47c18ad
MD5 6bbbdd059a5e8620423603167ce4b71c
BLAKE2b-256 94927b33f8857256174377a33e21b3c77b7dba0e95b2fd78a377c0a2e68cd757

See more details on using hashes here.

Provenance

The following attestation bundles were made for litmus_libs-0.0.15.tar.gz:

Publisher: lib-release.yaml on canonical/litmus-operators

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file litmus_libs-0.0.15-py3-none-any.whl.

File metadata

  • Download URL: litmus_libs-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 21.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for litmus_libs-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 0658d931009249cf918aa1da1269920abd6bb897fe2db27cc9a5fc8088c3eb77
MD5 54e64efde3c4cc01d0ef44ac4d26567a
BLAKE2b-256 f71268e4c770e93547273886de171d60a314c0d2007efb862f5f825543090699

See more details on using hashes here.

Provenance

The following attestation bundles were made for litmus_libs-0.0.15-py3-none-any.whl:

Publisher: lib-release.yaml on canonical/litmus-operators

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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