{"library":"rootpath","type":"library","category":null,"description":"The `rootpath` library for Python offers automatic detection of a project's or package's root directory. It identifies the root by searching for common files and folders like `.git` or `requirements.txt` in parent directories. This is particularly useful for resolving Python's module import challenges by optionally adding the detected root path to `sys.path`. The current version is 0.1.1, and the library appears to be in a maintenance mode with its last PyPI update in 2019.","language":"python","status":"maintenance","version":"0.1.1","tags":["path","utility","filesystem","project structure","imports"],"install":[{"cmd":"pip install rootpath","imports":["import rootpath\nroot_dir = rootpath.detect()","import rootpath\nrootpath.append_to_sys_path()"]}],"homepage":null,"github":"https://github.com/grimen/python-rootpath","docs":null,"changelog":null,"pypi":"https://pypi.org/project/rootpath/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":5.5,"avg_import_s":0.01,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/rootpath/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}