PrimeShor to find factors of a number
factorize return a tuple of two prime factors rasie an execption of error or the number is a prime
isPrime return true if it is a prime false if it not
>>> import prime
>>>
>>> print(prime.isPrime(5))
True
>>> print(prime.factorize(64))
(2, 32)
>>>
Installation
git clone https://github.com/BDR-Pro/PrimeShor
pip install PrimeShor/dist/PrimeShor-1.0.0-py3-none-any.whl