bibclean.clean_bib_database¶
- bibclean.clean_bib_database(bib_database, exclude=[], keep_fields=None)[source]¶
Check and clean a BibTex database.
- Parameters:
- bib_database
BibDatabase
BibTex database.
- exclude
list
ofstr
List of entries to ignore. An entry is specified by its cite key.
- keep_fields
dict
Fields to keep for each entry type. If None, a default configuration is loaded. The dictionary is defined with the entry-type as key (
str
) and the required fields as value (set
ofstr
).
- bib_database
- Returns:
- bib_database
BibDatabase
BibTex database.
- bib_database