Skip to contents

Matches directories that are both installable (contain pyproject.toml, setup.py, or setup.cfg) and have a recognisable source layout (src or flat). Use this to distinguish a proper Python library from a plain project or application that merely has a pyproject.toml.

Usage

is_python_package

Format

An object of class root_criterion of length 5.