Can Pytermgui meet my project needs? #51
-
Hello, I have written a pytest plugin that launches a TUI at the end of a pytest run, and presents the categorized results to the user. I am wondering if Pytestgui would be able to meet my needs to implement the TUI as an alternative to what I have in place already (one uses Textual, but it has performance issues; the other uses PyTermTk but it also is not perfect, and I have a hard time figuring out how to fix it without the documentation). I would like to keep the look and feel that I have in the other two TUIs, as it seems to meet my needs, if not the needs of all users (who as far as I can tell are zero at this point :-) ). Requirements I can think of:
Do you think Pytermgui could fit the bill? Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey there! I think most things should be doable, yes. I've actually been watching your project for a bit now, looks very interesting! I think the exact layout of the TUI probably can't be the exact same for all of these libraries. PyTermTK is very tab-based, and Textual has support for it built in as well. PyTermGUI at the moment doesn't have a tab layout, but implementing one using some buttons or something functionally similar with the upcoming All widgets at the end of their run print using ANSI text, so that part should be fine too. I think it should be good for most, if not all, of your "requirements", and I'd love to see you try to implement it in PTG! Leaving issues about the problems you run into is probably the most efficient way to further improve the library. Thank you for your interest! |
Beta Was this translation helpful? Give feedback.
Hey there!
I think most things should be doable, yes. I've actually been watching your project for a bit now, looks very interesting!
I think the exact layout of the TUI probably can't be the exact same for all of these libraries. PyTermTK is very tab-based, and Textual has support for it built in as well. PyTermGUI at the moment doesn't have a tab layout, but implementing one using some buttons or something functionally similar with the upcoming
Collapsible
widget shouldn't be too hard.All widgets at the end of their run print using ANSI text, so that part should be fine too.
I think it should be good for most, if not all, of your "requirements", and I'd love to see you try to implement…