suyash248 / hme_slots

Finding 'n' slots on the basis of schedule of the week.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Slot Finder

Requirements

Python 3.5+, pip3

Usage

  1. Move to <project-dir>, create virtual environment and then activate it as
$ cd <project-dir>
$ virtualenv -p python3 .env
$ source .env/bin/activate
  1. Add project to PYTHONPATH as
$ export PYTHONPATH="$PYTHONPATH:." # . corresponds to current directory(project-dir)
  1. Then run test cases as
$ python -m unittest discover -s 'tests' -p '*.py'
  1. Then run the application run.py as
$ python run.py 

Note: Input parameters can be changed under run.py file.

About

Finding 'n' slots on the basis of schedule of the week.


Languages

Language:Python 100.0%