table-logger
TableLogger is a handy Python utility for logging tabular data into a console or a file.
What it is and what it does
TableLogger is a lightweight utility for printing structured data as formatted tables in the console or writing to CSV files. It handles alignment, type-specific formatting (dates, floats, strings), and optional metadata columns (row numbers, timestamps, time deltas) with minimal configuration. The package depends on numpy and is designed for simple tabular logging tasks where you want readable output without heavy dependencies.
The library is in production/stable status but dormant—last updated in 2019 with no active maintenance. It supports Python 2.7 and 3, though compatibility with modern Python versions is unverified. Installation is straightforward via pip with low friction, but the copyleft GPL 2.0 license means any project using it must also be GPL-compatible.
Use it for:
- Log experiment results or metrics to console during processing with automatic alignment and formatting.
- Export structured data to CSV files with proper escaping and type formatting.
- Display multi-column status updates in long-running scripts with optional row counts and elapsed time.
- Format and print database query results or API responses as readable tables without external dependencies.
- Create simple formatted reports in batch scripts where heavier libraries are unwanted.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
TableLogger formats and outputs tabular data to console or file with minimal setup, handling alignment and formatting of mixed data types automatically.
Yes, if you need lightweight tabular logging and accept the GPL 2.0 copyleft constraint. The package is stable and low-friction to install, but dormant maintenance means no active support for modern Python versions or bug fixes. Suitable for internal tools and GPL-compatible projects; avoid in proprietary codebases due to license incompatibility.
Install
table-logger on PyPI
pip
pip install table-loggeruv
uv add table-loggerpoetry
poetry add table-loggerInstalling table-logger
Before you install
Low friction installation with a single runtime dependency (numpy). Maintenance is dormant—last release was 2019-08-26 and no commits since 2023-09-29—so expect no active bug fixes or feature updates.
License in practice
Licensed under GNU GPL 2.0 (copyleft). Any code that imports and uses this package must also be distributed under a compatible copyleft license; proprietary or permissively-licensed projects may face licensing conflicts.
Quickstart
from table_logger import TableLogger
import numpy
tbl = TableLogger(columns='a,b,c')
tbl(1, 'Row1', 3.14)
tbl(2, 'Row2', 1.5)
Verify before relying
- Whether numpy is truly required at runtime or only for development/testing
- Current compatibility with Python 3.10+ given last release predates modern versions
- Whether dormant status means the package is stable enough for production use or abandoned
Package facts
| License | GNU GPL 2.0 (copyleft) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — numpy |
| Maintenance | dormant — 2,545 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 155,899/month — #10,797 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: table_logger-0.3.6-py3-none-any.whl
Keywords: tabular, structured, data, console, log
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
terminaltablesRenders formatted ASCII tables in terminal…
permissive · top 5,000 on PyPI
terminaltables3Renders formatted tables in terminal output…
permissive · top 15,000 on PyPI
texttableCreates formatted ASCII tables for console…
permissive · top 1,000 on PyPI
tabulatorReads and writes tabular data in multiple…
permissive · top 15,000 on PyPI
py-markdown-tableGenerates formatted markdown tables from lists…
permissive · top 5,000 on PyPI
dataflows-tabulatorReads and writes tabular data in multiple…
permissive · top 15,000 on PyPI
columnarColumnar formats tabular data into aligned,…
permissive · top 5,000 on PyPI
linear-tsvParses and writes tabular data in Linear TSV…
permissive · top 15,000 on PyPI
beautifultablePrints tabular data to the terminal in a…
permissive · top 15,000 on PyPI
tabulateFormats and prints tabular data in plain text…
permissive · top 1,000 on PyPI