Genalog is an open source, cross-platform python package allowing generation of synthetic document images with custom degradations and text alignment capabilities.
Why do you think that https://github.com/microsoft/ML-For-Beginners is a good alternative to genalog