Skip to main content

Tools for handling recursive sequences (of sequences of sequences of ...)

Project description

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

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

recurtools-1.0.0.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

recurtools-1.0.0-py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 3

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