PyPI Stats
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About
Home

Number Theory Python Packages

Python packages with the GitHub topic number-theory. Sorted by relevance, with stars and monthly downloads.
mhostetter
galois

A performant NumPy extension for Galois fields and their applications

245K 460 41
akielaries
openmtpk

Hardware Accelerated General Purpose Mathematics Package (very stale)

10K 7 5
lapets
rabinmiller

Pure-Python implementation of the Rabin-Miller primality test.

7K 0 0
sr-murthy
continuedfractions

Object-oriented continued fractions with Python.

3K 7 0
teschlg
kryptools

Implemenation of same basic algorithms used in cryptography.

2K 0 0
aratrikghosh2011-tech
numclassify

python module for all number programs

1K 1 0
nikiigo
fast-factorization

Educational Python toolkit for integer factorization with CLI, API, benchmarks, and documented algorithms.

964 2 0
edelveart
figuratenum

Generates 230+ figurate number sequences and visualizes their generating functions across multiple dimensions in Python. Based on Figurate Numbers (2012) by Elena Deza and Michel Deza.

529 6 1
Czechbol
mathcrypto

A library of useful funtions used in cryptography. For learning purposes only.

469 1 0
avivbrook
mod-nest-exp

An algorithm that computes modular nested exponentiation efficiently.

442 1 1
JarryShaw
pyntlib

A number theory library adapted from mathematic fundamentals of information security homework codes.

415 8 1
shadikhasan
pynumbertheory

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

388 0 0
JarryShaw
jsntlib

A Number Theory Library Adapted from Mathematic Fundamentals of Information Security Homework Codes

340 8 1
ZohaibCodez
discrete-structures-mcp

MCP server for Discrete Mathematics: Boolean Logic, Algorithms, Number Theory, Cryptography. 21 AI-ready tools for education and research.

290 1 0
kidusfmariam
prymepython

A Python Module for Working with Prime Numbers

282 1 0
sumaddury
algepy-tools

A Python library for efficient number theory and abstract algebra.

259 1 1
goessl
rdx

Radix conversion module.

249 1 0
fionn
batch-gcd

Pure Python implementation of DJB's Batch GCD algorithm

170 0 0
transmogrifier
pidigits

Generate the digits of Pi using a streaming algorithm

141 13 0
daedalus
mcp-sympy

MCP server that exposes SymPy's symbolic mathematics functionality

138 0 0
bhgomes
oeis-api

interface to the OEIS

116 2 0
lapets
hensel

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

90 0 0
andacberkaye
math-toolkit-tr

A modular Python math library featuring number theory functions, conversions, and numeric property checks — built for general use and personal learning.

88 1 0
mr-ravin
theorem10

This repository includes a computer program for a mathematical theorem paper titled "A theorem on numbers of the form 10^x"

86 0 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery