picotui - Text User Interface (TUI) library for MicroPython (and CPython)
picotui - Text User Interface (TUI) library for MicroPython (and CPython)
I decided to split this from the previous topic: viewtopic.php?f=15&t=669
picotui is lightweight, pure-Python Text User Interface widget toolkit with minimal dependencies. It's intended to be run with both MicroPython (unix port) and CPython3. https://github.com/pfalcon/picotui
Below is a screenshot of what kind of UI can be created with picotui:
picotui is lightweight, pure-Python Text User Interface widget toolkit with minimal dependencies. It's intended to be run with both MicroPython (unix port) and CPython3. https://github.com/pfalcon/picotui
Below is a screenshot of what kind of UI can be created with picotui:
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Re: picotui - Text User Interface (TUI) library for MicroPython (and CPython)
The latest release, 0.8, adds initial support for menus.
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Re: picotui - Text User Interface (TUI) library for MicroPython (and CPython)
Hi pfalcon,
Since you wrote unix port I am confused here. Would this also run via an ssh/telnet session on a micropython board?
Thanks
Since you wrote unix port I am confused here. Would this also run via an ssh/telnet session on a micropython board?
Thanks
Re: picotui - Text User Interface (TUI) library for MicroPython (and CPython)
I don't know, you can try and share your experiences. But this projects is on biggish side, intended to provide real-world usable UI, not run in very small heap. Folks interested in minimalistic implementation intended to run, and running, on boards, may follow the thread linked from the top message.
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Re: picotui - Text User Interface (TUI) library for MicroPython (and CPython)
pfalcon, I wanted to try picotui on WiPy port, but the module uses decimal numbers as I did get following message:
Not sure if decimals are used in other places of the code. Do you think that the module could be rewritten with integers only?
Code: Select all
>>> from picotui.context import Context
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/flash/lib/picotui/context.py", line 1, in <module>
File "/flash/lib/picotui/screen.py", line 206
SyntaxError: decimal numbers not supported
Re: picotui - Text User Interface (TUI) library for MicroPython (and CPython)
Picotui 0.9.2 was released: https://pypi.python.org/pypi/picotui/0.9.2
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Re: picotui - Text User Interface (TUI) library for MicroPython (and CPython)
I have used a subset of the picotui on ESP8266, just radiobuttons and simple text fields, for the configuration of an application. That works well. The full package is too large for the small heap, and even with the subset I had to run the Picotui and the other app alternatively. It did not work with webrepl. As soon as the picotui starts, the webrepl session is closed. I did not look into that further, since USB was sufficient in that case.Hi pfalcon,
Since you wrote unix port I am confused here. Would this also run via an ssh/telnet session on a micropython board?
Thanks
Re: picotui - Text User Interface (TUI) library for MicroPython (and CPython)
Picotui 0.9.3 was released: https://pypi.python.org/pypi/picotui/0.9.3
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Re: picotui - Text User Interface (TUI) library for MicroPython (and CPython)
picotui 1.0 released: https://pypi.python.org/pypi/picotui/1.0 . This release features refactorings and cleanups for technical debt accumulated, apps may need adjustments: https://github.com/pfalcon/picotui/issu ... nge%22+1.0
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/
Re: picotui - Text User Interface (TUI) library for MicroPython (and CPython)
Thanks. I'm using picotui in an application and it is a great help.