Skip to main content

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


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.5.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

tuber-0.5.0-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file tuber-0.5.0.tar.gz.

File metadata

  • Download URL: tuber-0.5.0.tar.gz
  • Upload date:
  • Size: 5.5 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.5

File hashes

Hashes for tuber-0.5.0.tar.gz
Algorithm Hash digest
SHA256 e41cc64109e2abfc033e0bd425c8f2b481d3a42609998c3b77e909c4b5d1ce00
MD5 6fc3866a2a6f248177557d9a4a1c5dae
BLAKE2b-256 915a4a0d8b82f2f633f3087b5841942c1969ef7505c775fb80e695d2f9c23af3

See more details on using hashes here.

File details

Details for the file tuber-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: tuber-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 3.0 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.5

File hashes

Hashes for tuber-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4b99df6cbdafe7dd9aa8cf398f001e84965aceaa588132f634e7e0fc1783f73b
MD5 ce2d43ad06d9e57f0d4cc17413e5f1cc
BLAKE2b-256 3b57dd7e998f2741cb5da377758cc3ad1eec0c8fca468a860fcc6dcabe2dbaa3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page