{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/7"}],"enrichment":{"capability":"Provides utilities for COS Lite charms, including bindings for cos-tool, Juju topology logic for observability labels, and a Python logging handler that forwards logs to Loki.","skillfed_tags":["juju-charm","observability","logging"],"use_cases":["Add structured logging to a Juju charm that forwards logs to a Loki instance for centralized log aggregation","Generate and apply Juju topology labels to charm metrics for model-driven observability","Integrate cos-tool functionality into charm code for COS Lite bundle operations","Build observability into custom charms deployed on Juju models with COS Lite"],"what_it_does":"cosl is a utility library for COS Lite charms\u2014Juju charm applications that integrate with the Canonical Observability Stack. It provides three main components: CosTool (bindings to the cos-tool CLI), JujuTopology (logic for generating topology labels used in observability metrics), and LokiHandler (a Python logging handler that sends logs to a Loki push API endpoint). The library depends on ops, diskcache, pydantic, pyyaml, tenacity, and typing-extensions, making it suitable for charm developers who need to instrument their applications with observability without building these integrations from scratch.\n\nThe package is actively maintained and has no known vulnerabilities. It targets charm developers and system administrators building observable Juju applications. The coordinated_workers module was moved to a separate package, so if you need that functionality, you should use the coordinated-workers package instead.","worth_installing":"Yes, if you are developing Juju charms for COS Lite. The library is actively maintained, has low install friction, carries no security vulnerabilities, and provides essential observability utilities that would otherwise require custom implementation. Not relevant for non-charm Python projects."},"id":"cosl","links":{"html":"https://skillfed.io/packages/cosl","md":"https://skillfed.io/packages/cosl.md","pypi":"https://pypi.org/project/cosl/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-14","license_spdx":null,"license_treatment":"permissive","name":"cosl","python_support":"supports_current","summary":"Utils for COS Lite charms"},"popularity":{"monthly_downloads":221240,"position":9282,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.10.3"}
