An open API service indexing awesome lists of open source software.

https://github.com/lucas54neves/sieve-eratosthenes-threads

Sieve of Eratosthenes with threads
https://github.com/lucas54neves/sieve-eratosthenes-threads

python sieve-of-eratosthenes thread threads ufla

Last synced: 2 months ago
JSON representation

Sieve of Eratosthenes with threads

Awesome Lists containing this project

README

        

# sieve-eratosthenes-threads
Sieve of Eratosthenes with threads

## Python version

Python version: 3.8.10

## Main commands

All commands below assume the user is in the 'src' directory. To access the 'src' directory, run the following command from the root of the project:

```
cd src
```

### Install venv

```
python3 -m venv venv
```

### Activate venv

```
source venv/bin/activate
```

### Install dependencies

```
pip install -r requirements.txt
```

### Parallel program

```
python main.py
```

### Execution script

```
bash main.sh
```

### Analysis script

```
python analysis.py
```