Explain pyproject.toml code

Paste a pyproject.toml and Vibe explains what each table does: how the package is built, what it depends on, which commands it installs and where tools like pytest read their settings.

pyproject.toml

Up to 1,500 characters (about 60 lines). Your code is sent to Unvibe and Anthropic to write the explanation. Don't paste keys or passwords. Common key formats are refused.

Vibe23 lines selected

Press Explain it for the sample, or paste your own code first.

What this pyproject.toml sample shows

[build-system]
[build-system] tells pip what to install before it can build the package, here setuptools, and which backend does the build. pip install . read it, built the package and installed it: pip show invoicer then printed Version: 0.3.1 and the description as its Summary.
dependencies and extras
dependencies installs with the package: pip show invoicer listed Requires: python-dotenv, and python-dotenv was installed with it. [project.optional-dependencies] only installs when asked for: pytest came in with pip install ".[dev]" and not with plain pip install ..
[project.scripts]
Each line under [project.scripts] becomes a command. invoicer = "invoicer.cli:main" means: make a command called invoicer that runs the main function in invoicer/cli.py. After the install, typing invoicer printed invoicer 0.3.1: ready.
[tool.*] tables
Tables under [tool] belong to other tools, which read their own. pytest reads [tool.pytest.ini_options]: run in the project folder, pytest -q found the test in tests and printed 1 passed.

Good to know

  • Run with Python 3.14 and pip 26.2 in a fresh virtual environment.
  • requires-python is checked at install time. Changed to >=3.99, pip stopped with ERROR: Package 'invoicer' requires a different Python: 3.14.7 not in '>=3.99'.
  • Names under [project] are checked. With dependencies misspelled as dependancies, the build failed with configuration error, saying project must not contain {'dependancies'}.

Watch out: A plain pip install . copies your code, so edits don't show until you install again. After changing cli.py, invoicer still printed invoicer 0.3.1: ready. Installed with pip install -e . instead, the same edit showed straight away: invoicer 0.3.1: edited.

Explain pyproject.toml code beside your editor

Unvibe is a free app for Mac and Windows. In the app there is no pasting: select code in any app and press Control+U (Ctrl+Alt+U on Windows).

Install on Mac

curl -fsSL https://unvibe.site/install.sh | bash

Paste into Terminal. Unvibe isn't notarized by Apple yet, so this is the smooth path.

Opening the .dmg the first time
  1. Open the .dmg and drag Unvibe to Applications.
  2. Open it once; macOS says it can't verify it. Click Done.
    macOS dialog: Unvibe Not Opened, with Done and Move to Trash
    Real screen, macOS 15
  3. System Settings › Privacy & Security › Open Anyway. Confirm, then enter your Mac password. The button shows for about an hour after you try to open Unvibe.
    macOS Privacy & Security, Security section: Unvibe was blocked to protect your Mac, with the Open Anyway button
    Real screen, macOS 15

The Terminal line checks the download against the published SHA-256 and Unvibe's self-signed signature before it installs anything. More help with the first open