Skip to main content

Prime algorithms

Project description

# prime_algorithms

Currently, this package provides a few prime number algorithms.

### Requirements

python >= 2.7 or >= 3.0

### Installation

python install

from prime_algorithms.algorithms.millerrabin import MillerRabin
from prime_algorithms.algorithms.squareroot import SquareRoot
from prime_algorithms.algorithms.sixk import SixK
from prime_algorithms.algorithms.solovaystrassen import SolovayStrassen

num = 3

//fast methods

//slow methods

# How to Contribute

- provide a method isPrime to your algorithm.
- ``NameOfYourAlgorithm.isPrime(num)``

### References

- (00:00 - 00:15 )

Project details

Release history Release notifications

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for prime_algorithms, version 1.0
Filename, size File type Python version Upload date Hashes
Filename, size prime_algorithms-1.0.tar.gz (2.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page