Skip to main content

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

Metadata

Release files for prime-faster 0.0.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for prime-faster 0.0.9
File Size Uploaded Provenance Actions
prime-faster-0.0.9.tar.gz 2.6 kB Without provenance Details for prime-faster-0.0.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for prime-faster 0.0.9
File Interpreter ABI Platform Actions
prime_faster-0.0.9-py3-none-any.whl Python 3 none any Details for prime_faster-0.0.9-py3-none-any.whl

Total release size: 5.7 kB

Release files / prime-faster-0.0.9.tar.gz

Download URL prime-faster-0.0.9.tar.gz
Size 2.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f9ad6692635ba25f0dddfb024d56a8dca70ba6f716816406201c959e6ec1a9cf
BLAKE2b-256 checksum
How to use checksums
8f030325b4efacbc9dbabff173f18bdb3c702f406fd115402561017e1623b176
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Release files / prime_faster-0.0.9-py3-none-any.whl

Download URL prime_faster-0.0.9-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d86ae43d83d4882acc4138f8f31119ffb5d1da6062870149449ca5f0b6669a0d
BLAKE2b-256 checksum
How to use checksums
9813cc644c724daea87089ad1e826e7f9ac0d972daafec9750c48a3ebd361999
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.11

Security for prime-faster 0.0.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page