Does anything similar exist in Python ecosystem?
Laboratory[0] comes to mind.

[0]: https://github.com/joealcorn/laboratory