Finds project/repository root
Project description
Tuber
This project finds an easy way to find the root of a python project's repo. It
relies on several common markers, like .git
or pyproject.toml
to determine
this.
>>> from tuber import get_root
>>> get_root("/")
Traceback (most recent call last):
...
tuber.RootException: No root found before actual root
>>> get_root(".")
PosixPath("/path/to/repo")
License
Tuber is copyright Tim Hatch, and licensed under
the MIT license. I am providing code in this repository to you under an open
source license. This is my personal repository; the license you receive to
my code is from me and not from my employer. See the LICENSE
file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tuber-0.6.0.tar.gz
(6.9 kB
view hashes)
Built Distribution
tuber-0.6.0-py3-none-any.whl
(3.5 kB
view hashes)