From e7bf8a417b54e0912e9fc577602153b06e334503 Mon Sep 17 00:00:00 2001 From: David Rotermund <54365609+davrot@users.noreply.github.com> Date: Mon, 15 May 2023 19:20:02 +0200 Subject: [PATCH] Add files via upload --- example_bib_get_types_and_authors.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 example_bib_get_types_and_authors.py diff --git a/example_bib_get_types_and_authors.py b/example_bib_get_types_and_authors.py new file mode 100644 index 0000000..f528a91 --- /dev/null +++ b/example_bib_get_types_and_authors.py @@ -0,0 +1,17 @@ +from bib.customizations import customizations_tajd +from bib.unique_type_list import unique_type_list +from bib.unique_author_list import unique_author_list +from bib.load_bib_file import load_bib_file + +filename_bib: str = "neuro.bib" + + +bib_database = load_bib_file(filename_bib, customizations_tajd) +unique_types = unique_type_list(bib_database) +print("These types have been found:") +print(unique_types) +print() + +unique_authors = unique_author_list(bib_database) +print("These authors have been found:") +print(unique_authors)