Skip to content

Latest commit

 

History

History
59 lines (40 loc) · 1.03 KB

File metadata and controls

59 lines (40 loc) · 1.03 KB

Fibonacci Parallelized

Project focused on implementing and experimenting with different Fibonacci algorithms, including several parallelization strategies to improve performance and efficiency.

Note: This project is not finished and is currently under active development.

Getting started

First, set up your Python environment:

python -m venv .venv

# On Windows:
.venv\Scripts\activate
# On Unix or MacOS:
source .venv/bin/activate

python -m pip install -e .

For available options and help, use:

fib --help

Installation

Create a virtual environment and then install fibonacci-number:

pip install fibonacci-number

Running with Docker

To build the Docker image:

docker build -t fib_api:latest .

To run the project in a container:

docker run --name fib_container -it --entrypoint bash fib_api:latest

Development

For development and testing, install additional dependencies:

pip install -e ".[dev]"

Run the test suite with:

pytest tests/