Metadata-Version: 2.3
Name: cosl
Version: 0.0.31
Summary: Utils for COS Lite charms
Project-URL: Homepage, https://github.com/canonical/cos-lib
Project-URL: Bug Tracker, https://github.com/canonical/cos-lib/issues
Author-email: sed-i <82407168+sed-i@users.noreply.github.com>
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Intended Audience :: System Administrators
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Utilities
Classifier: Typing :: Typed
Requires-Python: >=3.8
Requires-Dist: lightkube>=v0.15.4
Requires-Dist: ops
Requires-Dist: pydantic
Requires-Dist: pyyaml
Requires-Dist: tenacity
Requires-Dist: typing-extensions
Description-Content-Type: text/markdown

# cosl
![PyPI](https://img.shields.io/pypi/v/cosl)

This library provides utilities for
[COS Lite](https://github.com/canonical/cos-lite-bundle/) charms:

- [`CosTool`](src/cosl/cos_tool.py): bindings for
  [cos-tool](https://github.com/canonical/cos-tool)
- [`JujuTopology`](src/cosl/juju_topology.py): logic for
  [topology labels](https://ubuntu.com/blog/model-driven-observability-part-2-juju-topology-metrics)
- [`LokiHandler`](src/cosl/loki_logger.py): python logging handler that forwards logs to a Loki push api endpoint.

# How to release
 
Go to https://github.com/canonical/cos-lib/releases and click on 'Draft a new release'.

Select a tag from the dropdown, or create a new one from the `main` target branch.

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'.