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.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b9b5e63f20ae760b44804fb3d44676530c968fd9dc876348a93932cb89be1c1 |
|
MD5 | 6411d1936f5fc8a9360d64e6aa84d99a |
|
BLAKE2b-256 | 0af506148717b6eeb69392c0feaed8cd7345f813f068dc9c35bb4bdef6ddd5ae |
Close
Hashes for charmed_kubeflow_chisme-0.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fc01a1aa4eec11f8373483cfd983c0bc2050e13a93287107d8ecc6fb3bda696 |
|
MD5 | d37cd4887aa9656f3cc99673694172f3 |
|
BLAKE2b-256 | f4b76f24ef3fec559563afe5b5794350ca1c1779e0dd403e840dc80494dd73f7 |