minilog
Minimalistic wrapper for Python logging.
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 miniloguv
uv add minilogpoetry
poetry add minilogInstalling 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
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
AutologgingAutologging provides decorators to…
permissive · top 15,000 on PyPI
glogA simplified Google-style logging wrapper that…
permissive · top 15,000 on PyPI
vmoduleAdds glog-style verbose logging levels to…
permissive · top 15,000 on PyPI
logfuryLogfury adds automatic method-call tracing to…
permissive · top 15,000 on PyPI
logzerologzero provides pre-configured Python logging…
permissive · top 5,000 on PyPI
logfmterFormats Python stdlib logging output as logfmt…
permissive · top 15,000 on PyPI
macwinnie-enhanced-loggingProvides a batteries-included logging setup…
unclear · top 15,000 on PyPI
jsonformatterFormats Python logging output as JSON, enabling…
permissive · top 15,000 on PyPI
logdecoratorLogdecorator provides Python decorators to add…
permissive · top 15,000 on PyPI
logging-formatter-anticrlfA drop-in replacement for Python's standard…
permissive · top 15,000 on PyPI