Talk Python To Me - #540: Modern Python monorepo with uv and prek

Monorepos -- you've heard the talks, you've read the blog posts, maybe you've seen a few tantalizing glimpses into how Google or Meta organize their massive codebases. But it's often in the abstract and behind closed doors. What if you could crack open a real, production monorepo, one with over a million lines of Python and over 100 of sub-packages, and actually see how it's built, step by step, using modern tools and standards? That's exactly what Apache Airflow gives us.

On this episode, I sit down with Jarek Potiuk and Amogh Desai, two of Airflow's top contributors, to go inside one of the largest open-source Python monorepos in the world and learn how they manage it with uv, pyproject.toml, and the latest packaging standards, so you can apply those same patterns to your own projects.

Episode sponsors

Agentic AI Course
Python in Production
Talk Python Courses

Guests
Amogh Desai: github.com
Jarek's GitHub: github.com

definition of a monorepo: monorepo.tools
airflow: airflow.apache.org
Activity: github.com
OpenAI: airflowsummit.org
Part 1. Pains of big modular Python projects: medium.com
Part 2. Modern Python packaging standards and tools for monorepos: medium.com
Part 3. Monorepo on steroids - modular prek hooks: medium.com
Part 4. Shared “static” libraries in Airflow monorepo: medium.com
PEP-440: peps.python.org
PEP-517: peps.python.org
PEP-518: peps.python.org
PEP-566: peps.python.org
PEP-561: peps.python.org
PEP-660: peps.python.org
PEP-621: peps.python.org
PEP-685: peps.python.org
PEP-723: peps.python.org
PEP-735: peps.python.org
uv: docs.astral.sh
uv workspaces: blobs.talkpython.fm
prek.j178.dev: prek.j178.dev
your presentation at FOSDEM26: fosdem.org
Tallyman: github.com

Watch this episode on YouTube: youtube.com
Episode #540 deep-dive: talkpython.fm/540
Episode transcripts: talkpython.fm

Theme Song: Developer Rap
🥁 Served in a Flask 🎸: talkpython.fm/flasksong

---== Don't be a stranger ==---
YouTube: youtube.com/@talkpython

Bluesky: @talkpython.fm
Mastodon: @talkpython@fosstodon.org
X.com: @talkpython

Michael on Bluesky: @mkennedy.codes
Michael on Mastodon: @mkennedy@fosstodon.org
Michael on X.com: @mkennedy

CBS News Roundup - 03/13/2026 | Evening Update

U.S. Attorney in Washington, D.C. says she'll appeal decision by federal judge to quash Federal Reserve subpoenas. Deaths of six service members when a refueling plane went down in Iraq was not result of Iran strike. Source tells CBS News brothers of driver who rammed into Michigan synagogue were members of Hezbollah.

To learn more about listener data and our privacy practices visit: https://www.audacyinc.com/privacy-policy

Learn more about your ad choices. Visit https://podcastchoices.com/adchoices

Motley Fool Money - Is Stagflation Creeping Into the Picture?

GDP data released this week shows an economy that slowed to a crawl in the fourth quarter of 2025 as inflation picked up. That’s not a good sign now that oil prices have nearly doubled this year and job cuts continue. We discuss what this data says about the economy and what we’re going as investors.


Travis Hoium, Lou Whiteman, and Jason Moser discuss:


- Q4 2025 GDP data

- Uber’s autonomous momentum

- Adobe’s earnings

- Executive free agents

- Stocks on our radar


Companies discussed: Alphabet (GOOG), Adobe (ADBE), Tesla (TSLA), Target (TGT), Costco (COST), Best Buy (BBY), Apple (AAPL), Amazon (AMZN), NVIDIA (NVDA), Boeing (BA), 3M (MMM), Netflix (NFLX), Globus Medical (GMED), Aerovironment (AVAV).


Host: Travis Hoium

Guests: Lou Whiteman, Jason Moser

Engineer: Dan Boyd


Disclosure: Advertisements are sponsored content and provided for informational purposes only. The Motley Fool and its affiliates (collectively, “TMF”) do not endorse, recommend, or verify the accuracy or completeness of the statements made within advertisements. TMF is not involved in the offer, sale, or solicitation of any securities advertised herein and makes no representations regarding the suitability, or risks associated with any investment opportunity presented. Investors should conduct their own due diligence and consult with legal, tax, and financial advisors before making any investment decisions. TMF assumes no responsibility for any losses or damages arising from this advertisement.


We’re committed to transparency: All personal opinions in advertisements from Fools are their own. The product advertised in this episode was loaned to TMF and was returned after a test period or the product advertised in this episode was purchased by TMF. Advertiser has paid for the sponsorship of this episode.


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

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

CrowdScience - Can I really manifest the future?

CrowdScience listener Kassy in India wants to know if there’s any science to support the practice of ‘manifesting’ – the idea that you can make your wishes come true just by writing down your goals and sending your dreams out to the universe. Is it just a wacky belief or can it be backed up by research?

