Mirror of PGS4 (with WIP python bindings)