bibclean.io.save_bib

bibclean.io.save_bib(bib_database, file, encoding='utf-8', overwrite=False)[source]

Save a BibTex file.

Parameters:
bib_databaseBibDatabase

BibTex database to save.

filestr | Path

Path to the .bib file to save.

encodingstr

Encoding used to read the file. The provided encoding is forwarded to open().

overwritebool

If True, an existing file will be overwritten.