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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tuber-0.6.0.tar.gz.
File metadata
- Download URL: tuber-0.6.0.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7072fb9d3b5b6a8df333f3ba365eac9c9a56762ea71991ab477a8838fe8f85ec
|
|
| MD5 |
c2d39b4b7b9ba5b6d961d83a0158945b
|
|
| BLAKE2b-256 |
a4bdefd455f4de43b80e8cc587a347699e0b6780525f7fe4b85af85651c7240f
|
File details
Details for the file tuber-0.6.0-py3-none-any.whl.
File metadata
- Download URL: tuber-0.6.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f182f81e979ca1c08f006850786291fe879ee226e94569906dfaab2ecfef92c7
|
|
| MD5 |
bc0371a590b3f8324f968367dc2b3bb0
|
|
| BLAKE2b-256 |
83815c2bc8a2790f95b8790247965145da5493b7c308b77e17bbe361e41b69e6
|