Metadata-Version: 2.1
Name: PySieveEra
Version: 0.1
Summary: Generate a list of prime numbers within a specified range
Home-page: https://pypi.org/project/PySieveEra/
Author: Md. Ismiel Hossen Abir
License: MIT
Description-Content-Type: text/x-rst
License-File: LICENCE.txt

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:

.. code-block:: bash

    pip install PySieveEra

Usage
-----

.. code-block:: python

    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]
