@@ -0,0 +1,791 @@
+%22%22%22Example of name splitting specific fields and filtering entries.%22%22%22%0A%0Afrom __future__ import print_function%0A%0Aimport bibpy%0Aimport os%0A%0A%0Adef get_path_for(path):%0A    return os.path.join(os.path.dirname(os.path.abspath(__file__)), path)%0A%0A%0Aif __name__ == '__main__':%0A    # Load just the entries of the file and split names only for 'author'%0A    # fields%0A    entries = bibpy.read_file(get_path_for('../tests/data/graphs.bib'),%0A                              postprocess=True, split_names=True).entries%0A%0A    # Print the key of each entry that has an author whose last name is%0A    # 'Fujisawa' (2: KashiwabaraF79 and OhtsukiMKF81)%0A    for entry in entries:%0A        if entry.author:%0A            if any(name.last == 'Fujisawa' for name in entry.author if name):%0A                print(entry.entry_key)%0A

Add new example file