This probably still works, but has been promoted to full repo status here:
https://github.com/bollwyvl/yamlmagic
You can install it with pip:
pip install yamlmagic