decorators module

This module contains decorators that handle some common tasks for pipe-utils

pipetools.decorators.auto_string_formatter(func)

Decorator that handles automatic string formatting.

By converting a string argument to a function that does formatting on said string.

pipetools.decorators.data_structure_builder(func)

Decorator to handle automatic data structure creation for pipe-utils.

pipetools.decorators.pipe_util(func)

Decorator that handles X objects and partial application for pipe-utils.

pipetools.decorators.regex_condition(func)

If a condition is given as string instead of a function, it is turned into a regex-matching function.