Talk Python To Me - #498: Algorithms for high performance terminal apps

In this episode, we welcome back Will McGugan, the creator of the wildly popular Rich library and founder of Textualize. We'll dive into Will's latest article on "Algorithms for High Performance Terminal Apps" and explore how he's quietly revolutionizing what's possible in the terminal, from smooth animations and dynamic widgets to full-on TUI (or should we say GUI?) frameworks. Whether you're looking to supercharge your command-line tools or just curious how Python can push the limits of text-based UIs, you'll love hearing how Will's taking a modern, web-inspired approach to old-school terminals.

Episode sponsors

Posit
Python in Production
Talk Python Courses

Algorithms for high performance terminal apps post: textual.textualize.io
Textual Demo: github.com
Textual: textualize.io
Zero ver: 0ver.org
memray: github.com
Posting app: posting.sh
Bulma CSS framewokr: bulma.io
JP Term: davidbrochart.github.io
Rich: github.com
btop: github.com
starship: starship.rs
Watch this episode on YouTube: youtube.com
Episode #498 deep-dive: talkpython.fm/498
Episode transcripts: talkpython.fm

--- Stay in touch with us ---
Subscribe to Talk Python on YouTube: youtube.com
Talk Python on Bluesky: @talkpython.fm at bsky.app
Talk Python on Mastodon: talkpython
Michael on Bluesky: @mkennedy.codes at bsky.app
Michael on Mastodon: mkennedy

NBN Book of the Day - James M. O’Toole, “For I Have Sinned: The Rise and Fall of Catholic Confession in America” (Harvard UP, 2025)

For generations, American Catholics went faithfully to confession, admitting their sins to a priest and accepting through him God’s forgiveness. The sacrament served as a distinctive marker of Catholic identity, shaping parishioners’ views of their relationship to God, their neighbors, and the wider world. But starting in the 1970s, many abandoned confession altogether. Focusing on the experiences of both laypeople and priests, in For I Have Sinned: The Rise and Fall of Catholic Confession in America (Harvard University Press, 2025) Dr. James M. O’Toole reconstructs the history of confession’s steady rise—and dramatic fall—among American Catholics.

In the early United States, the Catholic Church grew rapidly—and with it, confession’s centrality. Although the sacrament was practiced unevenly for much of the nineteenth century, frequent confession became common by the early twentieth. Both priests and parishioners understood confession as a ritual crucial for the soul, while on a social level, it established Catholic distinctiveness within a largely Protestant country. Today, however, even faithful Catholics seldom confess. The reasons for this change, Dr. O’Toole reveals, include the emergence of psychology and other forms of counseling; the Church’s stance against contraception, which alienated many parishioners; and a growing sense of confession’s inability to confront social problems like structural racism, poverty, and sexism. Meanwhile, increasing recognition of sexual abuse within the Church further undermined trust in clergy as confessors.

Sensitively attuned to the historical importance of confession, For I Have Sinned also suggests that, if the sacrament no longer serves the needs of US Catholics, the Church and its members might find new ways to express their ideals in the twenty-first century.

This interview was conducted by Dr. Miranda Melcher whose new book focuses on post-conflict military integration, understanding treaty negotiation and implementation in civil war contexts, with qualitative analysis of the Angolan and Mozambican civil wars. You can find Miranda’s episodes on New Books with Miranda Melcher, wherever you get your podcasts.

Learn more about your ad choices. Visit megaphone.fm/adchoices

Support our show by becoming a premium member! https://newbooksnetwork.supportingcast.fm/book-of-the-day

Strict Scrutiny - Deportations and the Death of Due Process

After a deep dive on the Trump administration’s horrifying misuse of the Alien Enemies Act to deport people from the US without due process, Kate and Leah preview upcoming SCOTUS cases about the Voting Rights Act and the Environmental Protection Agency. Along the way, they also touch on the Trump administration’s targeting of certain law firms and its continued attacks on DEI. 

Hosts’ favorite things this week: 

Get tickets for STRICT SCRUTINY LIVE – The Bad Decisions Tour 2025! 

  • 6/12 – NYC
  • 10/4 – Chicago

Learn more: http://crooked.com/events

Order your copy of Leah's book, Lawless: How the Supreme Court Runs on Conservative Grievance, Fringe Theories, and Bad Vibes

Follow us on Instagram, Threads, and Bluesky

What A Day - Trump Wants To Be King

In just about two months, President Donald Trump has managed to thoroughly shake U.S. democratic structures to the core. From firing thousands of federal workers and plunging the U.S. into a trade war, to testing the limits of our three supposedly coequal branches of government, it's been a lot to process. And the constant chaos makes it hard to grasp what's actually happening, big picture: Are we watching a wannabe strongman fumble through enacting a policy agenda that will likely prove to be deeply unpopular, or are we actually watching the end of American Democracy as we've known it for roughly the last century. Ruth Ben-Ghiat, a professor at New York University and author of the book 'Strongmen,' explains what history can tell us about our current moment and what we can do about it.

And in headlines: Venezuela said it would start accepting deportation flights from the U.S. again, Palestinian health officials said the death toll in Gaza has topped 50,000, and the White House said Second Lady Usha Vance is heading to Greenland… just for fun… scout's honor.

Show Notes:

The NewsWorthy - New Migrant Targets, RIP George Foreman & Box Office Bust – Monday, March 24, 2025

The news to know for Monday, March 24, 2025!

We’ll explain how America’s crackdown is widening to include hundreds of thousands of immigrants who—until now—have been protected.

