bibpy.entry.base module

Base class for all types of entries.

class bibpy.entry.base.BaseEntry[source]

Bases: object

Base class for all types of entries.

aliases(format)[source]
bibkey
bibtype
fields
format(**options)[source]
format_auxiliary_entry(entry_type, contents, indent=' ', singleline=True, braces=True)[source]

Common formatting for @comment, @string and @preamble entries.

If singleline is True, put the entry on a single line. The contents of the entry is indented by the indent argument if singleline is True.

If braces is True, surround the entry by braces, else parentheses.

keys()[source]
valid(format)[source]
values()[source]