vmodule
Enable glog-style vmodule for python's logging
Decision gist · record as of 2026-08-14
Yes, if you need glog-style verbose logging in a Python CLI or library. The zero-dependency design, permissive license, and active maintenance make it a low-friction addition. The long gap since the last release is not a blocker for a stable, narrow-scope utility, but verify that per-module filtering works as documented for your use case.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.7 or later; development and linting tested on 3.10-3.12.
- No runtime dependencies and a pure-Python wheel make installation straightforward.
- The package is actively maintained with a recent commit history, though it has not seen a release since its initial 0.5.0 in February 2024.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and imposes no restrictions on use, modification, or distribution in proprietary or open-source projects.
last release 2024-02-26 (900 days) · last repo commit 2026-03-18
0 known vulnerabilities (OSV.dev, 2026-08-14) · 191,035 downloads/mo, #9,895 on PyPI
Alternatives
Verify before relying
from logging import getLogger
from vmodule import VLOG_1, vmodule_init
LOG = getLogger(__name__)
vmodule_init(v=1, vmodule=None)
LOG.log(VLOG_1, "Verbose message")- Whether the package's claim of working back to Python 3.7 has been tested against that version in CI.
- Real-world adoption beyond the top_15000 tier ranking; the 191035 monthly downloads may reflect transitive dependency rather than direct use.
What it is and what it does
vmodule extends Python's standard logging module with glog-style verbose logging levels (VLOG_1, VLOG_2, etc.), mapping them onto numeric severity thresholds. It lets you set a global verbosity level via a `-v` flag and override it per-module using a `--vmodule` string, similar to the glog library used in C++ projects. The package has no external dependencies and integrates directly with the logging module, so you can use it in libraries without imposing a dependency on your users.
You initialize it once in your application's main function with `vmodule_init()`, passing the verbosity level and optional per-module overrides. After that, you log at the verbose levels using `LOG.log(VLOG_1, ...)` just like any other logging call. It's designed for command-line tools and applications where you want to expose fine-grained logging control without restructuring your logging setup.
Use it for
- Command-line tools that need `-v` flags to control logging verbosity across multiple modules.
- Libraries that want to emit verbose debug logs without forcing users to configure logging themselves.
- Applications porting from glog where developers are familiar with VLOG semantics.
- Debugging production issues by enabling verbose output for specific modules without changing code.
- Multi-module Python projects where different components need different verbosity levels at runtime.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need glog-style verbose logging in a Python CLI or library.
The zero-dependency design, permissive license, and active maintenance make it a low-friction addition. The long gap since the last release is not a blocker for a stable, narrow-scope utility, but verify that per-module filtering works as documented for your use case.
Install
vmodule on PyPI
Before you install
No runtime dependencies and a pure-Python wheel make installation straightforward. The package is actively maintained with a recent commit history, though it has not seen a release since its initial 0.5.0 in February 2024.
Requires Python 3.7 or later; development and linting tested on 3.10-3.12.
License in practice
MIT license is permissive and imposes no restrictions on use, modification, or distribution in proprietary or open-source projects.
Quickstart
from logging import getLogger
from vmodule import VLOG_1, vmodule_init
LOG = getLogger(__name__)
vmodule_init(v=1, vmodule=None)
LOG.log(VLOG_1, "Verbose message")
Verify before relying
- Whether the package's claim of working back to Python 3.7 has been tested against that version in CI.
- Real-world adoption beyond the top_15000 tier ranking; the 191035 monthly downloads may reflect transitive dependency rather than direct use.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.7 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 900 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 191,035 / month, #9,895 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: vmodule-0.5.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “glog-style verbose logging”
- vmoduleAdds glog-style verbose logging levels to Python's standard logging,…
- verboselogsAdds four custom logging levels (NOTICE, SPAM, SUCCESS, VERBOSE) to…
- more-clickProvides pre-built Click decorators and utilities for common CLI…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also glog · verboselogs · tiered-debug · logmuse · minilog · flake8-logging · macwinnie-enhanced-logging · structlog-sentry · codemod-yaml · pytest-structlog