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)
Built Distribution
Close
Hashes for recurtools-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 58f5d6e026803ffaf2dbd517af616ebb5d922a1b5c0c38d9fe8be6fa36ee4477 |
|
MD5 | 43c3dd21c1c7d31234231fe7943c27c5 |
|
BLAKE2b-256 | 37225dcbfef9afbd253f711b68df045b91ba8efc2c8743a58f11128a7bac2896 |