Caroline Steel looks at the evidence to see if manifesting works. She talks to researcher Lucas Dixon in Australia, who has found that people who believe in manifesting are more likely to take risky financial decisions or end up bankrupt.

She meets neuroscientist Sabina Brennan in Ireland who argues that psychology has already proven that our thoughts and beliefs shape our reality, through cognitive behavioural therapy for example. So there is evidence to show that some of the techniques in manifesting can work.

Caroline also talks to psychologist Gabriele Oettingen in the US, whose research has demonstrated that just thinking about our wishes actually decreases our energy and makes it less likely that we’ll achieve our goals. She’s come up with her own method for increasing the likelihood of success.

And Caroline tries out a manifesting technique for herself. Can it help her realise her dreams?

Presenter: Caroline Steel Producer: Jo Glanville

Editor: Ben Motley

(Photo: Enthusiastic brunette girl celebrating- stock photo Credit: Mix and Match Studio / 500px via Getty Images)

WSJ What’s News - Money Is Flying Out of Private Credit. That’s Bad News for Wall Street.

P.M. Edition for Mar. 13. Private credit has, in recent years, been a huge engine for growth on Wall Street. Now, WSJ reporter Matt Wirz says it’s sputtering as investors pull money out of big funds. Plus, the Pentagon is moving more Marines and warships to the Middle East. And in a victory for the Federal Reserve, a judge throws out two Justice Department subpoenas issued to the central bank as part of a probe into Federal Reserve Chair Jerome Powell. Alex Ossola hosts.


Sign up for the WSJ's free What's News newsletter.

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

WSJ Minute Briefing - Stocks Slide as Attacks In Straight of Hormuz Escalate

A weak GDP estimate contributed to the declines. Plus: Meta shares slide after reports that it delayed releasing a new AI model. Katherine Sullivan hosts.


Sign up for the WSJ's free What's News newsletter.


An artificial-intelligence tool assisted in the making of this episode by creating summaries that were based on Wall Street Journal reporting and reviewed and adapted by an editor.

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

The Bulwark Podcast - Tom Nichols: Sinking Into the Mire of a Longer War?

The Trump administration is preparing to deploy a Marine expeditionary unit to the Middle East along with more warships. But that development was not Hegseth’s highest priority at his Pentagon briefing. His first order of business was attacking the media—even before mentioning the six fallen service members who were killed in a plane crash supporting the war in Iran. And while the administration may have finally narrowed down its reasons for launching the war alongside Israel, it hasn’t discussed the risks of the operation, or why it doesn’t seem to have an issue with Putin helping Iran in the fight. Plus, JD is skeptical about the war but won’t tell Trump to his face, oil prices are soaring while Russia cashes in, and don’t forget that the Department of Homeland Security is still down shut down while our country is at war.

Tom Nichols joins Tim Miller for the weekend pod.

show notes

State of the World from NPR - A glimpse of one Iranian’s life in Tehran during the war

Understanding exactly what is happening inside Iran is difficult. The government rarely gives visas to western journalists and closely monitors those that do enter the country. The internet is closely controlled by the regime. For the past two weeks, since the U.S. and Israel began their war in Iran, a writer in Tehran has been sharing entries from her diary with NPR about this war. We hear some of her writings which offer an intimate look at her life under bombardment.

To manage podcast ad preferences, review the links below:

See pcm.adswizz.com for information about our collection and use of personal data for sponsorship and to manage your podcast sponsorship preferences.

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

NPR Privacy Policy

1A - The News Roundup For March 13, 2026

Two weeks into the war with Iran, the United States has spent more than $10 billion dollars. The conflict has claimed the lives of more than 1,000 Iranians and seven American service members. Those numbers are likely to grow if there are boots on the ground, a possibility that Trump Administration officials refuse to rule out.

The president traveled to Kentucky and Ohio this week where he went on the defensive, justifying the increase in gas prices and touting the drop in drug prices.

Americans’ faith in the future of fair elections is at an all time low, according to new PBS/NPR/Marist poll.

And, in global news, early findings from a Pentagon investigation indicate that the U.S. may be at fault for a missile strike on an Iranian school. That attack killed at least 175 children, teachers, and other staff.

Israel is widening strikes into Lebanon and threatening to invade the southern portion of the country. The Tehran-backed Hezbollah group has been sending missiles into Israel since the attacks on Iran began nearly two weeks ago. Lebanon is appealing to Israel’s allies to stop the campaign.

And as the world’s attention swings to Iran, how is Hamas regrouping in Gaza?

We cover the most important stories from around the world in the News Roundup.

Find more of our programs online. Listen to 1A sponsor-free by signing up for 1A+ at plus.npr.org/the1a.

To manage podcast ad preferences, review the links below:

See pcm.adswizz.com for information about our collection and use of personal data for sponsorship and to manage your podcast sponsorship preferences.

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

NPR Privacy Policy