Python (version 3.8) source code (with mypy typing support) to generate and plot causal sets as well as use them in numerical calculations.