frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

PyRatatui – Python bindings for the Ratatui terminal UI library

1•programmersd•2h ago
Hi HN,

I’ve been working on PyRatatui, a Python binding for the Rust terminal UI framework Ratatui.

Ratatui provides a rich set of widgets and layout primitives for building terminal applications such as dashboards, monitoring tools, developer utilities, and interactive CLI programs. PyRatatui exposes this functionality to Python using PyO3 so applications can be written in Python while the rendering and layout engine runs in Rust.

The goal is to combine Python’s developer ergonomics with the performance and UI capabilities of Ratatui.

Example:

from pyratatui import Terminal, Paragraph, Block, Style, Color

with Terminal() as term: while True: def ui(frame): frame.render_widget( Paragraph.from_string("Hello from PyRatatui. Press q to quit.") .block(Block().bordered().title("Hello World")) .style(Style().fg(Color.cyan())), frame.area, ) term.draw(ui) ev = term.poll_event(timeout_ms=100) if ev and ev.code == "q": break

Current features include:

• Python bindings to Ratatui widgets such as Paragraph, Block, Tables, Charts, and Scrollbars • event handling for keyboard input • type hints for IDE support • Rust ↔ Python integration using PyO3

The project is still evolving and feedback from people who build terminal tools would be very helpful.

Repository: https://github.com/pyratatui/pyratatui

Comments

programmersd•1h ago
Author here. Happy to answer questions about the Rust ↔ Python bridge or the design of the bindings.

Panopticon

https://en.wikipedia.org/wiki/Panopticon
1•simonebrunozzi•19s ago•0 comments

Strait of Hormuz Update 15 March 2026 – Update on Other Maritime Stories – US De [video]

https://www.youtube.com/watch?v=0SELRtaciaI
1•kamaraju•9m ago•0 comments

Pgtui, a Postgres TUI Client

https://kdwarn.net/programming/blog/227
1•salkahfi•11m ago•0 comments

Symfony 8.0.6 Released

https://symfony.com/blog/symfony-8-0-6-released
1•ms7892•11m ago•0 comments

Race on to establish globally recognised 'AI-free' logo

https://www.bbc.com/news/articles/cj0d6el50ppo
1•voxadam•12m ago•2 comments

10-Minute Description of How Judy Arrays Work and Why They Are So Fast

https://judy.sourceforge.net/doc/10minutes.htm
1•prakashqwerty•14m ago•0 comments

Apollo's John Zito Sounds Off on 'Arrogance' in Private Markets

https://www.wsj.com/finance/investing/top-apollo-executive-sounds-off-on-arrogance-in-private-mar...
1•petethomas•16m ago•0 comments

Productizing the Meta

https://nick.cloud/posts/productizing-the-meta/
1•npad•22m ago•0 comments

Agentic Trust Framework (ATF)

https://github.com/massivescale-ai/agentic-trust-framework
1•teleforce•27m ago•0 comments

Tool to visualize everything between your keypress and the kernel

https://shellcraft.vercel.app
1•uphiago•27m ago•0 comments

I made an app to create beautiful thumbnail from screenshots

https://www.beautifulscreenshots.com/
1•siv_io_•28m ago•1 comments

Show HN: Crowd-sourced LPG cylinder availability tracker for India's gas crisis

https://www.gasnearme.in/
1•smankoo•30m ago•0 comments

Performance: 53% faster parse+render, 61% fewer allocations

https://github.com/Shopify/liquid/pull/2056
1•prakashqwerty•33m ago•0 comments

Various Novel iOS Apps by Elvure

https://elvure.app
2•mening12001•50m ago•1 comments

BotStadium – AI agents compete on live sports predictions in real-time

https://botstadium.ai
2•veeceey•52m ago•2 comments

Open Source, Open Mind: The Cost of Free Software (2024)

https://freeasinweekend.org/open-source-open-mind
3•pabs3•1h ago•0 comments

Free as in Weekend

https://freeasinweekend.org/
1•pabs3•1h ago•0 comments

ShellScribe: AI-powered terminal session logger for your whole dev life

https://luinbytes.github.io/shellscribe/
1•0x6c75•1h ago•1 comments

Ironies of Automation (1983) [pdf]

https://ckrybus.com/static/papers/Bainbridge_1983_Automatica.pdf
2•ramoz•1h ago•0 comments

What's the link between tattoos and vision loss?

https://theconversation.com/whats-the-link-between-tattoos-and-vision-loss-2-optometrists-explain...
1•defrost•1h ago•2 comments

Cog – A cognitive architecture for Claude Code (just Markdown files)

https://github.com/marciopuga/cog
2•marciopuga•1h ago•1 comments

ASCII and Unicode quotation marks (2007)

https://www.cl.cam.ac.uk/~mgk25/ucs/quotes.html
3•exvi•1h ago•0 comments

The Blade Runner File: A Usenet Debate (1989)

https://scribble.com/uwi/br/br-file.html
1•exvi•1h ago•0 comments

Nuke the Hormuz

https://www.chinatalk.media/p/its-time
2•johncole•1h ago•1 comments

Physicists break high-temperature superconductivity record at ambient pressure

https://phys.org/news/2026-03-ceramic-shatters-longstanding-high-temperature.html
2•WaitWaitWha•1h ago•0 comments

FlyingWire – Semiconductor Building Digital Nervous Systems Deployed on Tape

https://www.siliconimist.com/p/flyingwire-mike-chieco
1•johncole•1h ago•1 comments

Lawmakers seek watchdog probe into former acting CISA chief's polygraph failures

https://www.nextgov.com/people/2026/03/lawmakers-seek-watchdog-probe-former-acting-cisa-chiefs-po...
2•WaitWaitWha•1h ago•0 comments

Anthropic and the Authoritarian Ethic

https://blog.giovanh.com/blog/2026/03/03/anthropic-and-the-authoritarian-ethic/
3•lr0•1h ago•0 comments

Mechanismo by Harry Harrison (2013)

http://theporporbooksblog.blogspot.com/2013/09/mechanismo-by-harry-harrison.html
1•exvi•1h ago•0 comments

White House meme war comms draw Yu-Gi-Oh criticism

https://www.theregister.com/2026/03/12/yugioh_us_propaganda/
4•abdelhousni•1h ago•2 comments