A collection of helpers for Charms maintained by the Charmed Kubeflow team
Project description
Charmed Kubeflow Chisme
Chisme: a Spanish word for gossip, or a story worth telling to your friends.
This repository is for chisme within the Charmed Kubeflow team's codebase - it is a collection of helpers for use in both the Charmed Operators maintained by the Charmed Kubeflow team as well as anyone else who benefits from them.
Contents
- Exceptions: A collection of standard Exceptions for use when writing charms.
- Kubernetes: Helpers for interacting with Kubernetes
- Lightkube: Helpers specific to using or extending Lightkube
- Pebble: Helpers for managing pebble when writing charms
- Reusable Charm Components: The
Component
abstraction that encapsulates any piece of logic for a Charm, a reusable reconcile functionCharmReconciler
that executesComponents
, and a collection ofComponents
for things like running Pebble containers or deploying Kubernetes resources - Rock: Utilities for testing rocks
- Status Handling: Helpers for working with Charm Status objects
- Testing: Utilities for testing Charms
- Types: Reusable typing definitions, useful for adding type hints
Publishing to PyPi
To publish a new release to Pypi:
- Update setup.cfg to the new version and commit it to the repo via a completed PR
- Apply local git tag according to the format
X.X.X
(semantic versioning) on the main branch - Push tag to the repo. Example:
git push origin 0.0.8
- GitHub Action will create a new release on GitHub
- Edit release via GitHub UI and click publish
- GitHub Action will automatically publish the same commit to PyPi repository
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
Close
Hashes for charmed_kubeflow_chisme-0.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | af77258272ba31994ebd7eef3e8d32141cce441b61ad71ba8f26ee72ef505569 |
|
MD5 | a7d4914ff783a33f1219565c1db57a31 |
|
BLAKE2b-256 | effedbd4d82821bcc9314e71c02234e3f40b5367a7b1d1faec26b2c1c9c1aaa4 |
Close
Hashes for charmed_kubeflow_chisme-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1726c0d9ab4b28c4fbadddce4500ef1b6ab3f4112529e9cb0647b5587c72ea29 |
|
MD5 | 6f93eed7f4e5034576852876e5b602e7 |
|
BLAKE2b-256 | 3c535e13595a20d55e269f5b37ebddb68fdaa37d0418b38b7bb1b85e149a2a22 |