spdlog
python wrapper around C++ spdlog logging library (https://github.com/bodgergely/spdlog-python)
What it is and what it does
spdlog is a Python binding to the C++ spdlog logging library, designed to bring high-performance structured logging to Python applications. It wraps the underlying C++ implementation via pybind11, allowing developers to use spdlog's logging capabilities from Python code.
The package depends on pybind11 for its runtime bindings and is distributed as a compiled wheel. However, the project has been abandoned for 1213 days (last release 2023-04-19), meaning there is no active maintenance, bug fixes, or support for newer Python versions. Users should verify compatibility with their Python version and consider whether the lack of ongoing maintenance poses a risk for their use case.
Use it for:
- Integrate spdlog into Python applications that require structured, rotating file logs
- Use C++ logging infrastructure from Python code while retaining spdlog's behavior
- Build Python services where logging performance is a measurable concern
- Maintain consistency with existing C++ spdlog deployments in polyglot environments
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a Python wrapper around the C++ spdlog logging library, enabling fast structured logging from Python code.
No, not recommended. The package is abandoned (no releases for 1213 days) with no maintenance signal, making it risky for new projects. While MIT-licensed and free of known vulnerabilities, the lack of active support means no fixes for compatibility issues with newer Python versions or dependencies. Consider maintained alternatives instead.
Install
spdlog on PyPI
pip
pip install spdloguv
uv add spdlogpoetry
poetry add spdlogInstalling spdlog
Before you install
Medium install friction due to compiled wheel dependency (pybind11). Package is abandoned as of 1213 days since last release (2023-04-19), with no active maintenance signal.
License in practice
MIT license permits commercial and private use with minimal restrictions, though abandoned status means no upstream support for license disputes or clarifications.
Quickstart
pip install spdlog
import spdlog
logger = spdlog.rotating_logger_mt('name', 'file.log')
Requires pybind11 at runtime; pre-built wheels available but compilation may be needed on unsupported platforms.
Verify before relying
- Whether the package works reliably with current Python versions (support unspecified in metadata)
- Whether pybind11 dependency is vendored or must be installed separately
- Active maintenance status of the upstream C++ spdlog library itself
- Specific rotating logger parameters and their defaults
Package facts
| License | MIT (permissive) |
| Python support | not specified |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | 1 — pybind11 |
| Maintenance | abandoned — 1,213 days since the last release |
| First released | |
| Downloads | 85,490/month — #13,919 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: spdlog-2.0.6-cp310-cp310-win_amd64.whl
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
rapids-loggerrapids-logger provides a CMake-based framework…
permissive · top 15,000 on PyPI
fastarFastar provides high-performance tar archive…
permissive · top 1,000 on PyPI
onemkl-sycl-dftProvides optimized C and Data Parallel C++…
unclear · top 15,000 on PyPI
loroLoro provides Python bindings for a CRDT…
unclear · top 5,000 on PyPI
vispyVisPy is a GPU-accelerated 2D/3D visualization…
permissive · top 5,000 on PyPI
hyperscanPython bindings for Vectorscan (an open-source…
permissive · top 15,000 on PyPI
nvidia-cutlass-dsl-libs-baseProvides Python interfaces for writing…
unclear · top 5,000 on PyPI
snowpipe-streamingStreams data in real-time into Snowflake tables…
permissive · top 15,000 on PyPI
igraphigraph provides a Python interface to a…
copyleft · top 5,000 on PyPI
tiledbsomaTileDB-SOMA is a Python implementation of the…
permissive · top 15,000 on PyPI