We have moved to https://codeberg.org/KOLANICH-tools/secpwgen.py, grab new versions there.
Under the disguise of "better security" Micro$oft-owned GitHub has discriminated users of 1FA passwords while having commercial interest in success of FIDO 1FA specifications and Windows Hello implementation which it promotes as a replacement for passwords. It will result in dire consequencies and is competely inacceptable, read why.
If you don't want to participate in harming yourself, it is recommended to follow the lead and migrate somewhere away of GitHub and Micro$oft. Here is the list of alternatives and rationales to do it. If they delete the discussion, there are certain well-known places where you can get a copy of it. Read why you should also leave GitHub.
A pure python dropin replacement for secpwgen. Some features are added like QR Code generation.
In order to this work on python<3.6 you need to manually install the secrets library by downloading it and putting into the dir where default python packages reside.