{"categories":[{"label":"Bio-Informatics","url":"https://skillfed.io/packages/category/scientific-engineering-bio-informatics"}],"enrichment":{"capability":"Adds standard CLI logging options (`--verbosity`, `--silent`, `--logdev`) to argparse-based command-line tools, with a simple interface to configure Python's standard logging from command-line arguments.","skillfed_tags":["cli-logging","argparse"],"use_cases":["Add standard logging controls to a CLI tool without writing custom argparse setup or logging configuration code.","Let users control verbosity levels (1\u20135 mapping to CRITICAL through DEBUG) and developer mode from the command line.","Silence all logging output with `--silent` for scripting or batch workflows.","Enable detailed developer logging with timestamps and line numbers via `--logdev` for debugging.","Configure logging in an interactive Python session with `init_logger()` for quick testing."],"what_it_does":"Logmuse is a small utility that bridges argparse and Python's standard logging module, letting you add three standard CLI options (`--verbosity`, `--silent`, `--logdev`) to your command-line tool in one line. Instead of writing your own logging setup code, you call `add_logging_options()` to inject these arguments into your parser, then `logger_via_cli()` to configure the root logger based on what the user passed. All loggers in your package and its dependencies automatically respect these settings.\n\nThe package is designed for CLI tools that want familiar logging controls without boilerplate. It works with standard Python logging, so imported packages don't need logmuse at all\u2014they just use `logging.getLogger(__name__)` and inherit the configuration from your CLI entry point. The main gotcha is to avoid calling `init_logger()` at import time, which would break library usage by replacing handlers before the root logger can be configured.","worth_installing":"Yes. Logmuse is a lightweight, actively maintained utility with no dependencies, permissive licensing, and a clear single purpose: reducing boilerplate for CLI logging. Install it if you're building a command-line tool with argparse and want standard logging options without writing setup code. Skip it only if you prefer to manage logging configuration yourself or don't need CLI-driven verbosity control."},"id":"logmuse","links":{"html":"https://skillfed.io/packages/logmuse","md":"https://skillfed.io/packages/logmuse.md","pypi":"https://pypi.org/project/logmuse/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-07","license_spdx":"BSD-2-Clause","license_treatment":"permissive","name":"logmuse","python_support":"supports_current","summary":"Logging setup"},"popularity":{"monthly_downloads":122441,"position":11950,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.3.1"}
