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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebdc460d412c05e4a4c1be3630108d1f53f87e877c9b5b36cdb664ffb0110e1b
|
|
| MD5 |
5491389b9ac287dafc1028b9e9af4ceb
|
|
| BLAKE2b-256 |
63da0b9c49919eb8858a8ff4965771df7dda297d58996dbd03dd1d9c010c96bf
|
File details
Details for the file textual_reflect-0.1.6-py3-none-any.whl.
File metadata
- Download URL: textual_reflect-0.1.6-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87334b2cf41ed9a61ebb90fee1cad0d0cef3ed94fcb55aee81b59b8cfb86d461
|
|
| MD5 |
4a400dc9fb528c02ad6189cf9a2d6191
|
|
| BLAKE2b-256 |
c7cd7cde787d11931a4b62006f163adeeca7043b5478f45fba0851193a6367fd
|