Skip to main content

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


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)

Uploaded Source

Built Distribution

prime_faster-0.0.9-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page