Skip to main content

PySieveEra

PySieveEra is a Python package that implements the Sieve of Eratosthenes algorithm to efficiently generate a list of prime numbers within a specified numerical range. This tool is useful for various mathematical and computational applications that involve prime numbers.

Installation

You can install PySieveEra using pip, the Python package manager. Open your terminal or command prompt and run the following command:

pip install PySieveEra

Usage

from PySieveEra import SieveEra

# Generate a list of prime numbers within a specified range
limit = 40
prime_numbers = SieveEra(limit)
print("Prime numbers within the range:", prime_numbers)

Options

limit (default is 20): The upper limit for generating prime numbers. Specify the maximum value up to which you want to find prime numbers

Output

The function returns a list of prime numbers within the specified range. You can then use this list for your specific needs. Prime numbers within the range: [2, 3, 5, 7, 11, 13, 17, 19]

Metadata

Release files for PySieveEra 0.1

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

Source distribution (sdist)

Source distribution for PySieveEra 0.1
File Size Uploaded Provenance Actions
PySieveEra-0.1.tar.gz 2.5 kB Without provenance Details for PySieveEra-0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for PySieveEra 0.1
File Interpreter ABI Platform Actions
PySieveEra-0.1-py3-none-any.whl Python 3 none any Details for PySieveEra-0.1-py3-none-any.whl

Total release size: 5.2 kB

Release files / PySieveEra-0.1.tar.gz

Download URL PySieveEra-0.1.tar.gz
Size 2.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b50c9b33001663e9faa05be713b3548f281c22803dd6d710c844d83354fad72f
BLAKE2b-256 checksum
How to use checksums
a2188975d821d043cbe7236e5ab92e3fa242b8de5d6cff3b66f0c9a55d95cc87
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.5

Release files / PySieveEra-0.1-py3-none-any.whl

Download URL PySieveEra-0.1-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0fb200c93a2b5e874ab400744c35b7adaef80a404c85b3faf840462d60b6c698
BLAKE2b-256 checksum
How to use checksums
02010819540f44a4fe633e7f59ae2b32b64f05144abdfd1348a6a5d9e1bb9378
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.5

Security for PySieveEra 0.1

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.

Release history Release notifications | RSS feed

This release

0.1 This release

2 release files No provenance

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