Skip to main content

Textualicious

PyPI License Package status Monthly downloads Distribution format Wheel availability Python version Implementation Releases Github Contributors Github Forks Github Issues Github Issues Github Watchers Github Stars Github Repository size Github last commit Github release date Github language count Github commits this month Package status PyUp

Read the documentation!

Reusable widgets and screens for Textual apps: tables and viewers for dataclass-like objects, a logging widget, modal help/log screens and a directory tree for local and remote filesystems.

Installation

pip install textualicious

Requires Python 3.13+.

Quickstart

from dataclasses import dataclass
import logging

from textual.app import App, ComposeResult

from textualicious import DataClassTable, DataClassViewer, LoggingWidget


@dataclass
class Task:
    id: int
    title: str
    done: bool = False


TASKS = [Task(1, "Write docs"), Task(2, "Fix bugs", done=True)]


class TaskApp(App):
    def compose(self) -> ComposeResult:
        yield DataClassTable(Task, items=TASKS, cursor_type="row")
        yield DataClassViewer(TASKS[0])
        yield LoggingWidget()

    def on_mount(self) -> None:
        # The widget doubles as a logging handler
        logging.getLogger().addHandler(self.query_one(LoggingWidget).handler)

    def on_data_class_table_row_selected(self, event: DataClassTable.RowSelected) -> None:
        logging.getLogger().warning("Selected %s", event.item)


if __name__ == "__main__":
    TaskApp().run()

To try a single widget or screen without writing an app, use show:

from textualicious import HelpScreen, show, show_path

show(HelpScreen("# Help\n\nPress `esc` to close."))
show_path(".")  # browse a directory (any universal-pathlib / fsspec URL works)

Features

  • DataClassTable: a DataTable for lists of dataclass-like objects (anything fieldz understands: dataclasses, pydantic, attrs, ...). Columns come from the fields; posts DataClassTable.RowSelected with the selected item.
  • DataClassViewer: shows one object as a field / value / type / description table.
  • LoggingWidget: a RichLog with an attached logging.Handler (widget.handler), colored by log level. textualicious.log_screen.LogWindow wraps it in a modal screen.
  • HelpScreen: a modal screen rendering Markdown help text.
  • UniversalDirectoryTree (textualicious.upath_tree): a DirectoryTree backed by universal-pathlib, so it can browse remote filesystems (S3, GitHub, ...; install the matching fsspec backend).
  • show / show_path: run a widget or screen in a minimal app for quick previews.

Metadata

Release files for textualicious 1.0.1

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

Source distribution (sdist)

Source distribution for textualicious 1.0.1
File Size Uploaded Provenance Actions
textualicious-1.0.1.tar.gz 14.2 kB With provenance Details for textualicious-1.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for textualicious 1.0.1
File Interpreter ABI Platform Actions
textualicious-1.0.1-py3-none-any.whl Python 3 none any Details for textualicious-1.0.1-py3-none-any.whl

Total release size: 30.0 kB

Release files / textualicious-1.0.1.tar.gz

Download URL textualicious-1.0.1.tar.gz
Size 14.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9c27ac7105fba78dc8ec83d7cccb5879b48a8bb187f16161ff0452a6d082e54e
BLAKE2b-256 checksum
How to use checksums
85949f8eaa89b58cc336a6294c5790f69bc89baacdf46ac18a4840812d2a248d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / textualicious-1.0.1-py3-none-any.whl

Download URL textualicious-1.0.1-py3-none-any.whl
Size 15.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ff2dce21d47f2e1c9b1cbe2a0aa030dd6efba3fb25bdc36496125d2fafdfd2b1
BLAKE2b-256 checksum
How to use checksums
1d8f01452b1c43cfdce98daad7450c46e5048313d2550e99667b9458f9cba4c2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for textualicious 1.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for textualicious-1.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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