Config Files · 1 file
Sample pyproject.toml File
pyproject.toml is the standard Python project manifest (PEP 518 and 621). Our sample is realistic and valid for its tool, with fake hosts and secrets.
pyproject.toml · 546 B
pyproject.toml
A PEP 621 pyproject.toml with project metadata, dependencies, optional extras, a script entry point and tool settings. All hosts, keys and secrets are fake.
CC0 · free for any use · Verified by an independent tool · Report a problem
# Sample pyproject.toml — samplefiles.com
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "sample-app"
version = "1.4.2"
description = "Sample project from samplefiles.com"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "CC0-1.0" }
dependencies = ["httpx>=0.27", "pydantic>=2.8"]
[project.optional-dependencies]
dev = ["pytest>=8", "ruff>=0.6"]
[project.scripts]
sample-app = "sample_app.cli:main"
[tool.ruff]
line-length = 100
[tool.pytest.ini_options]
testpaths = ["tests"]File details
Download from the command line
curl -L -o pyproject.toml https://files.samplefiles.com/config/pyproject/pyproject.tomlwget https://files.samplefiles.com/config/pyproject/pyproject.tomlhttps://files.samplefiles.com/config/pyproject/pyproject.tomlprintf '%s %s\n' 66edd4e3d8f884c87927e05e1e6e6699e4785fb86bd526c94f2daa072bf5d0bc pyproject.toml | shasum -a 256 -cOr check the download in your browser with the checksum calculator.