treepathmap

Warning

The packages development (and its documentation) is in the alpha state. It was segregated from another package as being a stand alone package. Therefore major changes will during its further implementation into the targeted projects.

Towards the beta (targeted release Q3/2021)

  • naming of modules, classes and methods will change, since the final wording is not done.

  • Code inspections are not finished.

  • The documentation is broad or incomplete.

  • Testing is not complete, as it is added during the first test phase. At this

Introduction

of nested collections. A limited possibility of setting/replacing items within the nested collection is also supported. This package was mainly developed for tagging and grouping items within nested collections with mostly reading items and replacing values at leaf level rather complete branches. For such tasks a different package is redeveloped, from which this package origins.

With treepathmap items of nested collection can be

  • selected by their paths using unix filename pattern or regular expressions,

  • build relations by tagging items with key-value pairs,

  • define a different view of the nested collection by using additional paths,

  • set value of items within nested collections using selections of these,

  • and direct interaction with the nested data.

A map of a tree.

Installation

Installing the latest release using pip is recommended.

$ pip install treepathmap

The latest development state can be obtained from gitlab using pip.

$ pip install git+https://gitlab.com/david.scheliga/treepathmap.git@dev