Join us on YouTube at pythonbytes.fm/live to be part of the audience. Usually Monday at 10am PT. Older video versions available there too.
Finally, if you want an artisanal, hand-crafted digest of every week of the show notes in email form? Add your name and email to our friends of the show list, we'll never share it.
Brian #1: pypistats.org was down, is now back, and there’s a CLI
pypistats.org is a cool site to check the download stats for Python packages.
Thanks to @jezdez for suggesting the @ThePSF takes stewardship and connecting the right people, to @EWDurbin for migrating, and of course to Christopher Flynn for creating and running it for all these years!”
“The aim of the wrapt module is to provide a transparent object proxy for Python, which can be used as the basis for the construction of function wrappers and decorator functions.
An easy to use decorator factory is provided to make it simple to create your own decorators that will behave correctly in any situation they may be used.”
Why not just use functools.wraps()?
“The wrapt module focuses very much on correctness. It therefore goes way beyond existing mechanisms such as functools.wraps() to ensure that decorators preserve introspectability, signatures, type checking abilities etc. The decorators that can be constructed using this module will work in far more scenarios than typical decorators and provide more predictable and consistent behaviour.”
Scan your Python dependencies for known security vulnerabilities with Rust-powered scanner.
PySentry audits Python projects for known security vulnerabilities by analyzing dependency files (uv.lock, poetry.lock, Pipfile.lock, pyproject.toml, Pipfile, requirements.txt) and cross-referencing them against multiple vulnerability databases. It provides comprehensive reporting with support for various output formats and filtering options.
External Resolver Integration: Leverages uv and pip-tools for accurate requirements.txt constraint solving
Multiple Data Sources:
PyPA Advisory Database (default)
PyPI JSON API
OSV.dev (Open Source Vulnerabilities)
Flexible Output for different workflows: Human-readable, JSON, SARIF, and Markdown formats
Performance Focused:
Written in Rust for speed
Async/concurrent processing
Multi-tier intelligent caching (vulnerability data + resolved dependencies)
Comprehensive Filtering:
Severity levels (low, medium, high, critical)
Dependency scopes (main only vs all [optional, dev, prod, etc] dependencies)
Direct vs. transitive dependencies
Enterprise Ready: SARIF output for IDE/CI integration
I tried it on pythonbytes.fm and found only one issue, sadly can’t be fixed:
PYSENTRY SECURITY AUDIT
=======================
SUMMARY: 89 packages scanned • 1 vulnerable • 1 vulnerabilities found
SEVERITY: 1 LOW
UNFIXABLE: 1 vulnerabilities cannot be fixed
VULNERABILITIES
---------------
1. PYSEC-2022-43059 aiohttp v3.12.15 [LOW] [source: pypa-zip]
AIOHTTP 3.8.1 can report a "ValueError: Invalid IPv6 URL" outcome, which can lead to a Denial of Service (DoS). NOTE:...
Scan completed
A history of the dandy from below, from Beau Brummell and Baudelaire to Bowie and Bolan... and beyond. The historical figure of the dandy has commonly been described as an upper-class gentleman, often exemplified by well-known men such as Beau Brummell, Charles Baudelaire, Oscar Wilde, and Max Beerbohm. But there is a broader history to be told about the dandy - one that incorporates unknown men from the lower strata of society. The Dandy: A People's History of Sartorial Splendour (Oxford UP, 2025) constitutes the first ever history of those dandies who emanated from the less privileged layers of the populace - the lowly clerks, shop assistants, domestic servants, and labourers who increasingly during the modern age have emerged as style-conscious men about town. Peter Andersson shows that dandyism is far from just an elite phenomenon represented by famous poets and artists. He shows how dandyism as a popular youth subculture grew into an influential cultural movement, from the days of Beau Brummell in the early 19th century to the age of mods in the 1960s. A series of fascinating in-depth studies of the wide variety of dandy subcultures that have surfaced around the world in the last two centuries tell the story of how the shaping of fashions and the image of men became increasingly democratized, with the arbiters of taste increasingly coming from the other end of the social spectrum. Along the way, we encounter such long-forgotten groups as the mashers, the knuts, the Paris gandins and the Berlin transgender dandies, alongside more well-known but unexplored figures like the zoot suiter, the teddy boy, and the New Romantic. Above all, this is a story of how fundamental aspects of modern culture such as fashion, style, and conduct have been shaped from below just as much as from above. It is a story that shows how the problematic business of young men trying to find an identity is an enduring phenomenon - and one sadly often accompanied by innocent victims along the way.
Peter K. Andersson is a historian and writer, with a PhD in History from Lund University in Sweden. He has been a visiting scholar at the universities of London, Oxford, and Bologna, and has written extensively on Victorian cultural history, urban history, and popular culture.
The gang is back together as Melissa, Kate, and Leah break down this week’s mountain of legal news, including the Court’s greenlighting of Trump’s anti-DEI National Institutes of Health cuts, the president’s war on mail-in ballots, and a batshit missive from Solicitor General John Sauer. Then, Leah speaks with candidate for Michigan attorney general Eli Savit about the latest threat to marriage equality. Finally, Kate chats with Penn Law professor Serena Mayeri about her book, Marital Privilege: Marriage, Inequality, and the Transformation of American Law.
We’re talking about the National Guard being deployed around the U.S., and which city is likely to be next.
Also, what’s expected to happen today to the man who was mistakenly deported months ago.
Plus: why the government is taking a stake in a tech giant, how a chain restaurant’s new logo is sparking backlash, and what’s more important—money or love? It’s a question younger generations are answering differently.
Those stories and even more news to know in about 10 minutes!
Join us every Mon-Fri for more daily news roundups!
Third Way, a center-left think tank, released a list of words it thinks Democrats should stop using on Friday. The list included words like “intersectionality,” “body shaming,” “cisgender,” and “LGBTQIA+.” It sparked an online debate around the terms, which has caused many people to ask “what do Democrats and liberals actually believe?” Jerusalem Demsas is CEO and founder of a new media outlet called “The Argument,” and she joins the show to answer the question: What is a liberal?
And in headlines, Russian Foreign Minister Sergey Lavrov defends the Russian war in Ukraine on NBC’s “Meet the Press,” Kilmar Abrego Garcia – a Salvadoran immigrant who was deported despite a court order allowing him to stay in the country – returns home to Maryland only to be immediately threatened with deportation to Uganda, Democratic House Minority Leader Hakeem Jeffries criticizes President Trump over threats to deploy the National guard to Chicago, and the Department of Justice releases hundreds of pages of interviews with Ghislaine Maxwell, a collaborator of Jeffrey Epstein.
Copyright is the legal system used to reward and protect creations made by humans. But with growing adoption of artificial intelligence, does copyright extend to artwork that’s made using AI? Today on the show, how a test case over a Vincent Van Gogh mashup is testing the boundaries of copyright law.
Burning Man is the biggest event for billionaires in the world… so why is it losing millions?
The US Gov’t is getting 10% of Intel in exchange for taxpayer $$… Uncle Sam CEO?
Pleasure reading is down 40% in 20 years #ReadingRecession… But Warren Buffett reads 182 books/year.
Plus, the new restaurant trend… is a pregnancy-inducing hamburger.
**And we’re going on vacation and Nick’s having a baby (IBO)! So we have special Bonus Episodes coming everyday to the feed while we’re out-of-studio.**
$TSLA $GOOG $INTC
Want more business storytelling from us? Check out the latest episode of our new weekly deepdive show: The untold origin story of…
Want more business storytelling from us? Check our weekly deepdive show, The Best Idea Yet: The untold origin story of the products you're obsessed with. Listen for free to The Best Idea Yet: https://wondery.com/links/the-best-idea-yet/
About Us: The daily pop-biz news show making today’s top stories your business. Formerly known as Robinhood Snacks, The Best One Yet is hosted by Jack Crivici-Kramer & Nick Martell.
Karin Slaughter’s new book opens on a hot summer night in Georgia. It’s Madison Dalrymple’s 15th birthday and she has a big night planned with her best friend. But both girls go missing and there’s no easy answer to what happened to them. We Are All Guilty Here is the crime writer’s 25th book in 25 years of writing. In today’s episode, Slaughter joins NPR’s Mary Louise Kelly for a conversation that touches on the dynamics of small Southern towns and the impact of the 1979-1981 Atlanta child murders.
To listen to Book of the Day sponsor-free and support NPR's book coverage, sign up for Book of the Day+ at plus.npr.org/bookoftheday
Deep sea mining for rare earth elements could start as early as 2026, even as 38 countries have called for a moratorium on it. The metals that companies are targeting are used in many green technologies like electric cars and wind turbines – but mining them is destructive to the environment. Some in the mining industry say the mining is necessary to a green transition – and essential to democratizing that transition globally since the supply chain is currently dominated by a single country, China. Meanwhile, some scientists caution against mining before the full scope of environmental damage can be understood. Can there be balance in this environmental and political push-and-pull? Hosts Regina G. Barber and Emily Kwong dive into this debate and talk about what science has to say.
Curious about other science controversies? Email us at shortwave@npr.org.
Listen to every episode of Short Wave sponsor-free and support our work at NPR by signing up for Short Wave+ at plus.npr.org/shortwave.