Skip to main content

pedigree takes a [toml][] file like that in examples/example.toml ([source][]) and outputs a few messy visualizations that do not favor patriliny over matriliny. See examples/ for example output.

![Screenshot 1](media/screenshot1.png) ![Screenshot 2](media/screenshot2.png)

Example:

For a quick example, generate the example .toml file

pedigree -f new_relations.toml

then generate output based on it

pedigree -f new_relations.toml generate

Outputs:

  • .html file: a [d3][] visualization that can be opened in a web browser

  • .svg file: a “Sugiyama style” tree that can be opened in a web browser

  • .dot file: the [dot][] file used to generate the .svg file

Installation:

pip3 install pedigree

pedigree –help will tell you your options.

You need to install graphviz form your package manager if you want to generate .svg output

Bugs:

Please create an [issue](https://github.com/jbaber/pedigree/issues) for any bugs you find.

If you’re a developer, the bugs are actually being kept in [git-bug](https://github.com/MichaelMure/git-bug), so feel free to work with them there.

Caveats:

  • Don’t put all your genealogical data in one text file that you manipulate via a python script written by some idiot on the internet. At least make copies of the one text file.

  • This can only recognize the relations x is the mother of y, x is the father of y, and x is the spouse of y. It has no concept of siblings or partial siblings.

[toml]: https://en.wikipedia.org/wiki/TOML [d3]: http://d3js.org/ [dot]: https://en.wikipedia.org/wiki/Graphviz [source]: https://en.wikipedia.org/wiki/Template:Flintstones_family_tree

Metadata

Release files for pedigree 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pedigree 1.1.0
File Size Uploaded
pedigree-1.1.0.tar.gz 16.5 kB Details

Release files / pedigree-1.1.0.tar.gz

Download URL pedigree-1.1.0.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8961ea03656cf4dd7db3110203f6e6dbdecee94e611050a30551e4f6c29277e6
BLAKE2b-256 checksum
How to use checksums
124b201996f4c2547255ab6165f5ce7ee282a2444ca8b0d1ba46ff623dd4d81f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.8

Release history Release notifications | RSS feed

This release

1.1.0 This release

1 release file

1.0.0

1 release file

0.1.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page