I have assembled a small Python pants example as a playground for a colleague of mine. Maybe this is also helpful for others: https://twitter.com/ErbStephan/status/946150800446971906 (be warned though I am not a real pants user so I might have gotten a few things wrong)