cpl_core.pipes

cpl_core.pipes.bool_pipe

class cpl_core.pipes.bool_pipe.BoolPipe

Bases: PipeABC

transform(value: bool, *args)

cpl_core.pipes.first_char_to_lower_pipe

class cpl_core.pipes.first_char_to_lower_pipe.FirstCharToLowerPipe

Bases: PipeABC

transform(value: any, *args)

Converts first char to lower

value: str

String to convert

String with first char as lower

cpl_core.pipes.first_to_upper_pipe

class cpl_core.pipes.first_to_upper_pipe.FirstToUpperPipe

Bases: PipeABC

transform(value: str, *args)

Converts first char to upper

chars: str

String to convert

String with first char as upper

cpl_core.pipes.ip_address_pipe

class cpl_core.pipes.ip_address_pipe.IPAddressPipe

Bases: PipeABC

transform(value: list[int], *args)

cpl_core.pipes.pipe_abc

class cpl_core.pipes.pipe_abc.PipeABC

Bases: ABC

abstract transform(value: any, *args)

cpl_core.pipes.to_camel_case_pipe

class cpl_core.pipes.to_camel_case_pipe.ToCamelCasePipe

Bases: PipeABC

transform(value: str, *args) str

Converts string to camel case

chars: str

String to convert

String converted to CamelCase

cpl_core.pipes.to_snake_case_pipe

class cpl_core.pipes.to_snake_case_pipe.ToSnakeCasePipe

Bases: PipeABC

transform(value: str, *args) str

Converts string to snake case

chars: str

String to convert

String converted to snake_case

cpl_core.pipes.version_pipe

class cpl_core.pipes.version_pipe.VersionPipe

Bases: PipeABC

transform(value: dict, *args)