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)>, format_names=False, resolve_crossref=False)[source]¶
Bases:
Loader
Loads BibTeX files
Methods
Get the number of records in the file
Get the record header items efficiently using load_records_list().
Load table entries from the source
Parses the file and returns either full records or just header fields.
- classmethod get_nr_records(filename)[source]¶
Get the number of records in the file
- Return type:
int
- get_record_header_items()[source]¶
Get the record header items efficiently using load_records_list().
- Return type:
dict
- load()¶
Load table entries from the source
- Return type:
dict