Hacker News with Generative AI: Python

Loading Pydantic models from JSON without running out of memory (pythonspeed.com)
You have a large JSON file, and you want to load the data into Pydantic. Unfortunately, this uses a lot of memory, to the point where large JSON files are very difficult to read. What to do?
DumPy: NumPy except it's OK if you're dum (dynomight.substack.com)
DumPy: NumPy except it's OK if you're dum (dynomight.net)
I don’t like NumPy
Free-Threaded Python Library Compatibility Checker (ft-checker.com)
Free-threaded Python Library Compatibility Checker
Recent Disruptive Changes from Setuptools (lwn.net)
In late March, version 78.0.1 of Setuptools — an important Python packaging tool — was released. It was scarcely half an hour before the first bug report came in, and it quickly became clear that the change was far more disruptive than anticipated.
I made a code security auditor for all you dumb vibe coders – thank me later (github.com/anshulyadav1976)
VulnViper is an intelligent security auditing tool designed to help developers identify and understand potential vulnerabilities in their Python codebases.
Python Tooling at Scale: LlamaIndex’s Monorepo Overhaul (llamaindex.ai)
When we talk about LlamaIndex, we’re actually referring to an ecosystem consisting of more than 650 Python packages, mostly Integrations and Packs. All these packages share a single GitHub repository, what engineers fondly call a “monorepo”. In this article, we’re going to introduce LlamaDev, our new tool for managing monorepos at scale, and explain the challenges we ran into with existing tooling to get us to this point.
Modern Python Boilerplate – good package basic structure (ycombinator.com)
TL;DR: Python Boilerplate repo for fast package building with all best practices
Show HN: Juvio – UV Kernel for Jupyter (github.com/OKUA1)
Juvio: reproducible, dependency-aware, and Git-friendly Jupyter Notebooks.
Python Design Patterns (2020) (python-patterns.guide)
Bayesian Modeling and Computation in Python (2021) (bayesiancomputationbook.com)
Python for Mathematics (vknight.org)
Create a Cursor/Windsurf Clone in Python from Scratch (1-Hour Challenge) [video] (youtube.com)
Show HN: Python Simulator of David Deutsch’s “Constructor Theory of Time” (github.com/gvelesandro)
A Python implementation of David Deutsch’s Constructor Theory framework, exposing key concepts—from simple Tasks and branching substrates to quantum-gravity and electromagnetism—entirely in code. Includes a “universal constructor” that can bootstrap itself from a list of Tasks, demonstrating self-replication and the power of Constructor Theory.
Show HN: Buckaroo – Data table UI for Notebooks (github.com/paddymul)
Buckaroo is a modern data table for Jupyter that expedites the most common exploratory data analysis tasks.
Show HN: Train and deploy your own open-source humanoid in Python (github.com/kscalelabs)
Train and deploy your own humanoid robot controller in 700 lines of Python
Microsoft winnows: Layoffs hit software engineers hard (theregister.com)
Microsoft's recent round of layoffs appears to have fallen largely on software developers, including several prominent Python developers and a veteran TypeScript developer.
Show HN: A MCP server to evaluate Python code in WASM VM using RustPython (github.com/tuananh)
Community Stewardship of Faster CPython (python.org)
Pyrefly: A new type checker and IDE experience for Python (engineering.fb.com)
Today we are announcing an alpha version of Pyrefly, an open source Python type checker and IDE extension crafted in Rust.
Show HN: Fahmatrix – A Lightweight, Pandas-Like DataFrame Library for Java (github.com/moustafa-nasr)
Fahmatrix is a lightweight, modern Java library for working with tabular data, inspired by Python's Pandas and rooted in the idea of making data understanding (fahm) easy on the JVM.
Show HN: SQL-tString a t-string SQL builder in Python (github.com/pgjones)
SQL-tString allows for t-string based construction of sql queries without allowing for SQL injection.
The first year of free-threaded Python (quansight.org)
Last week, the CPython developers rolled out CPython 3.14.0b1. This week, PyCon 2025 kicks off in Pittsburgh, PA. Both events mark a significant milestone for the effort to ship and stabilize free-threaded Python.
Microsoft support for "Faster CPython" project cancelled (reddit.com)
In the face of Microsoft's 3% across-the-board layoffs, they terminated their "Faster CPython" project contributors.
"Goodwill", key member of the SoCal Python Community has passed away (socalpython.org)
In early May of 2025, the long-standing SoCal Python organizer Michael Ryabushkin—known to many as goodwill—passed away.
Pyrefly:A fast type checker/IDE extension for Python written in Rust (engineering.fb.com)
Today we are announcing an alpha version of Pyrefly, an open source Python type checker and IDE extension crafted in Rust.
Show HN: Cogitator – A Python Toolkit for Chain-of-Thought Prompting (github.com/habedi)
Cogitator is a Python toolkit for experimenting and working with chain-of-thought (CoT) prompting methods in large language models (LLMs).
I don't like NumPy (dynomight.net)
They say you can’t truly hate someone unless you loved them first. I don’t know if that’s true as a general principle, but it certainly describes my relationship with NumPy.
Microsoft fires Faster CPython developers (bsky.app)
Project Verona: Fearless Concurrency for Python (microsoft.github.io)
As part of Project Verona, we have been developing a new ownership model for Python, called Lungfish.