Hacker News with Generative AI: Python

Show HN: Wetlands – a lightweight Python library for managing Conda environments (arthursw.github.io)
Wetlands is a lightweight Python library for managing Conda environments.
Show HN: 3DGS implementation in Nvidia Warp: clean, minimal, runs on CPU and GPU (github.com/guoriyue)
This project reimplements the core ideas of 3D Gaussian Splatting in a clean, minimalist Python codebase using NVIDIA Warp.
Show HN: My LLM CLI tool can run tools now, from Python code or plugins (simonwillison.net)
LLM 0.26 is out with the biggest new feature since I started the project: support for tools. You can now use the LLM CLI tool—and Python library—to grant LLMs from OpenAI, Anthropic, Gemini and local models from Ollama with access to any tool that you can represent as a Python function.
Python Pandas Ditches NumPy for Speedier PyArrow (thenewstack.io)
Pyrefly vs. Ty: Comparing Python's two new Rust-based type checkers (edward-li.com)
Earlier this month, two new Rust-based Python type checkers hit the spotlight: pyrefly and ty. Although neither is officially released, they are a welcome change to the Python type checking world, historically dominated by mypy and pylance.
Initial support for calling Mojo from Python (modular.com)
Writing your own CUPS printer driver in 100 lines of Python (2018) (pretix.eu)
In version 1.8 of pretix, we introduced shipping management as a new feature for the pretix Hosted and Enterprise editions.
Mutmut – Python Mutation Tester (github.com/boxed)
Mutmut is a mutation testing system for Python, with a strong focus on ease of use.
Python in LibreOffice (LibrePythonista Extension) (libreoffice.org)
LibrePythonista is an extension for LibreOffice Calc. The extension allows Interactive Python code to be run directly in a spreadsheet.
Show HN: Web Apps for Python Devs with Auto-Generated UI (davia.ai)
Davia transforms your Python code into fully-functional tools with intuitive interfaces automatically. No more spending days on UI development or wrestling with frontend frameworks.
DumPy: NumPy except it's OK if you're dum (dynomight.net)
I don’t like NumPy
PyCon US 2025: Keynote Speaker – Cory Doctorow on Enshitification [video] (youtube.com)
DumPy: NumPy except it's OK if you're dum (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. NumPy, by the way, is...
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.
Does Field Ordering Affect Model Performance? (kallyaleksiev.net)
I mostly wrote this post as an excuse to try the freshly-minted and excellent pydantic-evals framework for LLM evaluations but one interesting question that arises when working with Pydantic Models to implement structured output in your AI applications is: What happens if you shuffle the order of fields in your schema?
Fused Apps: Building, Editing and Sharing Python in the Browser (fused.io)
This is a technical deep dive into how we built Fused Apps, a way to build a Python-based workflow in your browser, that you can save and share with someone. You can read the full product announcement here.
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.