Will Larson developed a simple python library called systems. He demonstrates how to use this to model a hiring funnel in this blogpost1.
1. Larson, W. Modeling a hiring funnel with Systems library. https://lethain.com/modeling-hiring-funnel-systems/ (2018).