glog
Simple Google-style logging wrapper for Python.
Decision gist · record as of 2026-08-14
No. The package is abandoned (last release 2016-12-14, last commit 2022-11-07) with no maintenance or security updates. While it has low install friction and a permissive license, its age and lack of active development make it a poor choice for new projects. Consider actively maintained alternatives like the standard logging module or structured logging libraries instead.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with only two lightweight runtime dependencies (python-gflags and six).
- However, the package is abandoned—last release was 2016-12-14 and last commit 2022-11-07—so expect no maintenance or security updates.
License · maintenance · safety
BSD (permissive) — BSD license is permissive, allowing commercial and private use with minimal restrictions. You may use and modify the code freely as long as you retain the license notice.
last release 2016-12-14 (3530 days) · last repo commit 2022-11-07 · 53 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 104,740 downloads/mo, #12,738 on PyPI
Alternatives
Verify before relying
pip install glog
import glog as log
log.setLevel("INFO")
log.info("It works.")
log.warn("Something not ideal")
log.error("Something went wrong")- Whether python-gflags and six remain actively maintained and compatible with modern Python versions
- Whether the abandoned status and lack of updates since 2016 pose compatibility issues with current Python releases
What it is and what it does
glog is a thin wrapper around Python's standard logging module that applies Google's internal logging conventions without requiring boilerplate configuration. It configures the root logger to output all messages to stderr in a consistent format: a log-level prefix, timestamp with microseconds, process ID, source filename and line number, and the message body. If your application already uses gflags, glog automatically adds a --verbosity flag; otherwise you can call log.setLevel() directly.
Beyond basic logging, glog provides check functions (check_eq, check_ge, check_lt, and others) that enforce invariants and raise FailedCheckException with detailed context when they fail, similar to C++ glog's assertion macros. This makes it useful for mixed Python/C++ codebases or when you prefer explicit runtime checks over standard Python asserts.
Use it for
- Standardize logging format across multiple Python scripts and modules without per-module configuration
- Enforce runtime invariants using check functions (check_eq, check_ge, etc.) with automatic stack traces on failure
- Integrate logging into applications that already depend on gflags for command-line argument handling
- Port logging patterns from C++ glog to Python while maintaining similar output format and behavior
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (last release 2016-12-14, last commit 2022-11-07) with no maintenance or security updates. While it has low install friction and a permissive license, its age and lack of active development make it a poor choice for new projects. Consider actively maintained alternatives like the standard logging module or structured logging libraries instead.
Install
glog on PyPI
Before you install
Low install friction with only two lightweight runtime dependencies (python-gflags and six). However, the package is abandoned—last release was 2016-12-14 and last commit 2022-11-07—so expect no maintenance or security updates.
License in practice
BSD license is permissive, allowing commercial and private use with minimal restrictions. You may use and modify the code freely as long as you retain the license notice.
Quickstart
pip install glog
import glog as log
log.setLevel("INFO")
log.info("It works.")
log.warn("Something not ideal")
log.error("Something went wrong")
Verify before relying
- Whether python-gflags and six remain actively maintained and compatible with modern Python versions
- Whether the abandoned status and lack of updates since 2016 pose compatibility issues with current Python releases
Package facts
| License | BSD permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagespython-gflagssix |
| Maintenance | Abandoned 3,530 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 104,740 / month, #12,738 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseProgramming Language :: PythonTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Logging |
Evidence: glog-0.3.1-py2.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 › “google style logging python”
- glogA simplified Google-style logging wrapper that configures Python's…
- cpplintCpplint is a command-line static code checker that scans C/C++ files…
- sphinxcontrib-napoleonA Sphinx extension that converts Google and NumPy style docstrings…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also logging · vmodule · logistro · minilog · logmuse · loguru · verboselogs · rapids-logger · python-gflags · logger