colrev.loader.bib.BIBLoader¶
- class BIBLoader(*, filename, unique_id_field='ID', entrytype_setter=<function BIBLoader.<lambda>>, field_mapper=<function BIBLoader.<lambda>>, id_labeler=<function BIBLoader.<lambda>>, logger=<Logger colrev.loader.bib (WARNING)>)[source]¶
Bases:
Loader
Loads BibTeX files
Methods
Get the number of records in the file
Get the record header items
Load table entries from the source
The load_records_list must be implemented by the inheriting class (e.g., for ris/bib/...)
- classmethod get_nr_records(filename)[source]¶
Get the number of records in the file
- Return type:
int
- load()¶
Load table entries from the source
- Return type:
dict