Skip to content

Jooosl/Rootsrevealed

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

65 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rootsrevealed

Das Coding-Projekt des Informatikkurses

Gedcom to .csv conversion: Kai

Klasse entwickeln: Birk, Martin, Justus W

Stammbaum visualisieren: Ivan, Timo, Jesper

UI Design: Justus B, Jan, Finn, Carsten

Installation

MacOS

python3 -m pip install -r requirements.txt

Windows

py -m pip install -r requirements.txt

Docs

python-gedcom-2 docs

Gedcom Manual

Unser Klassendiagramm umgesetzt

Klassendiagramm python-gedcom-2
Fam FamilyElement
Mother .has_wife()
.get_wife_pointer() -> str
Father .has_husband()
.get_husband_pointer() -> str
Children .has_children()
.get_children_pointers() -> List[str]
Marriage, Divorce .get_events() -> List[EventDetail]
.get_child_element_by_tag(tag)
Klassendiagramm python-gedcom-2
Indiv IndividualElement
Birth, Death .get_events() -> List[EventDetail]
.get_child_element_by_tag(tag)
.get_death_element() -> DeathElement
Name .get_name() -> str
Vorname .get_name_as_tuple()[0] -> str
Nachname .get_name_as_tuple()[1] -> str
Child in .get_parent_family_pointer() -> str für eine Liste an Pointern zu den Familien
Parser.get_families(individual, python_gedcom_2.tags.GEDCOM_TAG_FAMILY_CHILD) -> List[FamilyElement] für eine Liste aus tatsächlichen FamilyElements
Parent in .get_spouse_families_pointer() -> List[str]
Parser.get_families(individual, python_gedcom_2.tags.GEDCOM_TAG_FAMILY_CHILD) -> List[FamilyElement]
getChildren Parser.get_natural_children(individual) -> List[IndividualElement]
getParents Parser.get_parents(individual) -> (IndividualElement, IndividualElement)

TODO:

  • move everything to src
  • Parser.find_path_to_ancestor() testing maybe rewrite
  • Parser.get_family_members() maybe rewrite to enum cause wtf is this
  • Docs for DateElement
  • Docs for Parser
  • Types for Parser

About

Projekt des Informatikkurs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%