Python Bytes - #449 Suggestive Trove Classifiers
- * Mozilla’s Lifeline is Safe After Judge’s Google Antitrust Ruling*
- * troml - suggests or fills in trove classifiers for your projects*
- * pqrs: Command line tool for inspecting Parquet files*
- * Testing for Python 3.14*
- Extras
- Joke
About the show
Sponsored by us! Support our work through:
Connect with the hosts
- Michael: @mkennedy@fosstodon.org / @mkennedy.codes (bsky)
- Brian: @brianokken@fosstodon.org / @brianokken.bsky.social
- Show: @pythonbytes@fosstodon.org / @pythonbytes.fm (bsky)
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.
Michael #1: Mozilla’s Lifeline is Safe After Judge’s Google Antitrust Ruling
- A judge lets Google keep paying Mozilla to make Google the default search engine but only if those deals aren’t exclusive.
- More than 85% of Mozilla’s revenue comes from Google search payments.
- The ruling forbids Google from making exclusive contracts for Search, Chrome, Google Assistant, or Gemini, and forces data sharing and search syndication so rivals get a fighting chance.
Brian #2: troml - suggests or fills in trove classifiers for your projects
- Adam Hill
- This is super cool and so welcome.
- Trove Classifiers are things like <code>Programming Language :: Python :: 3.14</code> that allow for some fun stuff to show up in PyPI, like the versions you support, etc.
- Note that just saying you require 3.9+ doesn’t tell the user that you’ve actually tested stuff on 3.14. I like to keep Trove Classifiers around for this reason.
- Also, License classifier is deprecated, and if you include it, it shows up in two places, in Meta, and in the Classifiers section. Probably good to only have one place. So I’m going to be removing it from classifiers for my projects.
- One problem, classifier text has to be an exact match to something in the classifier list, so we usually recommend copy/pasting from that list.
- But no longer! Just use troml!
- It just fills it in for you (if you run
troml suggest --fix). How totally awesome is that! - I tried it on pytest-check, and it was mostly right. It suggested me adding 3.15, which I haven’t tested yet, so I’m not ready to add that just yet. :)
- BTW, I talked with Brett Cannon about classifiers back in ‘23 if you want some more in depth info on trove classifiers.
Michael #3: pqrs: Command line tool for inspecting Parquet files
pqrsis a command line tool for inspecting Parquet files- This is a replacement for the parquet-tools utility written in Rust
- Built using the Rust implementation of Parquet and Arrow
pqrsroughly means "parquet-tools in rust"- Why Parquet?
- Size
- A 200 MB CSV will usually shrink to somewhere between about 20-100 MB as Parquet depending on the data and compression. Loading a Parquet file is typically several times faster than parsing CSV, often 2x-10x faster for a full-file load and much faster when you only read some columns.
- Speed
- Full-file load into pandas: Parquet with pyarrow/fastparquet is usually 2x–10x faster than reading CSV with pandas because CSV parsing is CPU intensive (text tokenizing, dtype inference).
- Example: if
read_csvis 10 seconds,read_parquetmight be ~1–5 seconds depending on CPU and codec.
- Example: if
- Column subset: Parquet is much faster if you only need some columns — often 5x–50x faster because it reads only those column chunks.
- Predicate pushdown & row groups: When using dataset APIs (pyarrow.dataset) you can push filters to skip row groups, reducing I/O dramatically for selective queries.
- Memory usage: Parquet avoids temporary string buffers and repeated parsing, so peak memory and temporary allocations are often lower.
- Full-file load into pandas: Parquet with pyarrow/fastparquet is usually 2x–10x faster than reading CSV with pandas because CSV parsing is CPU intensive (text tokenizing, dtype inference).
- Size
Brian #4: Testing for Python 3.14
- Python 3.14 is just around the corner, with a final release scheduled for October.
- What’s new in Python 3.14
- Python 3.14 release schedule
- Adding 3.14 to your CI tests in GitHub Actions
- Add “3.14” and optionally “3.14t” for freethreaded
- Add the line
allow-prereleases: true
- I got stuck on this, and asked folks on Mastdon and Bluesky
- A couple folks suggested the
allow-prereleases: truestep. Thank you! - Ed Rogers also suggested Hugo’s article Free-threaded Python on GitHub Actions, which I had read and forgot about. Thanks Ed! And thanks Hugo!
Extras
Brian:
- dj-toml-settings : Load Django settings from a TOML file. - Another cool project from Adam Hill
- LidAngleSensor for Mac - from Sam Henri Gold, with examples of creaky door and theramin
- Listener Bryan Weber found a Python version via Changelog, pybooklid, from tcsenpai
- Grab PyBay
Michael:
- Ready prek go! by Hugo van Kemenade
NBN Book of the Day - Owen Rees, “The Far Edges of the Known World: Life Beyond the Borders of Ancient Civilization” (Norton, 2025)
When Ovid was exiled from Rome to a border town on the Black Sea, he despaired at his bleak and barbarous new surroundings. Like many Greeks and Romans, Ovid thought the outer reaches of his world was where civilization ceased to exist. Our own fascination with the Greek and Roman world has for centuries followed this perspective, shrouding cultures at the far reaches of their influence in myth. But what was it like to live on the edges of these empires, on the boundaries of the known world? In The Far Edges of the Known World (W.W. Norton & Company, 2025) ancient historian Owen Rees draws on archaeological excavations to reveal these so-called borders as thriving multicultural spaces. This is where the boundaries of “civilized” and “barbarian” began to dissipate; where traditional rules didn’t always apply; where different cultures intermarried; and where nomadic tribes built their own cities. Transporting readers through historical spheres of influence, Rees journeys from the sandy caravan routes of Morocco to the freezing winters of the northern Black Sea, from the Red River valley of Vietnam to the rain-lashed forts south of Hadrian’s Wall. Beyond well-remembered figures like Cleopatra and Caesar, Rees introduces us to the everyday people who called the borderlands home. We meet an enterprising sex worker in Egypt’s Naucratis, gambling soldiers at Hadrian’s Wall in England, a Greco-Buddhist monk hailing from the Ganges, and more. As Rees shows, exchanges of trends, ideas, even religious practices were happening all over the world.
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
Opening Arguments - Miranda v. Arizona, and the Fascinating Science of False Confessions
OA1190 - “You have the right to remain silent.” Anyone who grew up on American crime dramas can recite the rest of these famous warnings from memory, but do you know the whole story of Miranda v. Arizona (1966)? In today’s entry in our “Still Good Law” series Matt and Jenessa voluntarily waive their rights, cautiously accept a cigarette and a Styrofoam cup of bad coffee from an alcoholic cop with a dark past, and spill everything they know about the most important criminal case in Supreme Court history. Matt provides the background on Ernesto Miranda’s literal life (and death) of crime and the circumstances of his arrest, interrogation, and appeal to the Warren Court while Jenessa breaks down the science of false confessions and why not just having but knowing our Fifth and Sixth Amendment rights is so important for all of us.
-
Miranda: The Story of America’s Right to Remain Silent, Gary Stuart (2008)
Check out the OA Linktree for all the places to go and things to do!
To support the show (and lose the ads!), please pledge at patreon.com/law!
Strict Scrutiny - How SCOTUS is Making Project 2025 a Reality
Our fearless hosts continue to slog through this sh*tty shadow docket summer, covering an order from the Court okaying racial profiling by ICE officers, some ominous administrative stays, Amy Coney Barrett’s ongoing press tour through right wing media, and the lower courts’ continuing frustrations with this Supreme Court. Then, Leah and Kate speak with special guest Symone Sanders Townsend, co-host of MSNBC’s The Weeknight, about how the Supreme Court is carrying out key parts of Project 2025, and enabling and facilitating other parts of the government to do the same.
Hosts’ favorite things:
- Leah: The Guatemalan Children’s Case and the Judicial Learning Curve, Anna Bower (Lawfare); What Should a Lower Federal Court Judge Do When SCOTUS Plays Calvinball? By Michael Dorf (Dorf on Law).
- Kate: Bonus 177: A Closer Look at Justice Kavanaugh's ICE Raids Opinion, Steve Vladeck (One First); Zohran Mamdani’s ‘Stop Sending Us Money” TikTok
- Melissa: “Trump’s Treasury Secretary Threatens to Punch Housing Official in the Face,” Maggie Haberman and Shawn McCreesh (Washington Post)
Get tickets for STRICT SCRUTINY LIVE – The Bad Decisions Tour 2025!
- 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
Get tickets to CROOKED CON November 6-7 in Washington, D.C at http://crookedcon.com
Follow us on Instagram, Threads, and Bluesky
What A Day - Shutdown Showdown, Part [We’ve Lost Count]
The clock is ticking until the federal government runs out of money and potentially shuts down—again. Now you might be thinking, "Didn't we do this? Like, a few months ago?" And yeah, we did. In March, the Senate approved a short-term spending bill with the support of 10 Democrats, including Senate Minority Leader Chuck Schumer. And if Republicans want to keep the government open, they'll need a lifeline from Democrats. But Democrats want something in return: an extension of Affordable Care Act tax credits that are due to expire at the end of the year. Will the two sides reach a deal? We asked Daniella Diaz, who covers Capitol Hill for NOTUS, a nonprofit D.C. journalism organization.
And in headlines, Utah's governor reveals new details about the man suspected of killing Charlie Kirk, Trump eyes Memphis for his crime crackdown, and a federal judge says it appears the Trump administration is trying to pull a fast one on the courts with its latest deportations.
Show Notes:
- Check out Daniella's reporting – www.notus.org/daniella-diaz
- Call Congress – 202-224-3121
- Subscribe to the What A Day Newsletter – https://tinyurl.com/3kk4nyz8
- What A Day – YouTube – https://www.youtube.com/@whatadaypodcast
- Follow us on Instagram – https://www.instagram.com/crookedmedia/
- For a transcript of this episode, please visit crooked.com/whataday
The NewsWorthy - Alleged Assassin Arrested, Google’s AI Challenged & ‘The Studio’ Wins Big – Monday, September 15, 2025
The news to know for Monday, September 15, 2025!
We’re talking about the person now in custody for killing Charlie Kirk, and the clues authorities are following as they try to figure out a motive.
Also, forget Chicago—President Trump has another city in mind for the next phase of his crime crackdown.
Plus: why many Americans have already started their holiday shopping, how Pope Leo celebrated his birthday at the Vatican, and who the biggest winners were at last night’s Emmy Awards.
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:
Receive 50% off your first order of Hiya's best-selling children's vitamins at hiyahealth.com/NEWSWORTHY
You can get an additional 15% off their 90-day subscription Starter Kit by going to fatty15.com/NEWSWORTHY and using code NEWSWORTHY at checkout.
To advertise on our podcast, please reach out to ad-sales@libsyn.com
The Indicator from Planet Money - Why beef prices are so high
Beef is getting more expensive, and it doesn’t look as though that’s going to change any time soon. That’s the view of the Federal Reserve Bank of Dallas, which wrote in its Beige Book entry this month that the trend of rising beef prices continues. There’s solid demand for beef, but falling supply, as production decreases. Ranchers are making more per cow, but their costs are rising. We speak with a rancher in Wyoming to learn what high beef prices mean for him and other ranchers.
Related episodes:
What happened to US farmers during the last trade war
How USAID cuts hurt American farmers
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
The Best One Yet - 👨 “Performative Male” — Pinterest’s pin dudes. Alo’s ath-luxury bag. Stagflation’s fire flood.
Alo launched a $3,600 bag, while Aldi launched a free bag… and that explains the economy.
The #1 issue this week is stagflation… The Fed has to decide to put out the fire or fix the flood.
Pinterest is celebrating the rise of the “Pin Dude”… but in social media and tech, nice guys finish last.
$PINS $SPY $LULU
Want more business storytelling from us? Check out the latest episode of our new weekly deepdive show: The untold origin story of… 👝 Hermes’ Birkin Bag
Subscribe to The Best Idea Yet: https://wondery.com/links/the-best-idea-yet/ to listen.
NEWSLETTER:
https://tboypod.com/newsletter
OUR 2ND SHOW:
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/
NEW LISTENERS
Fill out our 2 minute survey: https://qualtricsxm88y5r986q.qualtrics.com/jfe/form/SV_dp1FDYiJgt6lHy6
GET ON THE POD:
Submit a shoutout or fact: https://tboypod.com/shoutouts
SOCIALS:
Instagram: https://www.instagram.com/tboypod
TikTok: https://www.tiktok.com/@tboypod
YouTube: https://www.youtube.com/@tboypod
Linkedin (Nick): https://www.linkedin.com/in/nicolas-martell/
Linkedin (Jack): https://www.linkedin.com/in/jack-crivici-kramer/
Anything else: https://tboypod.com/
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.
See Privacy Policy at https://art19.com/privacy and California Privacy Notice at https://art19.com/privacy#do-not-sell-my-info.
NPR's Book of the Day - Jhumpa Lahiri says the phrase ‘Interpreter of Maladies’ came to her in grad school
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
Learn more about sponsor message choices: podcastchoices.com/adchoices
NPR Privacy Policy
