Skip to content

Commit 8d22b80

Browse files
committed
Update description; add rootpath alternative
1 parent de6be12 commit 8d22b80

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
[![tests](https://github.com/jayqi/reprexlite/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/jayqi/reprexlite/actions/workflows/tests.yml?query=workflow%3Atests+branch%3Amain)
44

5-
Code examples to find the root directory of your project in different ways. All examples return a [`pathlib.Path`](https://docs.python.org/3/library/pathlib.html) object. This can be useful in projects where you are reading or writing data to directories inside your project directory.
5+
Simple and short code examples to find the root directory of your project in different ways. This can be useful in projects where you are reading or writing data to directories inside your project directory. All examples return a [`pathlib.Path`](https://docs.python.org/3/library/pathlib.html) object.
66

77
All code in this repository is licensed under the [MIT No Attribution (MIT-0) License](./LICENSE) and can be used without attribution.
88

9-
If for some reason you prefer a take on a dependency for this functionality instead, see [pyprojroot](https://github.com/chendaniely/pyprojroot).
9+
If for some reason you prefer a take on a dependency instead of copy-pasting a small amount of code, see these packages: [pyprojroot](https://github.com/chendaniely/pyprojroot), [rootpath](https://github.com/grimen/python-rootpath)
1010

1111
## Cookbook
1212

src/_README.md.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
[![tests](https://github.com/jayqi/reprexlite/actions/workflows/tests.yml/badge.svg?branch=main)](https://github.com/jayqi/reprexlite/actions/workflows/tests.yml?query=workflow%3Atests+branch%3Amain)
44

5-
Code examples to find the root directory of your project in different ways. All examples return a [`pathlib.Path`](https://docs.python.org/3/library/pathlib.html) object. This can be useful in projects where you are reading or writing data to directories inside your project directory.
5+
Simple and short code examples to find the root directory of your project in different ways. This can be useful in projects where you are reading or writing data to directories inside your project directory. All examples return a [`pathlib.Path`](https://docs.python.org/3/library/pathlib.html) object.
66

77
All code in this repository is licensed under the [MIT No Attribution (MIT-0) License](./LICENSE) and can be used without attribution.
88

9-
If for some reason you prefer a take on a dependency for this functionality instead, see [pyprojroot](https://github.com/chendaniely/pyprojroot).
9+
If for some reason you prefer a take on a dependency instead of copy-pasting a small amount of code, see these packages: [pyprojroot](https://github.com/chendaniely/pyprojroot), [rootpath](https://github.com/grimen/python-rootpath)
1010

1111
## Cookbook
1212

0 commit comments

Comments
 (0)