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

212K 464 42
WhiteSymmetry
kececinumbers

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

8K 2 0
lapets
rabinmiller

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

8K 0 0
aratrikghosh2011-tech
numclassify

python module for all number programs

6K 1 1
akielaries
openmtpk

openMTPK Python API

4K 7 5
sr-murthy
continuedfractions

Object-oriented continued fractions with Python.

3K 7 0
teschlg
kryptools

Implementation of some basic algorithms relevant for cryptography.

3K 0 0
outcompute
integer-atlas-algos

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

2K 1 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
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)

1K 6 1
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

688 1 0
transmogrifier
pidigits

Generate arbitrary number of digits of Pi or Tau using a streaming algorithm.

391 13 0
daedalus
mcp-sympy

MCP server that exposes SymPy's symbolic mathematics functionality

380 0 0
Czechbol
mathcrypto

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

363 1 0
nikiigo
fast-factorization

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

356 2 0
JarryShaw
jsntlib

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

352 8 1
avivbrook
mod-nest-exp

An algorithm that computes modular nested exponentiation efficiently.

319 1 1
sumaddury
algepy-tools

A Python library for efficient number theory and abstract algebra, featuring tools for primality testing, factorization, and advanced modular arithmetic.

308 1 1
geometric-systems
erdos-unit-distance

Certified unit-distance point sets and graphs for discrete geometry in Rust.

276 2 0
JarryShaw
pyntlib

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

262 8 1
daedalus
oeis-validator

Validate OEIS entries against the internal format specification and style sheet

228 0 0
kidusfmariam
prymepython

A Python Module for Working with Prime Numbers

226 1 0
bhgomes
oeis-api

interface to the OEIS

215 2 0
fionn
batch-gcd

DJB's batch GCD algorithm for fast factoring sequences of integers

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