py_serializable.formatters
Classes
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Helper class that provides a standard way to create an ABC using |
|
Module Contents
- class py_serializable.formatters.BaseNameFormatter
Bases:
abc.ABCHelper class that provides a standard way to create an ABC using inheritance.
- classmethod encode(property_name: str) str
- Abstractmethod:
- classmethod decode(property_name: str) str
- Abstractmethod:
- classmethod decode_as_class_name(name: str) str
- classmethod decode_handle_python_builtins_and_keywords(name: str) str
- classmethod encode_handle_python_builtins_and_keywords(name: str) str
- class py_serializable.formatters.CamelCasePropertyNameFormatter
Bases:
BaseNameFormatterHelper class that provides a standard way to create an ABC using inheritance.
- classmethod encode(property_name: str) str
- classmethod decode(property_name: str) str
- classmethod decode_as_class_name(name: str) str
- classmethod decode_handle_python_builtins_and_keywords(name: str) str
- classmethod encode_handle_python_builtins_and_keywords(name: str) str
- class py_serializable.formatters.KebabCasePropertyNameFormatter
Bases:
BaseNameFormatterHelper class that provides a standard way to create an ABC using inheritance.
- classmethod encode(property_name: str) str
- classmethod decode(property_name: str) str
- classmethod decode_as_class_name(name: str) str
- classmethod decode_handle_python_builtins_and_keywords(name: str) str
- classmethod encode_handle_python_builtins_and_keywords(name: str) str
- class py_serializable.formatters.SnakeCasePropertyNameFormatter
Bases:
BaseNameFormatterHelper class that provides a standard way to create an ABC using inheritance.
- classmethod encode(property_name: str) str
- classmethod decode(property_name: str) str
- classmethod decode_as_class_name(name: str) str
- classmethod decode_handle_python_builtins_and_keywords(name: str) str
- classmethod encode_handle_python_builtins_and_keywords(name: str) str
- class py_serializable.formatters.CurrentFormatter
- formatter: Type[BaseNameFormatter]