Generalized PCA for non-normally distributed data. If you find this useful please cite Feature Selection and Dimension Reduction based on a Multinomial Model.
An R implementation is also available.
The glmpca package can be installed from pypi
pip3 install glmpca
Please use https://github.com/willtownes/glmpca-py/issues to submit issues, bug reports, and comments.