pathchain - chainable extension of pathlib.Path#

During a data science project and building modular functions with the xarray.Dataset.pipe() functions provided by xarray.Dataset a subclass of pathlib.Path was written, to make a path pipeline combining Path.joinpath() and Path.mkdir(). Instead of coping this class between project, it is made available as package on pypi.

A similar approach can be found in ubelt.Path class of the ubelt package, although this utility package provides a variety of different extensions to the standart-library, and they are subclassing str instead of pathlib.Path.

Contents:

You can find more information on

Indices and tables#