/modulo

Pure Python library for working with modular arithmetic, congruence closures, and finite fields.

Primary LanguagePythonMIT LicenseMIT

modulo

Pure Python library for working with modular arithmetic, congruence classes, and finite fields.

PyPI version and link.

Purpose

The library allows users to work with congruence classes (or, equivalently, finite field elements) as objects, with support for many common operations.

Package Installation and Usage

The package is available on PyPI:

python -m pip install modulo

The library can be imported in the usual way:

from modulo import modulo