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
File details
Details for the file charmed_kubeflow_chisme-0.4.3.tar.gz
.
File metadata
- Download URL: charmed_kubeflow_chisme-0.4.3.tar.gz
- Upload date:
- Size: 43.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7be7360a777fe70553ac4a1df55704b2b9d7b0ef70f7f969684b3c4f6886cb33 |
|
MD5 | 452c9e5bff2e8d955ddfe0cea4219455 |
|
BLAKE2b-256 | f3a0c523dfc8adabd76cf730fb2bd3041961c86ca90741a4b524fc1164e067fb |
File details
Details for the file charmed_kubeflow_chisme-0.4.3-py3-none-any.whl
.
File metadata
- Download URL: charmed_kubeflow_chisme-0.4.3-py3-none-any.whl
- Upload date:
- Size: 58.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bde00c4c7539bd0c1893e21339b885d9612460e0d23e4084ad0a139e24222220 |
|
MD5 | 399a103e09f042855fa209560fa7f039 |
|
BLAKE2b-256 | 15e157c1989dd52265e503b3d35129aebf2c5644bf2e7202d616321c4cbb4247 |