Skip to main content

tkinter_colored_logging_handlers

A Tkinter logging handler that supports ANSI colored output.

1693492901002

Installation

pip install tkinter_colored_logging_handlers

Usage

from tkinter_colored_logging_handlers import LoggingHandler
import logging
from tkinter import Tk, Text

root = Tk()
text_widget = Text(root)
text_widget.pack()

logger = logging.getLogger(__name__)
handler = LoggingHandler(text_widget)
logger.addHandler(handler)
logger.setLevel(logging.DEBUG)

logger.info("This is a test message")
root.mainloop()

Development

Running Tests

pip install pytest
pytest tests/

License

MIT

Metadata

Release files for tkinter-colored-logging-handlers 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tkinter-colored-logging-handlers 0.0.4
File Size Uploaded
tkinter_colored_logging_handlers-0.0.4.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tkinter-colored-logging-handlers 0.0.4
File Interpreter ABI Platform
tkinter_colored_logging_handlers-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 8.8 kB

Release files / tkinter_colored_logging_handlers-0.0.4.tar.gz

Download URL tkinter_colored_logging_handlers-0.0.4.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
e15cecadfcb297f28de0bc055e14032d9bd7087e914c2afaa86eeea8238bd622
BLAKE2b-256 checksum
How to use checksums
fc1d831cd6d55c48789463fc7c40019c1fa416e162bc47bd6be4a236fbfc4dd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / tkinter_colored_logging_handlers-0.0.4-py3-none-any.whl

Download URL tkinter_colored_logging_handlers-0.0.4-py3-none-any.whl
Size 4.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a3e10ff9b48d47bacf0f1ecb3a4a70cf47ba84ca058ca9bb2963494f9c28733
BLAKE2b-256 checksum
How to use checksums
e4f2ecd1b694a764cfa695a1560222b9a9c1559934146c2ca2895fc65cd9f17d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page