- Program for generating family trees based on individual character files.
- Currently algorithm loops through each character file and crawls up by 1 level to define parents.
- Support for crawl-down coming soon.
- Create a python venv, activate it, and download the requirements.
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
- Change necessary parameters in
main.py
, then run main.py
- Once the
venv
is made, you may use bash start.sh
instead.
- Folder of XML files containing full profiles of characters (see samples)
- Family tree as PDF or SVG
- PNG export may require install of
cairo
.
- Allow groups to be part of family tree (see examples)
House of Beor (The Lord of the Rings)
![House of Beor family tree](https://raw.githubusercontent.com/boblyx/pyFamilyTree/master/./assets/house_of_beor.svg)
Empyreans of the Lands Between (Elden Ring)
![Elden Ring family tree](https://raw.githubusercontent.com/boblyx/pyFamilyTree/master/./assets/elden_ring.svg)