owmeta.bibtex_customizations module¶
bibtexparser
customizations
Split author field by the string ‘and’ into a list of names.
Parameters: - record :
dict
the record
Returns: dict
the given
record
with any updates applied
- record :
-
owmeta.bibtex_customizations.
customizations
(record)[source]¶ Standard owmeta
bibtexparser
customizationsIncludes:
url
,note_url
,doi
,listify
, andauthor
Parameters: - record :
dict
the record
Returns: dict
the given
record
with any updates applied
- record :
-
owmeta.bibtex_customizations.
doi
(record)[source]¶ Adds a doi URI to the record if there’s a
doi
entry in the recordParameters: - record :
dict
the record to update
Returns: dict
the given
record
with any updates applied
- record :
-
owmeta.bibtex_customizations.
listify
(record)[source]¶ Turns every value in the record into a list except for
ENTRYTYPE
andID
-
owmeta.bibtex_customizations.
listify_one
(record, name)[source]¶ If the given field
name
does not have alist
value, then updates the record by turning that value into a list.Parameters: Returns: dict
the given
record
with any updates applied
-
owmeta.bibtex_customizations.
note_url
(record)[source]¶ Extracts URLs from
note
entries in the given recordParameters: - record :
dict
the record
Returns: dict
the given
record
with any updates applied
- record :
-
owmeta.bibtex_customizations.
url
(record)[source]¶ Merges any URL from
\url{...}
inhowpublished
, and any existinglink
orurl
values in the record and normalizes them into alist
in theurl
field of the recordParameters: - record :
dict
the record
Returns: dict
the given
record
with any updates applied
- record :