semvec/pypi-packages huggingface dataset:
recurtools 1.0.0
Tools for handling recursive sequences (of sequences of sequences of ...)
License: MIT
Requires Python: >=3.7

# recurtools

A simple library to support working with recursively nested objects.

Primarily built around the **`nested`** class which offers `in`, `len`, `index()` and `count()` functionality.  
Additionally, the **`flatten()`** function provides the ability to configure behaviour for strings etc.

## Installation

```
pip install recurtools
```

## Usage

```
from recurtools import nested
```

```
from recurtools import flatten
```

## Documentation
For full details see [the docs on github.io](https://musicalninjadad.github.io/recurtools/)