Check Continous 1's Property of matrix: a fast PQ Tree library for python
In particular, this library is implemented as a wrapper of Khitrin's PQ Tree.
This library is expected to turn out faster than SageMath's PQ Tree though it is still not done and benchmarking will be done.