An implementation of Miller Rabin primality test written in Python.
From PyPI (not live yet)
pip install miller_rabin
From Git
pip install git+https://github.com/stephentt-me/miller_rabin_python.git
from miller_rabin import miller_rabin
# using defaut k
miller_rabin(15485867) # 1000001st prime number
# choose your our k=5
miller_rabin(15485867, 5)
python -m unittest
python setup.py sdist bdist_wheel