The form is written and compiled as a library in C#. You can load the .dll file the same way you are loading any external library in Python.
This is pretty much the exact Progress Bar created by Jeremy Tammik as described here.
You can find the ProgressBar.dll and a sample Dynamo definition in the root of the Git above.