.. _bibble.util.name_parts: ====================== bibble.util.name_parts ====================== .. py:module:: bibble.util.name_parts .. autoapi-nested-parse:: Refactored from bibtexparser.middlewares.names Type Aliases ------------ .. autoapisummary:: bibble.util.name_parts.MbList Functions --------- .. autoapisummary:: bibble.util.name_parts.escape_last_slash Classes ------- .. autoapisummary:: bibble.util.name_parts.NameParts_d Module Contents =============== .. py:data:: MbList :type: TypeAlias :value: Maybe[list[str]] .. py:function:: escape_last_slash(string) -> Escape the last slash in a string if it is not escaped. .. _bibble.util.name_parts.NameParts_d: .. py:class:: NameParts_d(*, first = None, von = None, last = None, jr = None) A dataclass representing the parts of a person name. The different parts are defined according to BibTex's implementation of name parts (first, von, last, jr). .. py:method:: merge(*, format = None) -> .. py:attribute:: first :type: list[str] .. py:attribute:: jr :type: list[str] .. py:attribute:: last :type: list[str] .. py:attribute:: von :type: list[str]