← All Templates

Python Package

PythonIntermediatePackages

Publishable Python package with pyproject.toml, tests, and CI. Ready for PyPI distribution.

Features

Code Preview

[build-system]
requires = ["setuptools>=68.0"]
build-backend = "setuptools.backends._legacy:_Backend"

[project]
name = "my-package"
version = "0.1.0"
requires-python = ">=3.9"

[project.scripts]
my-tool = "my_package.cli:main"
Open in RoadCode

Related Templates

CLI Tool
JavaScript · Intermediate
npm Package
TypeScript · Intermediate