Skip to content

arnasIV/pvpy-task

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Task1

Usage:

$ python3 task1.py initial_energy N [N ...]

Example:

$ python3 task1.py 100 1 2 3

$ python3 task1.py 100 10 100 3 1

Task2

Usage:

$ python3 task2.py initial_energy N [N ...] [--binary]

Example:

$ python3 task2.py 100 1 2 3

$ python3 task2.py 100 100 110 111 --binary

Task3 (using flask, rq, redis)

First run a RQ worker in a separate terminal:

$ rq worker

Then run the task3 application:

$ python3 task3.py

Open http://127.0.0.1:5555/ in your web browser

Enter the desired values as shown in the examples

The results can be viewed at:

http://127.0.0.1:5555/overview

Note: Tested on Ubuntu 16.04 LTS with Python 3.7.8

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published