Formatter Validator Minifier Escape / Unescape JSON ↔ String JSON ↔ YAML JSON → CSV NDJSON / JSON Lines JSON → Types JSON ↔ XML JSON Diff JSON Patch Canonicalize (RFC 8785) Schema Validator Schema Generator JSONPath Tester JWT Decoder JSON Errors Schemas More Tools
JSONTools / Schema registry / PDM
Schema registry

PDM

A modern Python package and dependency manager supporting the latest PEP standard (pdm.toml config file)

pdm.toml

Check your file against this schema

Opens the validator with this schema already loaded. Paste your pdm.toml and it validates in your browser — nothing is uploaded.

Validate a pdm.toml → View raw schema

Fields

Generated directly from the schema, following local $refs, to two levels of nesting.

Field Type Description
build_isolationbooleanIsolate the build environment from the project environment Env var: PDM_BUILD_ISOLATION
default: true
use_uvbooleanUse uv for faster resolution and installation Env var: PDM_USE_UV
default: false
installobject
install.cachebooleanEnable caching of wheel installations
default: true
install.cache_methodstringSpecify how to create links to the caches
default: "symlink"
one of: "symlink", "symlink_individua…, "hardlink", "pth"
install.parallelbooleanWhether to perform installation and uninstallation in parallel Env var: PDM_PARALLEL_INSTALL
default: true
pythonobject
python.use_pyenvbooleanUse the pyenv interpreter
default: true
python.use_venvbooleanUse virtual environments when available Env var: PDM_USE_VENV
default: true
python.providersarrayList of python provider names for findpython
pypiobject
pypi.urlstringThe URL of PyPI mirror Env var: PDM_PYPI_URL
default: "https://pypi.org/simple"
pypi.usernamestringThe username to access PyPI Env var: PDM_PYPI_USERNAME
pypi.passwordstringThe password to access PyPI Env var: PDM_PYPI_PASSWORD
pypi.ignore_stored_indexbooleanIgnore the configured indexes Env var: PDM_IGNORE_STORED_INDEX
default: false
pypi.verify_sslbooleanVerify SSL certificate when query PyPI
default: "true"
pypi.json_apibooleanConsult PyPI's JSON API for package metadata Env var: PDM_PYPI_JSON_API
default: false
strategyobject
strategy.savestringSpecify how to save versions when a package is added
default: "minimum"
one of: "exact", "wildcard", "minimum", "compatible"
strategy.updatestringThe default strategy for updating packages
default: "reuse"
one of: "eager", "reuse", "all", "reuse-installed"
strategy.resolve_max_roundsintegerSpecify the max rounds of resolution process Env var: PDM_RESOLVE_MAX_ROUNDS
default: 10000
strategy.inherit_metadatabooleanInherit the groups and markers from parents for each package
default: true
venvobject
venv.backendstringDefault backend to create virtualenv Env var: PDM_VENV_BACKEND
default: "virtualenv"
venv.promptstringFormatted string to be displayed in the prompt when virtualenv is active Env var: PDM_VENV_PROMPT
default: "{project_name}-{python_version}"
venv.in_projectbooleanCreate virtualenv in .venv under project root Env var: PDM_VENV_IN_PROJECT
default: true
venv.with_pipbooleanInstall pip when creating a new venv Env var: PDM_VENV_WITH_PIP
default: false
repositoryobject

What we found in this schema

Specification sections for the keywords in this schema

Keyword Document Section
$commentJSON Schema Core, draft 2020-12§8.3 — Comments With "$comment"
$idJSON Schema Core, draft 2020-12§8.2.1 — The "$id" Keyword
$refJSON Schema Core, draft 2020-12§8.2.3.1 — Direct References with "$ref"
$schemaJSON Schema Core, draft 2020-12§8.1.1 — "$schema"
additionalPropertiesJSON Schema Core, draft 2020-12§10.3.2.3 — "additionalProperties"
defaultJSON Schema Validation, draft 2020-12§9.2 — "default"
descriptionJSON Schema Validation, draft 2020-12§9.1 — "title" and "description"
enumJSON Schema Validation, draft 2020-12§6.1.2 — "enum"
propertiesJSON Schema Core, draft 2020-12§10.3.2.1 — "properties"
requiredJSON Schema Validation, draft 2020-12§6.5.3 — "required"
typeJSON Schema Validation, draft 2020-12§6.1.1 — "type"

Documents

Attribution

This schema comes from SchemaStore, distributed under the Apache License 2.0. Copyright 2015–present Mads Kristensen and contributors. View the original file. The field table and audit on this page are generated by JSONTools.tools; the schema itself is unmodified.

← All schemas