skillfed

minilog

Minimalistic wrapper for Python logging.

minilog v2.3.1 141.2K downloads/30d#11,248 on PyPI31
Permissive license MIT AGING released

What it is and what it does

Minilog is a thin wrapper around Python's standard logging module designed to reduce boilerplate for simple logging use cases. Instead of importing logging, calling getLogger(__name__), and manually configuring basicConfig in each module, you import minilog and call its init() method once. It produces standard library logging records behind the scenes with automatic formatting for non-strings, so the output is compatible with existing logging infrastructure.

The package targets developers who want logging in their projects but find the standard library's setup overhead excessive for straightforward cases. It supports Python 3.8 through 3.12 and has been stable since its initial release, though development has slowed (last release 720 days ago). With no runtime dependencies, it installs cleanly and integrates into any Python project.

Use it for:

  • Quick scripts and CLI tools where full logging configuration feels like overkill but you want structured output.
  • Small libraries or modules that need logging without forcing users to configure the logging module themselves.
  • Educational projects or examples where you want to teach logging best practices without drowning in setup code.
  • Rapid prototyping where you want to add logging quickly without boilerplate ceremony.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Minilog wraps Python's standard logging module to eliminate boilerplate, letting you call logging methods directly without manual logger setup or basicConfig calls.

Yes, if you want to reduce logging boilerplate in simple projects. The package is stable, permissively licensed, has zero dependencies, and works across modern Python versions. The aging maintenance status (last release 720 days ago) is not a blocker for a mature, low-complexity tool, but it signals this is a stable utility unlikely to gain new features. Install it for convenience in small scripts and libraries; skip it if you need active development or advanced logging features.

Install

minilog on PyPI

pip

pip install minilog

uv

uv add minilog

poetry

poetry add minilog

Installing minilog

Before you install

Low install friction with no runtime dependencies. Maintenance is aging—last release was 720 days ago, though the repository remains active with a recent commit on 2025-10-06. Suitable for stable, low-change use.

License in practice

MIT license (permissive) means you can use, modify, and distribute minilog freely in commercial and private projects with minimal restrictions.

Quickstart

pip install minilog

import minilog

minilog.init()
minilog.info("Hello, %s!", "world")

Verify before relying

  • Whether automatic formatting for non-strings covers all common data types or has edge cases.
  • Performance characteristics compared to direct logging module use in high-volume scenarios.
  • Exact API surface and available logging methods beyond info() and debug().

Package facts

License MIT (permissive)
Python support supports the current Python release (<4.0,>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance aging — 720 days since the last release
Last repo commit
First released
Downloads 141,164/month — #11,248 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: minilog-2.3.1-py3-none-any.whl

Keywords: logging

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software DevelopmentTopic :: System :: Logging

Tags

simple logging wrapperreduce logging boilerplateeasy python loggingminimal logger setuplogging without configurationquick logging module
loggingboilerplate-reduction

More Software Development packages