prime-faster - Faster Prime Number Generator
Project description
prime-faster
Description
This is a small program that finds all the prime numbers up to a given number faster than the naive algorithm.
Install
$ pip install prime-faster
Usage
import primefaster
print(primefaster.is_prime(7))
# True
print(primefaster.get_prime(10))
# [2, 3, 5, 7]
License
MIT License Copyright (c) 2022 Takahashi Akari akaritakahashioss@gmail.com
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
prime-faster-0.0.9.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for prime_faster-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d86ae43d83d4882acc4138f8f31119ffb5d1da6062870149449ca5f0b6669a0d |
|
MD5 | aca9edebe4ea077f8c6f0cb80a646293 |
|
BLAKE2b-256 | 9813cc644c724daea87089ad1e826e7f9ac0d972daafec9750c48a3ebd361999 |