Skip to main content

A Textual widget for code reflection and introspection.

Project description

Textual Reflect

A Textual widget for inspecting Python code reflection.

Installation

$ uv pip install textual-reflect

Usage

from textual.app import App, ComposeResult
from textual_reflect import Reflector

class MyApp(App):
    def compose(self) -> ComposeResult:
        yield Reflector()  # Add widget

if __name__ == "__main__":
    app = MyApp()
    app.run()

TODO

  • input accept empty string, write empty line, push \r
  • use sys prompts and return value
  • capture banner
  • 1 big container
  • force vertical
  • vertical group?
  • animation top down
  • log not focusable

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

textual_reflect-0.1.7.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

textual_reflect-0.1.7-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file textual_reflect-0.1.7.tar.gz.

File metadata

  • Download URL: textual_reflect-0.1.7.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.7

File hashes

Hashes for textual_reflect-0.1.7.tar.gz
Algorithm Hash digest
SHA256 ff748d51a2c3c535a53e8373d46584d611f90c33773fb8456b1907b9a620dd96
MD5 175065170af7422ef06d0a71994599fc
BLAKE2b-256 653bf100db986350941844ef5a15839d964e69ea4f0a1466acd2467b56071f5e

See more details on using hashes here.

File details

Details for the file textual_reflect-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for textual_reflect-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 af3b27c745772c7d2575673175827f0b6e5b5ff46d1cebbd92d58cc8d328715f
MD5 26b40e53acfd9085986de37de126e872
BLAKE2b-256 83d68f08c87fe4b8c7e7a8a0cc6b70e04aae00ff42b6bf07a6d2c67289b05c7d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page