PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

Modular Arithmetic Python Packages

Python packages with the GitHub topic modular-arithmetic. Sorted by relevance, with stars and monthly downloads.
shadikhasan
pynumbertheory

A lightweight Python library providing number theory utilities including GCD, LCM, primes, modular arithmetic, and the Chinese Remainder Theorem.

1K 0 0
lapets
modulo

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

586 5 1
avivbrook
mod-nest-exp

An algorithm that computes modular nested exponentiation efficiently.

312 1 1
lapets
hensel

Pure-Python implementation of Hensel lifting for square roots modulo a prime power.

105 0 0
DasKaroWow
loopint

A fully typed cyclic integer type for Python with modular arithmetic and fixed [left; right) interval semantics.

81 1 0
nillion-oss
sophiegermain

Pure-Python library that provides a selection of Sophie Germain primes

74 4 1
    • Data from PyPI, GitHub, ClickHouse, and BigQuery