Skip to contents

pyprojroot provides tools for detecting the root directory of Python projects from R. It is built on top of rprojroot and exports a set of root_criterion objects for common Python project types, along with functions for locating project roots and building paths within them.

It is intended as a low-level primitive for packages that orchestrate Python development workflows from R.

Installation

# install.packages("pak")
pak::pak("patterninstitute/pyprojroot")