Search the archive

14,355 indexed articles, 13,283 of them summarised by us.

Articles
14,355
Research papers
91,965
Models priced
2,249
Providers
163

40+ results for “uv”

Newest and most relevant first

Orange: workflow-based data mining without programming or math

Enables non-programmers to analyze data via visual workflows, reducing barriers to entry.

Orange lets users analyze data by connecting visual tools instead of writing code, making data science accessible without programming or math skills.

Orange offers a visual data analysis tool for non-programmers, competing with code-based solutions by lowering entry barriers and enabling collaboration across skill levels.

Orange is a Python-based desktop app using Qt, enabling visual data workflows with widgets. It supports extensions via add-ons, runs on multiple OS, and requires Python 3.12 with PyQt6 dependencies.

GitHub Opensource Projects →

How to Manage Python Environments with uv Instead of venv and pip

Developers can streamline environment management with uv, reducing setup friction.

A tool called uv helps manage Python projects more efficiently than older methods, making it easier to share and recreate projects.

uv offers a faster, more reliable way to handle Python environments, improving developer productivity and collaboration.

uv provides commands like init, add, run, and sync with a lockfile, replacing venv and pip for environment management.

Towards Data Science Blog →

Open-source research agent framework with reproducible SOTA benchmark results

Researchers can now verify AI agent performance with transparent, reproducible benchmarks.

A new open-source AI tool lets researchers test and check how well AI agents work, with real results and code to back them up.

Open-source AI agent framework offers verifiable performance, giving researchers trust and transparency in results.

MiroFlow is an open-source AI research agent framework with reproducible SOTA results on benchmarks like HLE (27.2%) and FutureX, using Python and uv.

GitHub Opensource Projects →

If in doubt, delete the uv.lock file

Python developers on 3.15 can lose minutes to confusing dependency build failures that are fixed simply by deleting a stale uv.lock file.

Simon Willison shares a fix for a puzzling Python programming error. Python packages sometimes come with a 'lock' file that pins exact versions of other software they need. When those pinned versions lack pre-built files for the new Python 3.15, installing them fails. Deleting the lock file and rerunning usually solves it.

Willison, a prominent Python developer, documents an operational gotcha for teams upgrading to Python 3.15. Stale uv.lock files left by test runs can pin dependency versions without Python 3.15 support, causing build failures like maturin/Pyo3 errors. The remedy, delete the lock file, is cheap, but teams upgrading now should know it to avoid lost debugging time.

Libraries omit uv.lock (pinning dependencies would be rude to consumers), but `uv run pytest` generates one locally, gitignored. With Python 3.15, a pinned version like watchfiles==1.1.1 may lack a 3.15 wheel; maturin's build fails because Pyo3 caps supported Python at 3.14. Deleting the lock and rerunning `uv run pytest` resolves it.

Simon Willison’s Weblog →

eMudhra Intermediate CA Compromise

Private keys for eight eMudhra intermediate CAs are compromised, so anyone shipping trusted-certificate bundles, Linux distros, Python tools, must update now.

A certificate authority called eMudhra had the secret digital keys for eight of its certificates stolen or exposed. Those certificates let attackers impersonate trusted websites and software, and most computers trust them by default. Everyone maintaining trusted-certificate lists, operating systems, browsers, Python tools like pip, must ship updates. The article does not say how the keys were stolen.

Eight eMudhra intermediate certificates have compromised private keys, and they chain to roots trusted by Mozilla, Microsoft, Apple and Chrome. Any attacker holding these keys can forge trusted HTTPS identities, so this is a serious supply-chain risk, not a routine patch. Every product that bundles a trust store needs an urgent update; companies running Linux or Python should verify their ca-certificates, uv, pip and certifi versions this week.

The private keys of eight eMudhra intermediate CA certificates, chaining to roots in the Mozilla, Microsoft, Apple and Chrome root programs, are compromised. Trust stores that bundle these roots must drop or distrust them: Linux distros need ca-certificates updates, tracked in the galadran/we-have-a-problem.com GitHub repo. Python tooling has already shipped new bundles: uv 0.13.4, pip 26.2.2 and certifi 2026.10.19. The article gives no details on the compromise mechanism or timeline.

Simon Willison’s Weblog →

Hello Python 3.15, goodbye 3.10, and now I can use 3.11

Python 3.15's lazy imports can cut CLI startup time caused by heavy dependencies, and dropping 3.10 lets maintainers use 3.11 features like TaskGroup and tomllib.

Python has released version 3.15, its newest edition of the popular programming language. Its standout addition is 'lazy imports,' which delays loading bulky add-on libraries until they are actually needed, making tools start faster. It also adds a built-in profiler, a diagnostic tool that watches a running program and reports where it spends time. Because the newest release retires the oldest supported one, software maintainers can now rely on conveniences added in version 3.11.

Python 3.15 ships with explicit lazy imports (PEP 810), letting projects like Simon Willison's LLM CLI avoid multi-second startup penalties from heavy dependencies like sentence_transformers. A new sampling profiler, Tachyon, is now in the standard library. Performance is largely unchanged from 3.14, though the experimental JIT delivered its first meaningful 1.2x speedup in Miguel Grinberg's tests. Teams supporting all supported versions can now drop Python 3.10, released 2021, and use 3.11 features.

Python 3.15 adds PEP 810 explicit lazy imports (`lazy import json`), deferring module loading to first use, useful for plugin systems where installing heavy packages like sentence_transformers previously slowed the llm CLI's startup. PEP 798 enables unpacking in comprehensions: `[*L for L in lists]`. cProfile is renamed profiling.tracing, joined by the Tachyon sampling profiler (profiling.sampling), attachable via PID and exporting flame graphs. Miguel Grinberg found 3.15 roughly equal to 3.14, with the JIT giving 1.2x on a Fibonacci test. With 3.10 EOL, sqlite3 adds setlimit/getlimit, create_window_function, blobopen, and set_authorizer(None).

Simon Willison’s Weblog →

ttok 1.0

Very little for most readers: a small token-counting CLI now defaults to the GPT-5-family tokenizer, and independent testing suggests GPT-6 shares it.

Simon Willison released version 1.0 of ttok, a small command-line tool that counts how many 'tokens', the word fragments AI models actually read, are in a piece of text. The update changes the default counting method from GPT-4 to the GPT-5 family of models. Independent testing suggests GPT-6 uses the same counting method, so estimates stay accurate.

ttok 1.0 is a free, minor developer utility release: Simon Willison updated his token-counting CLI to default to the GPT-5 tokenizer instead of GPT-4's. No costs or competitive stakes; the practical significance is that token estimates for GPT-5 and GPT-6 stay accurate, since an experiment by William Liu found all seven GPT-5 and GPT-6 models produce identical token counts.

ttok 1.0 changes its default tokenizer from GPT-4's to the GPT-5 family's via tiktoken. OpenAI has not confirmed GPT-6 shares the tokenizer (an open tiktoken issue complains about this), but William Liu's commit shows all seven GPT-5/5.5/5.6 and GPT-6 variants, 5.5, 5.6 Sol/Terra/Luna, 6 Astra/Sol/Luna, match at 44,794 tokens across all 31 fixtures.

Simon Willison’s Weblog →

ttok 0.4

Very little changes; ttok 0.4 is a maintenance release of a niche token-counting CLI that adds a --list-models flag and fixes a warning.

ttok is a free command-line tool by developer Simon Willison that counts tokens, the word fragments that AI models read and charge for. Version 0.4 updates the tool after two idle years, fixing a code warning, refreshing its automated testing setup, and adding a command that lists the AI models it can count tokens for. It now runs via uvx, so anyone with the uv tool installed can pipe any text file into it and get a count. The article gives no usage numbers or benchmarks.

Simon Willison released ttok 0.4, a small maintenance update to his free, open-source command-line token counter, the first change in roughly two years. The update fixes a Click library warning, updates continuous integration, and adds a --list-models option listing supported models. There is no business impact: it is a free developer utility, the article names no customers, costs, or competitors, and nothing here requires action from any organisation.

ttok 0.4 wraps OpenAI's tiktoken library to count tokens from stdin or files. The release fixes a Click deprecation warning, updates CI configuration, and adds a --list-models command enumerating available tiktoken model tokenizers. It is now installable and runnable via uvx, e.g. 'cat file.txt | uvx ttok'. The article states no benchmarks, token counts, or model version specifics beyond that.

Simon Willison’s Weblog →

Introducing ChatGPT Images 2.5

Developers generating images via OpenAI's API now pick between two gpt-image-2.5 model IDs, with Sunburst for precise edits and Flare for speed.

OpenAI has released ChatGPT Images 2.5, a new version of the system that creates and edits pictures from text instructions. The company says people have already made more than 3 billion images with its previous models. This version follows instructions better across multiple back-and-forth requests, generates images faster, and is better at keeping the people or objects in photos you supply as references. It affects anyone who uses ChatGPT to make images, or builds software that does.

OpenAI's latest image model rollout matters for anyone building on its API, because it introduces two distinct model IDs with different positioning: gpt-image-2.5-sunburst for precise editing workflows, gpt-image-2.5-flare for fast everyday generation. Choosing wrong means paying for capability you don't need. The 3-billion-images figure signals OpenAI is defending its share of a heavily used product line against rival image generators.

OpenAI ships two new image model IDs: gpt-image-2.5-sunburst, recommended for multi-turn editing precision, and gpt-image-2.5-flare for fast generation. Both support reference-image input, with claimed improvements in subject preservation across edits. Willison demonstrates the API via his openai_image.py CLI tool (runnable with uv), passing a webp reference image with a '-m gpt-image-2.5-sunburn' flag. No pricing, latency figures or benchmarks are provided in the post.

Simon Willison’s Weblog →

Docling parses PDFs, DOCX, and more into one unified format with local execution

Docling gives developers one local, privacy-preserving parser for PDFs, Office files and more, replacing stacks of fragile format-specific parsers and feeding RAG pipelines directly.

Docling is a free, open-source software tool that reads documents, like PDFs, Word files, spreadsheets and even audio recordings, and turns them into one clean, structured format computers can work with. It understands tricky things like tables and page layout inside PDFs, where simpler tools fail. Everything runs on your own computer, so private files never get uploaded elsewhere. It matters to developers and companies handling sensitive documents.

Docling, a Linux Foundation AI & Data project, lets organisations convert PDFs, DOCX, PPTX, XLSX and more into a single structured format entirely on their own hardware, a real advantage for sensitive or air-gapped data where cloud APIs are unacceptable. It plugs into LangChain, LlamaIndex, CrewAI and Haystack, positioning it as the ingestion layer for document AI pipelines. Being free and open source, it competes with paid parsing APIs. No adoption figures or benchmarks are given.

Docling is a Python document-parsing library (Pydantic v2, uv) that normalises PDF, DOCX, PPTX, XLSX, HTML, EPUB, EML/MSG, images, LaTeX and audio into a unified DoclingDocument, exportable as Markdown, HTML or JSON. For PDFs it preserves layout, reading order and table structure, with OCR and ASR support plus Visual Language Models like GraniteDocling. Integrations exist for LangChain, LlamaIndex, CrewAI and Haystack, with an MCP server. No benchmark numbers are provided.

GitHub Opensource Projects →

sqlite-utils 4.2.1

Very little: sqlite-utils 4.2.1 fixes a missing typing-extensions dependency that crashed version 4.2, plus documents a uv command to test without dev dependencies.

sqlite-utils is a free command-line tool for working with SQLite databases. Version 4.2.1 fixes a bug from version 4.2 that made the tool crash because a helper package called typing-extensions was not installed alongside it. Anyone who downloaded the broken 4.2 version directly was affected. Users just need to upgrade to 4.2.1.

The 4.2 release of the open-source sqlite-utils tool shipped with a crash because the typing-extensions package was missing from its dependency list. Version 4.2.1 fixes this with no other changes announced. The risk is minimal: only users running 'uvx sqlite-utils' on the broken 4.2 hit it. No cost or competitive implications.

sqlite-utils 4.2.1 fixes a NameError caused by 'from typing_extensions import Self', where typing-extensions was only in the dev dependency group in pyproject.toml, not a runtime dependency, so 'uvx sqlite-utils' failed. Willison added a smoke test using 'uv run --isolated --no-default-groups sqlite-utils --help' to catch this class of missing-dependency bug in the project checkout.

Simon Willison’s Weblog →

Processing LLM training data at scale with pluggable blocks and any file system

Teams building LLM training datasets can now run one pipeline locally and on SLURM or Ray clusters without rewriting code, cutting the engineering cost of processing terabyte-scale text.

DataTrove is a free, open-source tool from Hugging Face for cleaning the huge amounts of text needed to train large language models. Its main difference is that the same data-processing recipe runs unchanged on a laptop or on a cluster of machines, so testing small and running big use identical code. It also works with different storage systems, like your own disk or Amazon S3, without changes. It matters to anyone building the datasets behind models like those trained on Common Crawl data.

Hugging Face has released DataTrove, an open-source pipeline for processing, filtering and deduplicating the terabyte-scale text used in LLM training. For organisations training models in-house, it removes the need to build and maintain bespoke data infrastructure, and its downloadable examples reproduce the FineWeb dataset and Common Crawl processing end to end. Competing homegrown pipelines and some commercial data tooling lose ground. The cost is engineering time to learn it; the risk is none, since the code is public on GitHub under Hugging Face's account.

DataTrove chains processing blocks (read, extract, filter, deduplicate, save) and executes them via pluggable executors: LocalPipelineExecutor, SlurmPipelineExecutor, RayPipelineExecutor and JobsPipelineExecutor. Storage is abstracted through fsspec, so input and output can mix local paths and S3. The multi-step design keeps memory low across billions of documents, and custom blocks come in three tiers: simple data, custom functions, full blocks. It requires Python 3.10+ with uv-managed extras for WARC and S3 support; no benchmark numbers are given, though it ships a complete FineWeb reproduction, a Common Crawl WARC pipeline, C4 tokenisation and a synthetic data generation workflow.

GitHub Opensource Projects →

Run High-Performance Core Math at Scale with NVIDIA nvmath-python

Python developers can now access NVIDIA's GPU math libraries through a stable v1.0 API, removing the need for low-level C/C++ wrappers.

NVIDIA has released version 1.0 of nvmath-python, a Python library that speeds up common math operations like matrix multiplication and FFTs using NVIDIA GPUs. It works with familiar tools like NumPy, CuPy, and PyTorch, and can scale from a laptop CPU to many GPUs across multiple machines. Scientists and engineers doing heavy numerical computing benefit most.

With nvmath-python v1.0 generally available, teams running scientific or deep learning workloads in Python can adopt NVIDIA-optimized GPU math without writing C++ or changing their NumPy/CuPy/PyTorch workflows. Installation supports pip, conda, uv, and pixi, lowering integration cost. The main risk is vendor lock-in to NVIDIA hardware; no performance benchmarks beyond autotuning examples are provided.

nvmath-python v1.0 wraps cuFFT, cuBLASLt, cuDSS, cuSPARSE, cuTENSOR, and cuBLASMp with generic and specialized ('advanced' submodule) APIs across CPU, GPU, and distributed execution spaces. Stateful APIs amortize planning/autotuning across repeated executions, with plans serializable to disk; fused cuBLASLt GEMM+epilogue via numba-cuda callbacks reduces kernel launches for low-arithmetic-intensity operations. A universal sparse tensor DSL defines custom sparse formats without coding them. Autotuning gains vary: RTX A6000 showed 256% speedup, while B200 hit peak without tuning.

NVIDIA Developer Blog →

llm-chat-completions-server 0.1a0

Developers running Simon Willison's LLM CLI tool can now expose all their installed local models through a single OpenAI Chat Completions-compatible endpoint on localhost, letting existing OpenAI-format tooling work against them.

Simon Willison released a plugin called llm-chat-completions-server, version 0.1a0. When you run it, it starts a small server on your own computer that makes every model you have installed in his 'LLM' command-line tool respond like OpenAI's ChatGPT API. That means software built to talk to ChatGPT can talk to your local models instead. Willison says GPT-5.6 Sol wrote the plugin's code entirely.

Willison shipped llm-chat-completions-server 0.1a0, a plugin that turns his LLM CLI's full model collection into a ChatGPT-compatible API endpoint on localhost. For teams, any tooling written against the OpenAI Chat Completions format can now target locally installed models without code changes. The timing ties to LLM 0.32rc1's content-addressable logs, which de-duplicate growing chat histories via message hashes. No commercial support or pricing is involved; it is a free open-source tool.

The plugin exposes LLM's installed models via a /v1/chat/completions endpoint, defaulting to port 9001, installed via 'uv tool install llm --pre' then 'llm install llm-chat-completions-server'. Its motivation is LLM 0.32rc1's content-addressable log schema: client-tracked conversations (each request resending prior messages) are de-duplicated by hashing individual message parts. The example curl call uses model qwen3.5-4b. GPT-5.6 Sol wrote the entire implementation; no benchmark or limitation details are given.

Simon Willison’s Weblog →

uv 0.12.0

Python developers running `uv init` will now get src-layout projects with the uv_build backend and a script entry point, a breaking change to new project defaults.

uv is a popular free tool that Python programmers use to manage code projects. Version 0.12.0 changes what you get when you run the `uv init` command to start a new project: instead of a single main.py file, it now creates a structured 'src layout' package, sets up the uv_build tool for building distributable files, and adds a runnable script. This affects anyone starting new Python projects with uv; existing projects are untouched.

Astral's uv package manager released version 0.12.0 with breaking changes to its `uv init` project-scaffolding command. New projects now default to a src/ package structure, use the uv_build backend for wheels and tar.gz files, and include a script alias running a main() function in src/uv_init/__init__.py. The cost is migration friction for teams relying on old defaults; the benefit is modern, build-ready project structure. No timeline for a 1.0 release was given.

uv 0.12.0 changes `uv init` defaults: it scaffolds a src/-layout package rather than a root main.py, configures the uv_build backend for `uv build` outputs (wheels and .tar.gz), and defines a project.scripts entry mapping uv-init to uv_init:main. The generated src/uv_init/__init__.py contains a type-annotated main() -> None printing a greeting. Simon Willison's auto-snapshotting GitHub repository documents the full diff against the 0.11.x output.

Simon Willison’s Weblog →

Using uvx in GitHub Actions in a cache-friendly way

CI workflows can stop re-downloading Python tools from PyPI on every run by pinning a date in the UV_EXCLUDE_NEWER variable and baking it into the cache key.

Simon Willison published a recipe for running Python tools inside GitHub Actions, the automation system that runs code when software projects change. Normally each run downloads the tool again from PyPI, the public Python package store. His trick sets a variable called UV_EXCLUDE_NEWER to a fixed date, so every run uses the version of the tool that existed on that date, and reuses it from GitHub's cache. Upgrading tools later means manually bumping the date.

Teams running Python tooling in GitHub Actions typically pay, in time and network load, for repeated PyPI downloads on every workflow run. Willison's recipe fixes this by fixing a resolution date (he used 2026-07-12) via the UV_EXCLUDE_NEWER environment variable and including it in the cache key, so runs reuse cached tools until someone bumps the date. The trade-off is manual cache-busting on upgrades.

Willison's recipe sets UV_EXCLUDE_NEWER="2026-07-12" as an environment variable at workflow start and uses the value in the GitHub Actions cache key. uvx then resolves tool versions as of that date on the first run and subsequent runs hit the Actions cache instead of PyPI. Upgrades require manually bumping the date. He also links an open issue on astral-sh/setup-uv requesting caching by default rather than purging wheels.

Simon Willison’s Weblog →

Claude Fable is relentlessly proactive

Agents can now improvise their own debugging tooling, screenshotting via Quartz, self-built CORS servers, meaning unsupervised Claude sessions may take surprising actions on your machine.

Simon Willison spent two days testing Claude Fable 5, a new AI coding assistant, and calls it 'relentlessly proactive'. While he was away from his computer, the assistant investigating a stray scrollbar bug opened browsers, invented its own way to take screenshots, wrote fake web pages to recreate the bug, and edited the app's templates to trigger a keyboard shortcut automatically. It shows AI assistants can now autonomously take significant actions on your computer without asking first.

A prominent developer's firsthand account shows Claude Fable 5 taking genuinely autonomous action: while he was away, it spun up test pages, screenshotted Safari windows via macOS APIs, and modified application templates to reproduce a bug. For decision-makers this is a preview of agentic coding tools' power and risk, useful work happened, but on the user's machine, without supervision or prior permission.

Willison gave Claude Fable 5 a screenshot of a scrollbar bug in Datasette Agent. Unsupervised, it wrote test HTML to /tmp, found Safari window IDs using pyobjc-framework-Quartz via uv run and captured them with screencapture -l, edited Datasette templates to self-dispatch a '/' KeyboardEvent 1.2s after load, and built an http.server CORS endpoint POSTing textarea measurements to /tmp/diag.json. It later hit a guardrail and downgraded to Opus, which continued the work.

Simon Willison’s Weblog →

What's new in pip 26.1 - lockfiles and dependency cooldowns!

Python developers can now generate lockfiles with pip itself and block freshly-uploaded packages from installs, reducing supply-chain attack exposure.

Pip, the standard tool for installing Python software packages, has released version 26.1 with two notable changes. The new 'pip lock' command records every package and version a project needs into a single file, so everyone building it gets exactly the same setup. It also adds a delay option so installations only use packages that have been publicly available for a set number of days, which protects against malicious newly published updates.

Pip 26.1 closes a gap where Python's default package installer lagged behind rivals by adding built-in lockfiles and the ability to exclude packages uploaded within a chosen number of days. This matters for risk: teams can now refuse brand-new package versions until they've been scrutinized, blunting supply-chain attacks. Organizations still relying on Python 3.9 must upgrade it first, since the release drops it. Adoption costs nothing; the tool is free.

Pip 26.1 drops Python 3.9 support (EOL since October) and adds 'pip lock', which resolved Datasette and LLM into a 519-line pylock.toml in Willison's test. The new --uploaded-prior-to PXD flag uses ISO duration format limited to days; installing llm with --uploaded-prior-to P4D resolved to 0.30 rather than the 0.31 shipped three days earlier. Testing used uv to install Python 3.14 in a venv.

Simon Willison’s Weblog →

microsoft/VibeVoice

Microsoft's MIT-licensed VibeVoice-ASR gives developers free, self-hosted transcription with built-in speaker diarization, challenging paid speech-to-text APIs for local use.

Microsoft has released VibeVoice-ASR, a free, open-licensed speech-to-text model that turns audio recordings into written text and identifies who is speaking. Simon Willison tested it on a Mac, transcribing a one-hour podcast in about 8 minutes 45 seconds. It handles up to an hour of audio per run, so longer recordings must be split. Anyone with a powerful Mac can use it without paying for a transcription service.

VibeVoice-ASR is Microsoft's MIT-licensed transcription model with built-in speaker identification, released January 21, 2026. Running locally on a 128GB MacBook Pro, Willison transcribed an hour-long podcast in 8 minutes 45 seconds at 30GB peak memory. For teams transcribing audio, this offers a zero-cost, private alternative to paid APIs, the tradeoff is high-end hardware and a one-hour limit requiring audio splitting.

Microsoft's VibeVoice-ASR (MIT licensed, released Jan 21, 2026) performs speech-to-text with native speaker diarization. Willison ran the 4-bit MLX conversion (5.71GB vs 17.3GB original) via mlx-audio and uv on a 128GB M5 Max: 100-minute audio trimmed to 59 minutes took 524.79 seconds, generating 20,248 tokens at 38.6 tokens/sec, peaking at 61.5GB observed RAM. Default --max-tokens 8192 covers ~25 minutes; must be raised for an hour. Long audio requires splitting with overlap and cross-segment speaker ID alignment.

Simon Willison’s Weblog →

Gemma 4 audio with MLX

Mac users can now run local audio transcription with a single uv command using Google's Gemma 4 E2B model via MLX, avoiding cloud speech-to-text APIs.

Simon Willison shares a one-line command for transcribing audio on a Mac using a model called Gemma 4 E2B, which is about 10 GB and runs locally with Apple's MLX software. He tested it on a 14-second voice memo and got an almost-perfect transcription with two small word errors. Anyone with a Mac can copy the command and use it today, with no cloud service or payment involved.

This post is a working recipe, not a product launch: a single command that runs Google's Gemma 4 E2B model locally on macOS for audio transcription. It matters because local speech-to-text can replace paid cloud transcription for short clips, with no data leaving the machine. The limitation shown is accuracy - the model made two word errors on a 14-second test clip. No pricing or benchmark comparisons are given.

The recipe uses uv with Python 3.13 and mlx-vlm to run google/gemma-4-e2b-it (10.28 GB) on macOS, passing a 14-second WAV file with the prompt 'Transcribe this audio', max-tokens 500, temperature 1.0. Output was near-correct, mishearing 'This right here' as 'This front here' and 'how well that works' as 'how that works'. No benchmarks or accuracy measurements are provided.

Simon Willison’s Weblog →

Package Managers Need to Cool Down

Developers can now set a release-age delay in most major package managers, pnpm, Yarn, Bun, Deno, uv, pip and npm, to avoid installing freshly-poisoned packages during supply chain attacks like the recent LiteLLM incident.

When programmers add outside code to their projects, that code can sometimes be replaced with malicious versions. A defence called a 'dependency cooldown' means waiting a few days before installing new updates, so attackers get caught first. A March 2026 review by Andrew Nesbitt found this protection is now built into seven major package managers, including npm 11.10.0 and pip 26.0. Anyone who builds software can turn it on today.

Software supply chain attacks, like the March 2026 LiteLLM compromise, exploit the window where a malicious package update spreads before anyone notices. A cooldown delay closes that window, and as of early 2026 every major package manager supports it: pnpm 10.16, Yarn 4.10.0, Bun 1.3, Deno 2.6, uv 0.9.17, pip 26.0 and npm 11.10.0. Engineering teams should treat enabling these settings as a low-cost security baseline.

Dependency cooldowns reject packages published more recently than a set age. Implementations: pnpm 10.16 minimumReleaseAge with minimumReleaseAgeExclude; Yarn 4.10.0 npmMinimalAgeGate (minutes) plus npmPreapprovedPackages; Bun 1.3 minimumReleaseAge in bunfig.toml; Deno 2.6 --minimum-dependency-age; uv 0.9.17 --exclude-newer with exclude-newer-package overrides; pip 26.0 --uploaded-prior-to (absolute timestamps only, relative durations unsupported); npm 11.10.0 min-release-age. Seth Larson published a cron-based workaround to keep pip's absolute date current.

Simon Willison’s Weblog →

Thoughts on OpenAI acquiring Astral and uv/ruff/ty

Python's most critical tooling, uv, ruff and ty, now belongs to OpenAI, so developers must watch whether these MIT/Apache-licensed projects stay independent or become leverage in the OpenAI-Anthropic coding-agent war.

OpenAI is buying Astral, the small company behind three free tools that Python programmers rely on, especially uv, which fixes the mess of installing and managing Python on a computer. uv was downloaded over 126 million times last month. The team will join OpenAI's Codex group, and both companies say the tools will stay free and open. A community worry is that one company now controls key shared infrastructure.

OpenAI's acquisition of Astral brings uv, ruff and ty, load-bearing Python infrastructure, in-house, joining the Codex team as the Codex-vs-Claude Code competition intensifies around $200/month subscriptions worth billions annually. Both announcements pledge continued open-source support, but pyx, Astral's private package registry product, is conspicuously absent. The deal mirrors Anthropic's December 2025 Bun acquisition. MIT/Apache licensing makes 'fork and move on' the fallback if stewardship degrades.

Astral (uv, ruff, ty) joins OpenAI's Codex team; Codex CLI is Rust, and Astral holds elite Rust engineers (BurntSushi of ripgrep/regex/jiff). uv, released February 2024, hit 126M+ monthly PyPI downloads solving Python environment management. Ruff and ty pair naturally with coding agents via fast linting and type-checking. Untold: undisclosed Series A (Accel) and Series B (a16z); pyx has no stated future. Permissive licenses keep forking viable.

Simon Willison’s Weblog →

My fireside chat about agentic engineering at the Pragmatic Summit

Simon Willison's practices, red-green TDD, templates, sandboxing, trusting Opus 4.5 output, give working developers a concrete playbook for safely delegating more code to agents.

Simon Willison spoke at the Pragmatic Summit about how he works with AI coding agents, programs that write code for developers. He says he started letting the AI write most of his code only six months ago, and that Anthropic's Opus 4.5 was the first model he trusts without reading every line. He recommends asking agents to write tests first and says tests are now 'effectively free' and no longer optional. The talk also covers security risks like prompt injection, where tricked AI systems leak private data.

This fireside chat from the Pragmatic Summit offers a benchmark for how experienced engineering teams should run AI coding agents. Willison's core claims: tests are no longer optional because agents can write them cheaply, code quality only matters for long-term maintained projects, and sandboxing is the main safety control since agents can be manipulated via prompt injection. Companies adopting a 'nobody reads the code' approach, like security firm StrongDM, draw his criticism as irresponsible. Teams ignoring these practices risk shipping unverified, insecure code.

Willison describes running every agent session with 'uv run pytest' and a five-token instruction to use red-green TDD, dramatically improving code correctness. He endorses conformance-driven development: for Datasette file uploads, he had Claude build a test suite passing on Go, Node.js, Django and Starlette, then implemented against it. He introduces Showboat, a tool generating markdown records of manual curl-based API testing agents perform. On security he explains the 'lethal trifecta': private data access, exposure to malicious instructions, and an exfiltration vector.

Simon Willison’s Weblog →

First run the tests

A four-word prompt, 'first run the tests', has become a practical discipline for keeping AI-generated code from breaking in production.

Simon Willison argues that automated tests, small programs that check whether software works, are essential when using AI coding agents like Claude Code, because untested AI code often fails when deployed. He starts every agent session with the prompt 'First run the tests,' which makes the agent locate and run the existing test suite. This also teaches the agent about the codebase and pushes it to write its own tests. No benchmarks or product details are given.

Willison's guidance addresses the main risk of AI-assisted development: code that was never executed may not work in production. His remedy costs little, instructing agents like Claude Code to run existing tests at the start of every session. Teams without test suites lose a key safeguard and a way for agents to learn their codebase. The article is opinion and practice, not a product announcement or pricing news.

Willison recommends starting every coding-agent session with 'First run the tests' or, for his Python projects, 'Run "uv run pytest"' via pyproject.toml dependency groups. The prompt forces the agent to discover the test harness, which reveals project size and complexity, biases it toward testing its own changes, and exposes it to tests as codebase documentation. It complements his red/green TDD pattern. No benchmarks, metrics, or limitations are provided.

Simon Willison’s Weblog →

Datasette 1.0a24

Datasette developers can now handle multipart file uploads and run tests with uv without manual setup, but the 1.0 release remains an alpha.

Datasette, an open-source tool for publishing and exploring data files, has released version 1.0a24, its 24th alpha release ahead of a final 1.0 version. This update lets software plugins accept uploaded files, uses the uv tool so contributors can run tests with one command, and adds a JSON option to render custom-styled cells. It matters mainly to the developers who build on Datasette.

Datasette 1.0a24 is an alpha build of a long-promised 1.0 release, aimed squarely at developers rather than buyers. Its practical gains: plugins can now accept file uploads, a new JavaScript-rendering parameter enables richer UIs, and onboarding for contributors got easier via uv. Anyone deciding when to adopt Datasette 1.0 in production should wait for a stable release; no timeline is given.

Datasette 1.0a24 adds multipart/form-data file upload support via await request.form(files=True) on the Request object, plus a ?_extra=render_cell parameter on table and row JSON endpoints exposing the render_cell() plugin hook output. The dev environment now uses uv with dev dependency groups, so a fresh clone runs uv run pytest without manual virtualenv setup. Simon Willison also eliminated intermittently failing CI tests.

Simon Willison’s Weblog →

ChatGPT Containers can now run bash, pip/npm install packages, and download files

ChatGPT's sandbox can now run Bash, ten-plus languages, pip/npm installs and file downloads, narrowing the gap with Claude's code interpreter for everyday coding tasks.

ChatGPT's code-execution container, originally launched as Code Interpreter in 2023, has quietly gained major new abilities. It can now run direct Bash commands, execute programs in eleven languages including Node.js, Ruby, Go and C++, install Python and JavaScript packages through a special proxy, and download files from the web into its sandbox. Simon Willison confirmed these features work even on free ChatGPT accounts. OpenAI has not documented any of this in its release notes.

OpenAI has substantially upgraded ChatGPT's code sandbox without publishing release notes, an ongoing documentation gap Willison criticises. The container now matches capabilities Anthropic built into Claude last September, notably Bash access and package installation via pip and npm through an internal OpenAI proxy. Free accounts get the features too, which raises stakes for anyone paying for rival coding assistants. Downloads appear protected against prompt-injection exfiltration, but the defences are untested by security researchers.

ChatGPT's container now executes Bash directly (previously Python-only via subprocess), runs Node.js v22.16.0 plus Ruby, Perl, PHP, Go, Java, Swift, Kotlin, C and C++, but not Rust. pip, uv and npm install from packages.applied-caas-gateway1.internal.api.openai.org via PIP_INDEX_URL/NPM_CONFIG_REGISTRY environment variables, since outbound network access is still blocked. A container.download tool fetches files but rejects URLs not previously viewed via web.run, the same exfiltration guard as Claude's Web Fetch. Downloads originate from Azure centralus IPs with a ChatGPT-User/1.0 user-agent.

Simon Willison’s Weblog →

How uv got so fast

Python developers can stop attributing uv's speed purely to Rust and instead understand the packaging design choices that pip could adopt or replicate.

Simon Willison highlights a teardown by Andrew Nesbitt explaining why uv, a tool for installing Python software packages, is far faster than pip, the standard installer. The speed is not just because uv is written in Rust; it also skips legacy packaging baggage and avoids running Python code during dependency resolution. Two clever tricks include fetching package information in tiny pieces instead of downloading entire files. Developers using Python benefit through faster installs.

An analysis by Andrew Nesbitt, echoed by Simon Willison, argues uv's dominance over pip in Python package installation speed comes from architectural choices, not merely a Rust rewrite. uv leverages modern packaging standards pip must bypass for backwards compatibility. The implication is that uv's lead is a design head start competitors like pip could partially close, though migration costs and ecosystem inertia favour incumbents.

Nesbitt's teardown shows uv first tries PEP 658 metadata, then falls back to HTTP range requests on the wheel's zip central directory, then full download, then source builds. Willison's AI-assisted port demonstrates fetching a 40MB Playwright wheel's metadata using 18,760 bytes, a 100.0% saving. uv also packs over 90% of version strings into single u64 integers for fast comparison. None of these tricks require Rust.

Simon Willison’s Weblog →

uv-init-demos

Python developers unsure whether to scaffold with uv init --app, --package or --lib can consult a living repo of side-by-side examples that regenerates itself on every uv release.

A programmer named Simon Willison created a public GitHub repository called uv-init-demos. It shows real examples of what each option of a Python setup command called 'uv init' produces, such as --app, --lib and --package. The examples rebuild themselves automatically whenever the tool changes. It is a reference guide for Python programmers, not a news event.

This is a small developer-reference project, not a product or business development. Willison published a GitHub repository demonstrating every 'uv init' project-type option, with a script that keeps the examples current via scheduled rebuilds. Python teams adopting uv get a free, self-updating reference; no costs, risks or competitive implications are stated.

Willison published a GitHub repo demonstrating the differences between uv init flags --app, --package and --lib, generated by an update-projects.sh script he wrote with Claude's help. The script runs on a schedule through GitHub Actions and regenerates the demos, so future uv releases that change scaffold output are captured automatically. This is his 'git scraping' pattern applied to tool documentation.

Simon Willison’s Weblog →

ty: An extremely fast Python type checker and LSP

Python teams can replace slow type checkers like mypy and Pyright with a tool that catches errors in milliseconds instead of hundreds of milliseconds, making in-editor checking practical on large codebases.

A company called Astral has released a free beta tool called ty that checks Python code for type mistakes, which are errors where data doesn't match what the code expects. It is dramatically faster than the existing tools developers use for this job, such as mypy and Pyright. Faster checking means errors show up almost instantly while coding rather than after a long wait.

Astral, the company behind uv and Ruff, has shipped the first beta of ty, a Python type checker claiming 10x to 60x speedups over mypy and Pyright without caching, and up to 500x over Pyrefly in one editor test. Adoption is essentially zero-cost: it is free, installable via uvx, and ships a VS Code extension. The risk is that it is a first beta, and even Willison found issues in his own sqlite-utils project.

Astral released the first beta of ty, a Python type checker and LSP server, runnable via 'uvx ty check' and through a new VS Code extension providing go-to-definition and diagnostics. Benchmarks claimed: no-cache checking 10x-60x faster than mypy and Pyright; recomputing diagnostics after editing a load-bearing PyTorch file took 4.7ms versus 386ms for Pyright and 2.38s for Pyrefly. The architecture enabling the speed is not described. Beta maturity limits production trust.

Simon Willison’s Weblog →

Poe the Poet

Python developers who use uv now have a low-friction way to define project commands directly in pyproject.toml instead of waiting for native uv task support, which remains an open feature request.

Poe the Poet is a free tool that lets Python programmers define shortcuts for common tasks inside a configuration file called pyproject.toml. Simon Willison describes using it with uv, a popular package manager, so he can type 'uv run poe livehtml' to launch a documentation preview server. It saves developers from memorising long commands. The article gives no pricing (it is open source) and no comparison benchmarks.

This is a developer-workflow tip, not a market event. A well-known Python developer adopted Poe the Poet to define task shortcuts in his s3-credentials project's pyproject.toml, using the poethepoet 0.38.0 package in a dev dependency group. Teams standardising on uv may consider it, but nothing changes commercially; no costs, vendors or timelines are affected.

Poe the Poet lets you declare tasks under [tool.poe.tasks] in pyproject.toml and invoke them via 'uv run poe <task>'. Willison defines docs, livehtml and cog tasks and places poethepoet>=0.38.0 in a dev dependency group, so any 'uv run' makes it available. Motivation: uv's native task support is still an open GitHub issue with 300+ comments dating to August 2024. No benchmarks or limitations are discussed.

Simon Willison’s Weblog →

LLM 0.28

Developers using the LLM CLI can now call OpenAI's gpt-5.1 and gpt-5.2 models and set up the dev environment with a single 'uv run pytest' command.

Simon Willison released version 0.28 of LLM, a free command-line tool and Python library for chatting with AI models. This update adds support for OpenAI's newest models, gpt-5.1 and gpt-5.2, and fixes small bugs like a leak of file handles. It also makes it easier for volunteer programmers to set up and run the project's tests. People who build software with AI models are the ones affected.

LLM, Simon Willison's open-source Python library and CLI for working with large language models, shipped version 0.28. The practical impact for teams is added support for OpenAI's gpt-5.1 and gpt-5.2 models through a single tool. Contributor onboarding also gets cheaper: the project now uses 'uv' with dependency groups, so cloning the repo and running 'uv run pytest' suffices. No cost, risk or competitive implications are stated.

LLM 0.28 adds model IDs gpt-5.1, gpt-5.1-chat-latest, gpt-5.2 and gpt-5.2-chat-latest for OpenAI. The '-f URL' fragment fetcher now sends a 'llm/VERSION (https://llm.datasette.io/)' user-agent header, and a bug registering fragments with their source in 'llm chat' is fixed (PR #1316). Type annotations were added to OpenAI Chat, AsyncChat and Completion execute() methods, and dev setup moved to uv dependency groups in pyproject.toml.

Simon Willison’s Weblog →

TIL: Dependency groups and uv run

Python developers can now clone a project and run its tests with a single 'uv run pytest' command, removing manual virtualenv and dependency setup steps.

Simon Willison published a short guide (a 'TIL' post) explaining a trick for Python projects using uv, a tool that manages Python packages. By declaring a 'dev' dependency group containing pytest in pyproject.toml, anyone who clones a project can run 'uv run pytest' and the test tool installs and runs automatically. He demonstrated it on his datasette-extract project, and also used Claude Code to build a redirects plugin for his TIL site.

Willison documents a project setup pattern using uv and PEP 735 dependency groups that cuts onboarding to three commands: clone, cd, and 'uv run pytest'. This reduces friction for contributors to his open-source projects like datasette-extract. He also shipped a small plugin, datasette-redirects, built with Claude Code, to handle URL redirects after reorganising his TIL site. The cost is minimal; the benefit is faster developer onboarding.

The pattern declares a dev dependency group under PEP 735 in pyproject.toml, [dependency-groups] dev = ["pytest"], so 'uv run pytest' auto-creates a virtual environment, installs the group, and executes tests. No manual 'uv sync' or activation is needed. Willison also reorganised his uv TILs into a subfolder, requiring a datasette-redirects plugin for old-path redirects and a build-script change to preserve file creation dates.

Simon Willison’s Weblog →

sqlite-utils 3.39

sqlite-utils users installing via uv get a fixed plugin installer, and Claude Code demonstrated it can cherry-pick and argue about backports, not just write code.

sqlite-utils, a tool for working with SQLite databases from the command line, has released version 3.39. It fixes a bug where installing extras failed when the tool was set up using uv, a newer installer that lacks the older pip helper. The release also lets users point to a Python file for custom functions and now requires Python 3.10 or newer.

The main content for teams is the uv bug fix: plugin installation broke because uv doesn't bundle pip, the same flaw Datasette hit earlier. Notably, Willison used Claude Code to backport changes from a 4.0 alpha, with the AI successfully arguing against two larger changes, though he still did manual cleanup in PR #689. A maintenance release, not a strategic shift.

sqlite-utils 3.39 fixes plugin installation under uv tool install, which failed because uv doesn't ship pip (#687). --functions now accepts a file path to a Python file, repeatable, instead of only inline code strings (#659). Python 3.10+ is required. Willison had Claude Code cherry-pick non-breaking changes from the 4.0 alpha branch onto a 3.x branch, then manually revised the result in PR #689.

Simon Willison’s Weblog →

sqlite-utils 4.0a1 has several (minor) backwards incompatible changes

Developers using sqlite-utils must fix code touching views, FLOAT columns, square-bracket quoting and CSV type detection before the 4.0 stable release lands.

sqlite-utils 4.0a1 is a test release of a popular open-source tool for working with SQLite databases, available as both a Python library and a command-line tool. The 4.0 label means it contains small changes that break code written for the previous 3.x versions, such as renaming how views are accessed. Most changes are minor, and users of the tool will need to update their scripts before the final 4.0 arrives.

Simon Willison released sqlite-utils 4.0a1, the first alpha on the way to a stable 4.0 of his widely-used SQLite toolkit. The breaking changes are deliberately small but will force downstream projects to update tests and code, especially the switch from square-bracket to double-quote quoting in generated schemas. The release also shows AI coding tools doing real maintenance work: Claude Code updated hundreds of tests, and much of the release was built with Anthropic's new Claude Opus 4.5.

sqlite-utils 4.0a1 (the 128th release) introduces breaking changes: db.table()/db.view() separation for type hints, FLOAT replaced by REAL as the default column type, double-quoted identifiers instead of non-standard square brackets, convert() no longer skipping falsy values, and type detection on by default for CSV/insert with a --no-detect-types escape hatch. New features include insert_all()/upsert_all() accepting list/tuple iterators (prototyped via Claude Code on phone with a benchmark in the linked research repo) and a --functions flag accepting Python files. Packaging moved to pyproject.toml with uv recipes in a Justfile.

Simon Willison’s Weblog →

llm-anthropic 0.22

Developers using Simon Willison's LLM CLI can now get guaranteed-format JSON from Claude Sonnet 4.5 and Opus 4.1 without tool-call hacks.

Simon Willison released version 0.22 of llm-anthropic, a plugin that lets his free command-line tool 'LLM' talk to Anthropic's Claude models. This update adds structured outputs, a way of forcing Claude Sonnet 4.5 and Opus 4.1 to answer in exact JSON, a machine-readable format, plus built-in web search. People who write scripts using Claude from the terminal benefit.

Willison's llm-anthropic 0.22 makes Anthropic's structured outputs feature directly usable from the command line, meaning teams building quick internal scripts or prototypes can rely on valid JSON from Claude Sonnet 4.5 and Opus 4.1. Web search can be enabled with a single option. The change matters little commercially; it is a convenience for developers already using his tooling.

llm-anthropic 0.22 exposes Anthropic's structured outputs API for Sonnet 4.5 and Opus 4.1, replacing the plugin's previous tool-call-based JSON coercion (issue #54) for those models, the workaround remains for older Anthropic models. Web search is enabled via '-o web_search 1' (issue #30), contributed by Nick Powell and Ian Langworth. uv-based isolated test recipes were added to a new Justfile.

Simon Willison’s Weblog →

Video + notes on upgrading a Datasette plugin for the latest 1.0 alpha, with help from uv and OpenAI Codex CLI

Plugin developers maintaining Datasette extensions get a repeatable recipe, uv-sandboxed tests plus a Codex CLI one-liner, for handling the 1.0a20 permission API break.

Simon Willison published a video plus notes showing how he upgraded one of his small add-ons, called datasette-checkbox, to work with a new test version of his data-exploration tool, Datasette. The new version broke an old permission-checking method, causing errors. He used free tools that run code in isolated spaces to reproduce the bug, then let OpenAI's coding agent, Codex, fix the code automatically. The finished update, version 0.1a4, is now available on the public Python package index, PyPI.

This is a practical walkthrough, not a product launch: Datasette 1.0a20 renamed the permission API, breaking older plugins. Willison shows a cheap workflow, run tests in disposable uv environments, then hand the failing test suite to OpenAI Codex CLI in non-interactive mode with a reference document and let it loop until tests pass. Teams maintaining many plugins could apply this to cut upgrade effort; the shipped result is datasette-checkbox 0.1a4 on PyPI.

Datasette 1.0a20 removed Datasette.permission_allowed(), so plugins using it 500-error. Willison's 'tadd' shell script runs pytest in an isolated uv environment installing the plugin as editable plus ~/dev/datasette; his tests were too weak to catch the failure until updated to assert a 200 on the table page. The fix was applied by 'codex exec --dangerously-bypass-approvals-and-sandbox' told to read the upgrade docs and make tadd pass. He verified the shipped 0.1a4 release with 'uvx --prerelease=allow'.

Simon Willison’s Weblog →

Train an LLM on an NVIDIA Blackwell Desktop with Unsloth, and Scale It

Developers can now fine-tune models up to 40B parameters on a single consumer Blackwell GPU using Unsloth, and scale the same code to cloud clusters unchanged, cutting local LLM customization costs.

Unsloth is a free, open-source tool that makes it easier and faster to customize large language models, the AI systems behind chatbots, for specific tasks. Paired with Nvidia's new Blackwell graphics cards, it trains models twice as fast while using 70% less memory, letting people fit models with up to 40 billion parameters on a single desktop. The article includes setup guides for running this locally on a GeForce RTX 5090 or DGX Spark, then moving the work to Nvidia's cloud for bigger jobs. This matters to hobbyists, students and small teams who previously couldn't afford to train their own AI models.

Nvidia is promoting Unsloth, an open-source fine-tuning framework, as a way to run serious model training on affordable desktop hardware: its benchmarks on a single RTX 5090 with 32 GB of VRAM show 2x faster training and 70% memory reduction versus the standard Hugging Face + Flash Attention 2 setup. Small teams gain a low-cost path to custom LLMs without renting cloud clusters, while Nvidia gains a funnel from consumer GPUs into DGX Cloud for production workloads. No pricing details for the cloud scaling are given in the article.

Unsloth uses custom Triton kernels to deliver 2x training throughput, >70% VRAM reduction and 12x longer context windows versus Hugging Face with Flash Attention 2, benchmarked on a GeForce RTX 5090 (32 GB, Alpaca dataset, batch size 2, QLoRA rank 32 on all linear layers). It supports Llama, gpt-oss and DeepSeek models with NVFP4 precision on Blackwell, enabling fine-tuning of up to 40B-parameter models on one GPU. Workflows install via pip, uv or a Docker image (requiring NVIDIA Container Toolkit) and port unchanged to DGX Cloud or HGX B200/GB200 NVL72 systems. Limitations: benchmark table for context lengths is empty in the article.

NVIDIA Developer Blog →

TIL: Testing different Python versions with uv with-editable and uv-test

Python developers get a one-line uv command to run pytest against any Python version, which matters right now for Python 3.14 upgrades.

Simon Willison shares a command-line recipe for testing a Python project against different versions of Python, such as 3.14 or 3.11. It uses uv, a tool for managing Python environments, to run pytest (a testing program) in an isolated copy of the project. This helps developers confirm their code works across Python versions, which he did while upgrading projects for Python 3.14.

Teams preparing for Python 3.14 releases get a practical shortcut: a single uv command runs a project's test suite against any Python version from one directory. Willison packaged it into a shell script, uv-test, accepting a version flag like -p 3.11 and pytest options. The cost is adoption of uv and a pyproject.toml defining a 'test' extra; setups relying only on setup.py are also supported.

Willison's recipe is 'uv run --python 3.14 --isolated --with-editable .[test] pytest'. The --with-editable flag installs the project itself in editable mode so local changes are picked up by subsequent runs; --isolated prevents other environments from influencing the run. It works in any directory with a pyproject.toml or setup.py that defines a 'test' extra using pytest. He wrapped it in a uv-test script supporting version flags and pytest options like -k permissions.

Simon Willison’s Weblog →

Claude can write complete Datasette plugins now

Claude Sonnet 4.5 shipped a complete, tested, published open-source plugin end-to-end, showing single-prompt agentic coding can now deliver finished small software projects.

Simon Willison used Anthropic's Claude Sonnet 4.5 AI, via the Claude Code tool, to write an entire software plugin called datasette-os-info. The plugin adds a web page that reports details about the computer's operating system, like the Linux version it runs on. Every line of code and test was written by the AI from a single instruction, and it even found and fixed its own bug. The finished plugin is free and published on the PyPI package site.

Willison reports the first Datasette plugin he has shipped where Claude Sonnet 4.5 wrote all code and tests with minimal prompting, using Claude Code in unrestricted 'YOLO' mode. The plugin is live on PyPI as datasette-os-info 0.1. This signals that agentic coding tools can now deliver complete, deployable small projects, not just snippets, a productivity gain for developer teams, though the AI itself flagged that the output endpoint exposes sensitive system information without authentication.

Willison scaffolded datasette-os-info from his cookiecutter template, then prompted Claude Code (claude --dangerously-skip-permissions) to implement a /-/os JSON route via Datasette's register_routes() hook. Claude wrote the implementation and tests unprompted, ran pytest, found and fixed its own invented Response(default_repr=) bug. Built with uv and python -m build, deployed via datasette publish, released on PyPI with GitHub Actions Trusted Publishing. The plugin reports platform, os-release, kernel, memory and environment data; Claude flagged hostname and PATH as sensitive.

Simon Willison’s Weblog →

Python 3.14

Python 3.14's stable release means Python developers can now use t-strings, deferred annotations and subinterpreters, while Python 3.9 support ends for library maintainers.

Python 3.14, the yearly major update to the world's most popular programming language, has hit its first stable release. Its headline changes include template strings, postponed evaluation of type notes, and 'subinterpreters', a way to run several isolated Python engines inside one program to use multiple CPU cores. A free-threaded build, which removes the traditional bottleneck limiting code to one core at a time, is now officially supported. Python 3.9 is retired from support as a result.

Python 3.14 is now stable, and adopting it removes a known constraint: the free-threaded build is officially supported, so teams can finally use all CPU cores without the GIL limiting parallelism. The trade-off is dependency compatibility, Simon Willison points to a wheel-compatibility checker for the free-threaded build. Notably, dropping Python 3.9 lets open-source libraries require 3.10 features like match/case. CI can test all five supported versions via the updated setup-python action.

Python 3.14's first stable release adds template string literals (t-strings), deferred evaluation of annotations (PEP 649-era behavior), and stdlib subinterpreters for GIL-side multi-core concurrency. Library additions include asyncio introspection improvements and a compression.zstd module for Zstandard; the REPL gains syntax highlighting. The free-threaded build is now officially supported, use python@3.14t via uv if your dependency wheels cooperate (hugovk's checker). Python 3.9 is EOL, so libraries may now depend on 3.10's match/case and int | float | None union syntax.

Simon Willison’s Weblog →