{"id":48505465,"url":"https://github.com/lmallez/wikidata-tree-generator","last_synced_at":"2026-04-07T16:03:56.185Z","repository":{"id":46212198,"uuid":"246560784","full_name":"lmallez/wikidata-tree-generator","owner":"lmallez","description":"Exports in a customizable way the family trees of historical characters based on Wikidat","archived":false,"fork":false,"pushed_at":"2021-11-06T12:01:40.000Z","size":660,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-28T20:09:49.759Z","etag":null,"topics":["gedcom","genealogy","wikidata","wikipedia"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lmallez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-03-11T12:08:48.000Z","updated_at":"2023-06-13T15:56:19.000Z","dependencies_parsed_at":"2022-07-25T00:02:03.877Z","dependency_job_id":null,"html_url":"https://github.com/lmallez/wikidata-tree-generator","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/lmallez/wikidata-tree-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmallez%2Fwikidata-tree-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmallez%2Fwikidata-tree-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmallez%2Fwikidata-tree-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmallez%2Fwikidata-tree-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lmallez","download_url":"https://codeload.github.com/lmallez/wikidata-tree-generator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lmallez%2Fwikidata-tree-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31518672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gedcom","genealogy","wikidata","wikipedia"],"created_at":"2026-04-07T16:03:52.001Z","updated_at":"2026-04-07T16:03:56.142Z","avatar_url":"https://github.com/lmallez.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Wikidata Tree Generator\n\n### Requirements\n\nThis project has been realized with python 3.8.\n\nInstall dependencies : `python3 -m pip install -r requirements.txt`\n\n### Usage\n    \n```python3 main.py {{configuration file}} {{wikidata entity id}} {{output file}}```\n\n* For configuration file see : https://github.com/lmallez/wikidata-tree-generator/blob/master/configuration.dist.yaml\n* To find the wikidata id of a character you have to go to https://www.wikidata.org, search for the character in question and select its ID (the ID starts with a Q and can be found in the url and to the right of the character's name).\n\n\n### Explanations\n\nIn order to generate a family tree the program uses the [mother](https://www.wikidata.org/wiki/Property:P25), [father](https://www.wikidata.org/wiki/Property:P22) and [child](https://www.wikidata.org/wiki/Property:P40) properties of wikidata.\n\nThe tree can be generated in different ways:\n- Ancestors : load the ancestors of the character.\n- Descendants: charges the character's descendants\n- Classic : loads the ancestors and descendants of the character\n- Full: Loads parents and children with all the characters in the tree (can take a long time)\n\n### Examples\n\n*All the graphs shown here are generated in the gramps software which allows to import the gedcom made by the program.*\n\n##### Clovis (descendants \u0026 load_men_children)\n\n```python3 main.py samples/Q82339.configuration.yaml Q82339 samples/Q82339.ged```\n\n[Configuration](samples/Q823339.configuration.yaml)\n[Output](samples/Q823339.ged)\n\n![img](samples/Q82339.png)\n\n##### John F. Kennedy (classic)\n\n```python3 main.py samples/Q9696.1.configuration.yaml Q9696 samples/Q9696.1.ged```\n\n[Configuration](samples/Q9696.1.configuration.yaml)\n[Output](samples/Q9696.1.ged)\n\n![img](samples/Q9696.1.png)\n\n##### John F. Kennedy (full)\n\n```python3 main.py samples/Q9696.2.configuration.yaml Q9696 samples/Q9696.2.ged```\n\n[Configuration](samples/Q9696.2.configuration.yaml)\n[Output](samples/Q9696.2.ged)\n\n![img](samples/Q9696.2.png)\n\n\n### TODO\n\n* error management\n* add more character properties\n* add more event (wedding)\n* add references\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmallez%2Fwikidata-tree-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmallez%2Fwikidata-tree-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmallez%2Fwikidata-tree-generator/lists"}