pyproject.toml Generator
Generate PEP 621 pyproject.toml online for free with uv, Poetry, setuptools or Hatch backends - project metadata, dependencies and build-system block, entirely client-side.
Loading tool...
What is pyproject.toml Generator?
The pyproject.toml Generator builds a PEP 621 pyproject.toml for uv, Poetry, setuptools or Hatch directly in your browser. Fill in project metadata, dependency and dev-dependency lines, pick a backend, and get a correctly formatted TOML file with build-system block, project table and dependency groups ready to commit.
Key Benefits
- Valid packaging metadata without reading PEP 621
- Backend-specific output for uv, Poetry, setuptools or Hatch
- Dependencies formatted and quoted correctly
- Dev-dependency groups handled per backend conventions
- Private and instant - everything runs in the browser
Common Use Cases
- •Starting new Python libraries and applications
- •Migrating setup.py and requirements.txt to pyproject.toml
- •Standardizing project metadata across a team
- •Comparing backend conventions before choosing one
How to Generate a pyproject.toml
- Describe the project: Enter the project name, version, description, author and license.
- Pick a backend: Choose uv, Poetry, setuptools or Hatch as the build backend.
- List dependencies: Add runtime and dev dependencies, one requirement per line.
- Commit the file: Copy or download pyproject.toml and place it at your repository root.
Key Features
- PEP 621 project table with build-system block
- uv, Poetry, setuptools and Hatch backend formats
- Runtime and dev dependency sections handled
- Correct TOML quoting and list formatting
- Live output with copy and download
- No upload, no account - fully client-side