Skip to main content

Utility functions for prime numbers

Project description

primer_2020

primer_2020 is a prime number library. It provides functions for generating primes and factorization.

Installation

$ git clone https://github.com/MartinThoma/primer_2020.git
$ cd primer_2020
$ pip install -e .

Usage

>>> import primer_2020
>>> primer_2020.factorize(28)
>>> [2, 2, 7]

Project details


Download files

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

Source Distribution

primer_2020Godwin-0.2.1.tar.gz (2.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page