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

Number Theory Python Packages

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

A performant NumPy extension for Galois fields and their applications

121K 472 45
lapets
rabinmiller

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

8K 0 0
akielaries
openmtpk

Hardware Accelerated General Purpose Mathematics Package (very stale)

5K 7 5
WhiteSymmetry
kececinumbers

Keçeci Numbers, Keçeci Sayıları, kececinumbers, Keçeci Conjecture

4K 2 0
cpoli
mathematicskit

See how the algorithms of computational mathematics work: a Python toolkit for learning and teaching numerical methods, dynamical systems, and discrete math across 18 domains, built on numpy/scipy

3K 1 0
sr-murthy
continuedfractions

Object-oriented continued fractions with Python.

2K 8 0
teschlg
kryptools

Implementation of some basic algorithms relevant for cryptography.

2K 0 0
Abhrankan-Chakrabarti
foxmath

Minimalist CLI for math & cryptography exploration — Legendre symbols, fast-converging π approximation, elliptic curve arithmetic. Pure stdlib, symlink-friendly.

1K 1 0
a9lim
ogdoad

Clifford algebras (with nilpotents) over the field-like subclasses of combinatorial games: nimbers, surreals, surcomplex. Rust core + Python bindings.

1K 0 0
transmogrifier
pidigits

Generate the digits of Pi using a streaming algorithm

796 13 0
foxhackerzdevs
foxpi

High-precision terminal π explorer — Chudnovsky, Ramanujan, Machin, and BBP spigot algorithms, verified against independent reference digits.

688 1 0
ZohaibCodez
discrete-structures-mcp

AI-powered web platform for learning discrete mathematics through interactive tools and natural language chatbot using OpenAI Agents SDK & MCP protocol

499 1 0
daedalus
mcp-sympy

MCP server that exposes SymPy's symbolic mathematics functionality

491 0 0
edelveart
figuratenum

Python library for generating and visualizing 235+ plane, space, and multidimensional figurate number sequences and families, following Elena Deza and Michel Deza (2012)

489 6 1
aratrikghosh2011-tech
numclassify

python module for all number programs

444 1 1
Czechbol
mathcrypto

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

321 1 0
Abhrankan-Chakrabarti
abhrankan-number-theory

An exact Python number-theory library covering Bernoulli numbers, Euler zigzag numbers, ζ(n), and prime-based computation of π.

253 2 0
JarryShaw
jsntlib

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

239 8 1
rkriad585
h9a

A CLI tool and Python library that counts how many times a digit appears in a range of numbers, with a colorized step-by-step breakdown.

218 6 0
outcompute
integer-atlas-algos

Property definitions and the stateless compute engine (atlas-algos) for Integer Atlas — number-theoretic properties of the integers.

213 1 0
avivbrook
mod-nest-exp

An algorithm that computes modular nested exponentiation efficiently.

209 2 1
reity
pratts

Pure-Python library that enables generation and verification of Pratt certificates for prime numbers.

190 0 0
sumaddury
algepy-tools

A Python library for efficient number theory and abstract algebra.

177 1 1
kidusfmariam
prymepython

A Python Module for Working with Prime Numbers

172 1 0
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology