The dual_pairs package

The SageMath package dual_pairs implements computations with finite locally free group schemes and Galois representations in the form of dual pairs of algebras. See the preprint Dual pairs of algebras and finite commutative group schemes for details.


Peter Bruin <>


The package can be installed using

$ sage --pip install dual_pairs

Source code

The source code is available at <>.

Documentation of the modules

The documentation pages in the table below are automatically generated from the source code.

Dual pairs of algebras

Finite flat algebras

Torsors and extension groups


Indices and tables