{"id":7795,"date":"2020-12-02T20:29:00","date_gmt":"2020-12-02T19:29:00","guid":{"rendered":"https:\/\/monodes.com\/predaelli\/?p=7795"},"modified":"2020-12-02T08:31:45","modified_gmt":"2020-12-02T07:31:45","slug":"rich-text-on-terminal-in-python","status":"publish","type":"post","link":"https:\/\/monodes.com\/predaelli\/2020\/12\/02\/rich-text-on-terminal-in-python\/","title":{"rendered":"Rich text on terminal in Python"},"content":{"rendered":"\n<p><a href=\"https:\/\/github.com\/willmcgugan\/rich\">Rich is a Python library<\/a> for <em>rich<\/em> text and beautiful formatting in the terminal.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"510\" height=\"541\" data-attachment-id=\"7796\" data-permalink=\"https:\/\/monodes.com\/predaelli\/2020\/12\/02\/rich-text-on-terminal-in-python\/rich-python-features\/\" data-orig-file=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2020\/12\/rich.python-features.png?fit=2100%2C2228&amp;ssl=1\" data-orig-size=\"2100,2228\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"rich.python-features\" data-image-description=\"\" data-image-caption=\"\" data-medium-file=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2020\/12\/rich.python-features.png?fit=283%2C300&amp;ssl=1\" data-large-file=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2020\/12\/rich.python-features.png?fit=510%2C541&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2020\/12\/rich.python-features.png?resize=510%2C541&#038;ssl=1\" alt=\"\" class=\"wp-image-7796\" srcset=\"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2020\/12\/rich.python-features.png?resize=510%2C541&amp;ssl=1 510w, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2020\/12\/rich.python-features.png?resize=283%2C300&amp;ssl=1 283w, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2020\/12\/rich.python-features.png?resize=768%2C815&amp;ssl=1 768w, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2020\/12\/rich.python-features.png?resize=1448%2C1536&amp;ssl=1 1448w, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2020\/12\/rich.python-features.png?resize=1930%2C2048&amp;ssl=1 1930w, https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2020\/12\/rich.python-features.png?w=1820&amp;ssl=1 1820w\" sizes=\"auto, (max-width: 510px) 100vw, 510px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p class=\"excerpt\">Rich is a Python library for rich text and beautiful formatting in the terminal.<\/p>\n<p class=\"more-link-p\"><a class=\"more-link\" href=\"https:\/\/monodes.com\/predaelli\/2020\/12\/02\/rich-text-on-terminal-in-python\/\">Read more &rarr;<\/a><\/p>\n","protected":false},"author":1,"featured_media":7796,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"link","meta":{"inline_featured_image":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[113],"tags":[],"class_list":["post-7795","post","type-post","status-publish","format-link","has-post-thumbnail","hentry","category-python","post_format-post-format-link"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/monodes.com\/predaelli\/wp-content\/uploads\/sites\/4\/2020\/12\/rich.python-features.png?fit=2100%2C2228&ssl=1","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p6daft-21J","jetpack-related-posts":[{"id":14780,"url":"https:\/\/monodes.com\/predaelli\/2026\/01\/20\/14780\/","url_meta":{"origin":7795,"position":0},"title":"StocksTUI: Real-time stock market data\u2026","author":"Paolo Redaelli","date":"2026-01-20","format":false,"excerpt":"StocksTUI: Real-time stock market data in your terminal. In Python, using textual.textualize.io\/ The lean application framework for Python. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal and a web browser.","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/monodes.com\/predaelli\/category\/python\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9039,"url":"https:\/\/monodes.com\/predaelli\/2022\/01\/01\/deciphering-glyph-the-one-python-library-everyone-needs\/","url_meta":{"origin":7795,"position":1},"title":"Deciphering Glyph :: The One Python Library Everyone Needs","author":"Paolo Redaelli","date":"2022-01-01","format":"link","excerpt":"Use attrs. Use it. Use it for everything. From: Deciphering Glyph :: The One Python Library Everyone Needs Looks a little like magic. But that's what happen with loosely typed languages, \"interpreted\" languages.","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/monodes.com\/predaelli\/category\/python\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11033,"url":"https:\/\/monodes.com\/predaelli\/2023\/12\/17\/textual\/","url_meta":{"origin":7795,"position":2},"title":"Textual","author":"Paolo Redaelli","date":"2023-12-17","format":false,"excerpt":"Textual is a TUI framework for Python, inspired by modern web development. Textual is a Rapid Application Development framework for Python, built by Textualize.io. Build sophisticated user interfaces with a simple Python API. Run your apps in the terminal or a web browser! Well, I just wish I could have\u2026","rel":"","context":"In &quot;Eiffel&quot;","block_context":{"text":"Eiffel","link":"https:\/\/monodes.com\/predaelli\/category\/eiffel\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":8969,"url":"https:\/\/monodes.com\/predaelli\/2021\/12\/08\/converting-speech-to-text-in-10-minutes-with-python-and-watson\/","url_meta":{"origin":7795,"position":3},"title":"Converting Speech to Text in 10 Minutes with Python and Watson","author":"Paolo Redaelli","date":"2021-12-08","format":false,"excerpt":"Ok, it's not free-as-in-freedom, but someone nevertheless could find it useful... Converting Speech to Text in 10 Minutes with Python and Watson Social network for developers to discuss topics about bugs and issues, write and share knowledge and connect with millions of developers worldwide. \u00a0 Regie Lucas 9 months ago\u2026","rel":"","context":"In &quot;Documentations&quot;","block_context":{"text":"Documentations","link":"https:\/\/monodes.com\/predaelli\/category\/documentations\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3299,"url":"https:\/\/monodes.com\/predaelli\/2017\/08\/25\/micropython-python-for-microcontrollers\/","url_meta":{"origin":7795,"position":4},"title":"MicroPython &#8211; Python for microcontrollers","author":"Paolo Redaelli","date":"2017-08-25","format":false,"excerpt":"MicroPython is a lean and efficient implementation of the Python 3 programming language that includes a small subset of the Python standard library and is optimised to run on microcontrollers and in constrained environments. Sorgente: MicroPython - Python for microcontrollers Well, pretty neat, as they deliver it in 256k of\u2026","rel":"","context":"In &quot;Python&quot;","block_context":{"text":"Python","link":"https:\/\/monodes.com\/predaelli\/category\/python\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4347,"url":"https:\/\/monodes.com\/predaelli\/2018\/05\/26\/transcrypt-python-in-the-browser-lean-fast-open\/","url_meta":{"origin":7795,"position":5},"title":"Transcrypt &#8211; Python in the browser &#8211; Lean, fast, open!","author":"Paolo Redaelli","date":"2018-05-26","format":false,"excerpt":"Well, life is full of surprises.... The Transcrypt Python to JavaScript compiler makes it possible to program lean and fast browser applications in Python. Transcrypt applications can use any JavaScript library and can also run on top of Node.js or be used in combination with Django. Sorgente: Transcrypt - Python\u2026","rel":"","context":"In &quot;Senza categoria&quot;","block_context":{"text":"Senza categoria","link":"https:\/\/monodes.com\/predaelli\/category\/senza-categoria\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/7795","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/comments?post=7795"}],"version-history":[{"count":0,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/posts\/7795\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media\/7796"}],"wp:attachment":[{"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/media?parent=7795"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/categories?post=7795"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/monodes.com\/predaelli\/wp-json\/wp\/v2\/tags?post=7795"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}