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.6.tar.gz (3.8 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.6-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for textual_reflect-0.1.6.tar.gz
Algorithm Hash digest
SHA256 ebdc460d412c05e4a4c1be3630108d1f53f87e877c9b5b36cdb664ffb0110e1b
MD5 5491389b9ac287dafc1028b9e9af4ceb
BLAKE2b-256 63da0b9c49919eb8858a8ff4965771df7dda297d58996dbd03dd1d9c010c96bf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for textual_reflect-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 87334b2cf41ed9a61ebb90fee1cad0d0cef3ed94fcb55aee81b59b8cfb86d461
MD5 4a400dc9fb528c02ad6189cf9a2d6191
BLAKE2b-256 c7cd7cde787d11931a4b62006f163adeeca7043b5478f45fba0851193a6367fd

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