python3-pyprojroot

Find Python project root paths and return relative project files
  https://github.com/chendaniely/pyprojroot
  0
  no reviews



This library finds the root working directory for your Python project as a 'pathlib' object.

You can use the 'here' function to pass in a relative path from the Python project root directory (no matter what working directory you are in the project), and you will get a full path to the specified file.

This allows you to restructure the files in your Python project without having to worry about changing file paths.