originally appeared on the Software Heritage blog at https://www.softwareheritage.org/2017/03/24/list-the-content-of-your-favorite-forge-in-just-a-few-steps/ by Avi Kelman Closes T762
change cherry picked from python module template commit 71b117ba0cf9f1251b1cac26d0994df03a4c787d