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

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

219K 460 41
akielaries
openmtpk

Hardware Accelerated General Purpose Mathematics Package (very stale)

6K 7 5
lapets
rabinmiller

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

6K 0 0
WhiteSymmetry
kececinumbers

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

4K 2 0
sr-murthy
continuedfractions

Object-oriented continued fractions with Python.

4K 7 0
nikiigo
fast-factorization

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

1K 2 0
shadikhasan
pynumbertheory

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

1K 0 0
aratrikghosh2011-tech
numclassify

python module for all number programs

1K 1 1
teschlg
kryptools

Implementation of some basic algorithms relevant for cryptography.

982 0 0
daedalus
oeis-validator

Validate OEIS entries against the internal format specification and style sheet

615 0 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.

606 6 1
Czechbol
mathcrypto

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

357 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

332 1 0
kidusfmariam
prymepython

A Python Module for Working with Prime Numbers

319 1 0
JarryShaw
pyntlib

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

318 8 1
avivbrook
mod-nest-exp

An algorithm that computes modular nested exponentiation efficiently.

312 1 1
JarryShaw
jsntlib

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

289 8 1
sumaddury
algepy-tools

A Python library for efficient number theory and abstract algebra.

287 1 1
goessl
rdx

Radix conversion module.

201 1 0
fionn
batch-gcd

Pure Python implementation of DJB's Batch GCD algorithm

186 0 0
transmogrifier
pidigits

Generate the digits of Pi using a streaming algorithm

179 13 0
daedalus
mcp-sympy

MCP server that exposes SymPy's symbolic mathematics functionality

174 0 0
lapets
hensel

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

105 0 0
bhgomes
oeis-api

interface to the OEIS

100 2 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery