hxyro / tanx-assessment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Files

Clone the repositery

  git clone https://github.com/hxyro/tanx-assessment.git
  cd tanx-assessment

Run on Local System:

Make sure you have the correct Python version installed:

python --version

Create a Python virtual environment and install all required packages

python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

Run the tests

python -m unittest test

Run the main task

python task.py

Run Using Docker

Make sure you have Docker and Docker Compose installed

docker --version
docker-compose --version

Run the tests

docker-compose up test

Run the task

docker-compose up task

NOTE: Due to the large number of data entries in orders.csv, the output is limited to 50 lines.

About


Languages

Language:Python 97.4%Language:Dockerfile 2.6%