Skip to content

MusicalNinjaDad/recurtools

Repository files navigation

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