Also, how the Trump administration has started to influence private universities.

Plus, where wildfires are burning out of control, the reason one popular laundry detergent is being recalled, and theories as to why a big-budget movie flopped at the box office.

Those stories and even more news to know in about 10 minutes! 

 

Join us every Mon-Fri for more daily news roundups! 

See sources: https://www.theNewsWorthy.com/shownotes

Become an INSIDER to get AD-FREE episodes here: https://www.theNewsWorthy.com/insider

Sign-up for our Friday EMAIL here: https://www.theNewsWorthy.com/email

Get The NewsWorthy MERCH here: https://thenewsworthy.dashery.com/

Sponsors:

Go to HiyaHealth.com/NEWSWORTHY to get 50% off your first order of their best-selling children's vitamin.

Shop the SKIMS T-Shirt Shop at https://www.skims.com/newsworthy #skimspartner

To advertise on our podcast, please reach out to ad-sales@libsyn.com

 

 

The Best One Yet - 🚗 “Why Elon should sell” — The Tesla solution. Boston Celtics’ fine print. Fashion coffee chains

With Tesla stock tanking and drivers trading them in... we’re proposing the Tesla Solution.

Why the Celtics sold for a record amount… even though they rent their arena.

Gucci, H&M, & Ralph Lauren all launched coffee chains… but it’s not about $12 lattes.

Plus, we wrote a financial rap song about the most important investment for kids… 


$PPRUY $TSLA $RL


Want more business storytelling from us? Check out the latest episode of our new weekly deepdive show: The untold origin story of MTV 📺 “How Video Killed the Radio Star”  


Subscribe to The Best Idea Yet: Wondery.fm/TheBestIdeaYetLinks to listen.


“The Best Idea Yet”: The untold origin stories of the products you’re obsessed with — From the McDonald’s Happy Meal to Birkenstock’s sandal to Nintendo’s Susper Mario Brothers to Sriracha. New 45-minute episodes drop weekly.


—-----------------------------------------------------

Subscribe to our new (2nd) show… The Best Idea Yet: Wondery.fm/TheBestIdeaYetLinks

Episodes drop weekly. It’s The Best Idea Yet.


GET ON THE POD: 

Submit a shoutout or fact: https://tboypod.com/shoutouts 


FOR MORE NICK & JACK: 

Newsletter: https://tboypod.com/newsletter 

Connect with Nick: https://www.linkedin.com/in/nicolas-martell/ 

Connect with Jack: https://www.linkedin.com/in/jack-crivici-kramer/ 


SOCIALS:

Instagram: https://www.instagram.com/tboypod 

TikTok: https://www.tiktok.com/@tboypod

YouTube: https://www.youtube.com/@tboypod 


Anything else: https://tboypod.com/ 


Subscribe to our new (2nd) show… The Best Idea Yet: Wondery.fm/TheBestIdeaYetLinks

Episodes drop weekly. It’s The Best Idea Yet.



See Privacy Policy at https://art19.com/privacy and California Privacy Notice at https://art19.com/privacy#do-not-sell-my-info.

1A - Click Here: The TikTok Ban, China, And National Security

The story of TikTok in the U.S. is one that's had many chapters, to say the least.

First, then-President Donald Trump called for its ban in 2020. Then, President Joe Biden signed a bipartisan law in 2024 requiring the company in charge of the video-sharing platform to sell the app or face a ban. Then, the app went dark this January after failing to sell, only to come back hours later, thanking newly-inaugurated President Donald Trump for his support in keeping the app operational. The president extended the deadline for the sale until April.

Why is the government so uncomfortable with TikTok and Chinese parent company ByteDance? What's going to happen in April when the same deadline to sell arises once again?

We discuss what the future holds for TikTok with our friends at the Click Here podcast.

Want to support 1A? Give to your local public radio station and subscribe to this podcast. Have questions? Connect with us. Listen to 1A sponsor-free by signing up for 1A+ at plus.npr.org/the1a.

Learn more about sponsor message choices: podcastchoices.com/adchoices

NPR Privacy Policy

Short Wave - What Scientists Got Wrong About COVID-19

Early in the beginning of the COVID-19 pandemic, scientists predicted the SARS-CoV-2 virus would mutate slowly. They were wrong. Hundreds of thousands of viral mutations and multiple seasonal waves later, we now know why. The answer changes researchers' understanding of viral evolution — and it could help predict the evolution of other viruses in the future. Emily talks about it all with Sarah Zhang, a health writer for The Atlantic.

Want to hear more virology or human biology stories? Let us know by emailing shortwave@npr.org.

Learn more about sponsor message choices: podcastchoices.com/adchoices

NPR Privacy Policy

The Indicator from Planet Money - How specialization can lead to burn-out

Half of all workers are showing signs of burnout according to a survey of international workers. Burnout can come from feeling detached from your work's purpose, having too much work, or ... from specialization. Today on the show, we speak with Shigehiro Oishi, author of Life in Three Dimensions: How Curiosity, Exploration, and Experience Make a Fuller, Better Life.

Related episodes:
Is endless vacation a scam? (Apple / Spotify)
Why we work so much

For sponsor-free episodes of The Indicator from Planet Money, subscribe to Planet Money+ via Apple Podcasts or at plus.npr.org.

Fact-checking by
Sierra Juarez. Music by Drop Electric. Find us: TikTok, Instagram, Facebook, Newsletter.

Learn more about sponsor message choices: podcastchoices.com/adchoices

NPR Privacy Policy