Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Obligatory reference to Blessings [1], a very pythonic approach to terminal manipulation, inspired by curses and the complete opposite of it.

See the 'Before and After' example in the readme for enlightenment.

[1] https://github.com/erikrose/blessings



Blessings is no longer maintained, but the blessed fork adds window OS, keyboard input, and 24-bit color support and still makes regular improvements.

I co-maintain blessings and made the blessed fork because blessings development stalled by the primary maintainer 5 or more years ago

Also please mention rich another great library!

Best wishes all and make great CLI apps!! Happy Friday :)

https://blessed.readthedocs.io/en/latest/intro.html https://pypi.org/project/rich/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: