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

15 results for “pyproject.toml”

Newest and most relevant first

One API to run and evaluate agents across six frameworks

Mozilla AI's any-agent, now in soft deprecation, lets teams compare agent frameworks under one API, but new users are pointed to its successor, mozilla-ai-tinyagent.

Mozilla AI built a free, open-source tool called any-agent that lets programmers write an AI agent once and run it on six different frameworks, including LangChain and LlamaIndex, instead of rewriting it for each. It also includes built-in tools for tracing and evaluating how well each version performs. The project has finished its job: it is no longer getting new features, and its core idea now lives in a smaller successor package called mozilla-ai-tinyagent.

Mozilla AI's any-agent solves a costly comparison problem: evaluating AI agent frameworks like LangChain, LlamaIndex, Google ADK and OpenAI's Agents SDK normally means rebuilding the same agent repeatedly. Now that works is done, the project is in soft deprecation, receiving only security and bug fixes, with no new features planned. Teams starting fresh should go straight to the distilled successor, mozilla-ai-tinyagent, which handles just the core agent loop.

any-agent exposes a single interface (AgentConfig, AnyAgent) mapping to six backends: Agno, Google ADK, LangChain, LlamaIndex, OpenAI Agents SDK and smolagents, plus TinyAgent itself. It requires Python 3.11+, treats tracing, serving and evaluation as first-class concerns, and installs via optional extras listed in pyproject.toml. The project is in soft deprecation: security and bug fixes only, with the minimal common surface extracted into mozilla-ai-tinyagent. No benchmark results are given.

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 →

Ruff: an extremely fast Python linter and formatter that replaces Flake8, Black, and isort

Python developers can now replace three separate tools (Flake8, Black, isort) with one Rust-based binary that runs 10-100x faster, cutting lint and format time on large codebases.

Ruff is a free, open-source program that checks Python code for mistakes and automatically tidies its formatting. It replaces three older tools developers previously had to install and configure separately: Flake8 (which finds errors), Black (which formats code), and isort (which orders imports). Written in Rust, it runs 10 to 100 times faster than those tools combined. Any Python developer can benefit, and switching on an existing project means consolidating configs into one file.

Ruff consolidates three widely adopted Python code-quality tools, Flake8, Black, and isort, into a single open-source binary, cutting tool licensing-free costs to zero and reducing pipeline complexity. Its Rust implementation delivers 10-100x speedups, which matters for large monorepos where linting was a bottleneck. Adoption risk is limited: the formatter is not an exact Black clone and some niche Flake8 plugins are unsupported.

Ruff is a Rust-based linter and formatter with over 700 built-in rules spanning pycodestyle, Pyflakes, and McCabe, and it supports existing Flake8 plugins like flake8-bugbear. It runs 10-100x faster than Flake8+Black+isort pipelines with built-in parallel processing. Its formatter is an independent Black-compatible implementation with subtle differences, such as preserving empty lines around decorators. Configuration consolidates into ruff.toml or pyproject.toml, with pre-commit support and a VS Code extension (charliermarsh.ruff); no benchmark methodology is provided.

GitHub Opensource Projects →

the Python package manager with PEP 621 support and a pnpm-like cache

PDM gives Python developers a standards-compliant alternative to Poetry and Pipenv whose optional pnpm-style central cache saves disk space and speeds up installs across projects.

PDM is a free, open-source tool that manages the libraries a Python project depends on, similar to the popular tools Pipenv and Poetry. It follows the official Python standard for describing a project, so your project files stay portable instead of being locked to one tool's format. Its standout trick is a shared central store of packages, borrowed from the JavaScript tool pnpm, that saves disk space and speeds up repeat installs. It affects developers who maintain multiple Python projects.

PDM is an open-source Python dependency manager that competes with Poetry and Pipenv without replacing them for everyone, and the article is candid about that niche. Its gains are concrete for teams juggling many projects: standards-based metadata, faster handling of large binary packages like numpy and pandas, and lower disk usage via a central cache. There are no costs, funding, or adoption figures given. Switching is optional and low-risk; incumbents remain fine.

PDM is a Python package and dependency manager supporting PEP 517 builds and PEP 621 pyproject.toml metadata, with its own build backend, removing setuptools or flit. It hard-links packages from an opt-in central cache (enabled via PDM_USE_CENTRAL_CACHE), reducing disk use and speeding repeat installs, pnpm-style. It resolves dependencies quickly for large binary distributions and can install interpreters from astral-sh's python-build-standalone. Installable via PyPI or pipx; no benchmark numbers are provided.

GitHub Opensource Projects →

datasette-export-database 0.3a2

A one-line dependency pin fix restores compatibility with all Datasette versions, mattering only to users of this specific plugin.

Datasette-export-database, a small add-on for the Datasette data tool, fixes a mistake in version 0.3a2. Its configuration file had accidentally demanded one exact pre-release version of Datasette, 1.0a27, blocking the plugin from working with anything else. It now accepts version 1.0a27 or newer. Only developers using this plugin are affected.

This is a minor bug-fix release with no strategic or financial impact. The plugin datasette-export-database 0.3a2 corrects a dependency pin that had restricted it to Datasette 1.0a27 alone; the requirement is now '1.0a27 or later'. No costs, timelines or competitive implications are discussed, and only teams already deploying this plugin need to act.

Release 0.3a2 of datasette-export-database fixes a pyproject.toml dependency constraint: it previously pinned datasette==1.0a27, making the plugin incompatible with all other Datasette versions, and now specifies datasette>=1.0a27. The author calls it 'an embarrassingly tiny release'. No other changes, benchmarks or new functionality are mentioned in the article.

Simon Willison’s Weblog →

Python Vulnerability Lookup

Python developers can now check their dependency files for known vulnerabilities in seconds, making security audits a routine part of dependency management.

Simon Willison built a small web tool that checks Python projects for known security problems. You paste in a dependency file (the list of libraries a project needs, called pyproject.toml or requirements.txt) or point it at a GitHub repository, and it reports any recorded vulnerabilities. It works by querying OSV.dev, a free public database of software vulnerabilities. Anyone maintaining Python code can use it today.

Willison had Claude Code build a free HTML tool that scans Python dependency files against the OSV.dev vulnerability database, which offers an open CORS JSON API. It reports severity levels, affected version ranges and links to disclosure reports. It is a developer convenience rather than a product play - no cost, no vendor - but it lowers the friction of routine dependency security checks.

The tool is a static HTML page built by Claude Code that queries the OSV.dev open CORS JSON API directly from the browser, so no backend is required. It accepts pasted pyproject.toml or requirements.txt content, or a GitHub repo name from which it loads dependencies. Output includes vulnerability severity, affected version ranges and disclosure report links. No rate limits, authentication details or offline mode are discussed.

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 →

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 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 →

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 →

Streamline CUDA-Accelerated Python Install and Packaging Workflows with Wheel Variants

If you install GPU-accelerated Python packages, plain 'uv pip install torch' can now auto-select the correct CUDA build, eliminating the manual artifact-hunting and custom index URLs that cause most installation failures today.

NVIDIA, with Meta, Astral and Quansight, has created a new way to package Python software called Wheel Variants, shipping experimentally in PyTorch 2.8.0. Normally, installing software that uses an NVIDIA GPU requires visiting special websites and copying custom commands to pick the right version. With this format, the installer detects your hardware, such as your GPU model and driver version, and picks the best-matching package automatically. Older installers ignore the new format, so nothing breaks.

For organizations deploying AI workloads, Wheel Variants in PyTorch 2.8.0 could cut wasted engineering time on CUDA compatibility issues and shrink Docker images that bundle GPU libraries for every architecture. Maintainers gain too: one package replaces separate builds like torch-cpu and torch-cu128. The main caveat is timing, support is experimental in PyTorch 2.8.0 and the standard remains a draft proposal, so production adoption should wait for it to be finalized.

Wheel Variants extend the wheel format with 'variant properties' (e.g. nvidia::cuda_version_lower_bound::12.0, nvidia::sm_arch::100_real) encoded in pyproject.toml, a variant.json inside the wheel, and a *-variants.json index file. Provider plugins detect the CUDA User-Mode Driver version (priority one) and GPU compute capability (priority two), then select the best wheel or fall back to a null (CPU-only) variant. Variant wheels use filenames that never match the old wheel regex, so non-variant-aware pip ignores them. Tooling includes variantlib for converting existing wheels, plus overrides like --no-variant and package#label.

NVIDIA Developer Blog →

How to Build Custom AI Agents with NVIDIA NeMo Agent Toolkit Open Source Library

Developers can now mix agents built on different frameworks into one deployable environment, with the renamed NVIDIA AIQ toolkit downloadable from GitHub today.

NVIDIA has released an open-source toolkit, renamed from Agent Intelligence (AIQ) to the NeMo Agent toolkit, for building AI agents, software that answers questions by reasoning and calling tools. A scaffold command generates project files, and the agent runs as a web service. A demo builds an agent that answers HR questions by querying several policy databases. No pricing or benchmark figures are given.

NVIDIA's NeMo Agent toolkit (recently renamed from Agent Intelligence toolkit; same technology and roadmap) is free, open-source, and downloadable on GitHub today. It lets teams unify agents from different frameworks, expose them as FastAPI microservices or MCP servers, and connect multiple retrieval tools, the demo uses payroll, dress code and PTO policy retrieval. Enterprises already running agents gain reuse across data sources; there is no cost figure, benchmark, or competitive comparison stated.

The workflow create command scaffolds a project with pyproject.toml and config.yaml. RAG tools (e.g. payroll, dress code, PTO) are defined in the function section of config.yaml, all backed by one plugin with different parameters, and can be local or remote. A ReAct agent receives a tool list, an LLM client, and a prompt; an agent executor manages chat history and recent messages. Hosting is demonstrated as a FastAPI microservice invoked via POST, verified with toolkit info components. No benchmark numbers are reported.

NVIDIA Developer Blog →

Extending the NVIDIA NeMo Agent Toolkit to Support New Agentic Frameworks

Developers using NVIDIA's agent toolkit can now build workflows on the Agno framework, meaning one orchestration layer can compose agents across more frameworks without rewriting tools.

NVIDIA has an open-source toolkit, the NeMo Agent toolkit, that lets different AI agents, software programs that perform tasks, work together even when they were built with competing frameworks. This tutorial shows how to add a new framework called Agno by creating an installable package and reusing a web search tool across workflows. The demo is a personal finance agent that researches and writes retirement plans using the Llama 3.3 70B model. It matters to developers building multi-agent systems who want to avoid being locked into one framework.

This is a developer tutorial, not a product launch: it documents extending NVIDIA's open-source NeMo Agent toolkit to support Agno, a framework formerly called Phidata with over 26,000 GitHub stars. Teams orchestrating AI agents across LangChain, LlamaIndex, Semantic Kernel, or CrewAI can adopt the pattern to avoid framework lock-in, since tools like the SerpAPI search become reusable package-level functions. The cost is following NVIDIA's conventions, YAML configs, entry points, decorators. NVIDIA is also running a hackathon with an RTX 5090 as prize.

The integration creates a new package, agentiq_agno, whose pyproject.toml exposes an aiq.components entry point pointing to aiq.plugins.agno.register, where @register_llm_client and @register_tool decorators register a NIM model client and an Agno-compatible tool wrapper. A personal finance workflow uses Llama 3.3 70B Instruct via NVIDIA NIM plus a SerpAPI search tool refactored into a reusable package-level function retrieved through builder.get_tool with LLMFrameworkEnum.AGNO. No GPU is required for NVIDIA-hosted NIM; self-hosting a NIM requires the specific GPUs for that model.

NVIDIA Developer Blog →