semvec/pypi-packages huggingface dataset:
walk-up 0.1.0
Find files in parent directories
License: MIT
Requires Python: >=3.6

# What is this?

A simple function for walking up a file directory until a certain file is found.

JavaScript version:

```js
const { walkUpUntil } = require("walk_up")

let filepath = walkUpUntil("package.json")
```

Python version:

```python
from walk_up import walk_up_until

filepath = walk_up_until("requirements.txt")
```

Ruby version:
```ruby
require "walk_up"

require_relative walk_up_until("globals.rb") # <- will keep looking in parent directories for a "globals.rb" file
```