colrev.loader.nbib.NBIBLoader

class NBIBLoader(*, filename, entrytype_setter, field_mapper, id_labeler, unique_id_field='', logger=<Logger colrev.loader.nbib (WARNING)>)[source]

Bases: Loader

Loads nbib files

Methods

get_nr_records

Get the number of records in the file

load

Load table entries from the source

load_records_list

Loads nbib entries

Attributes

PATTERN

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

load_records_list()[source]

Loads nbib entries

Return type:

list