skillfed

table-logger

TableLogger is a handy Python utility for logging tabular data into a console or a file.

table-logger v0.3.6 155.9K downloads/30d#10,797 on PyPI9
Copyleft license GNU GPL 2.0 DORMANT released

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-logger

uv

uv add table-logger

poetry

poetry add table-logger

Installing 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

Development Status :: 5 - Production/StableLicense :: OSI Approved :: GNU General Public License v2 (GPLv2)Programming Language :: Python :: 2.7Programming Language :: Python :: 3Topic :: Software Development :: LibrariesTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Logging

Tags

tabular data loggingconsole table formattingstructured data outputformatted table printercsv logging utilitydata table displayconsole logging tables
tabular-outputlogging-utilitygpl-copyleft

More Libraries packages