Algorithms for traversing/flattening/constructing nested list structures
Project description
#flatnest
Provides generators to traverse nested list structures either depth-first or breadth-first.
Can extract structural information from a nested list structure into a string structure pattern which can then be used in conjunction with the flattened list to reconstruct the original nested list structure.
Provides conversion between a flat index and its corresponding sequence of nested indices (and vice versa).
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
flatnest-1.0.0.tar.gz
(4.0 kB
view hashes)