Follow up project for the Abnormal Security technical interview.
Given a large file, implement a data stream-based word counter.
- Clone the repo
- Create a new virtual environment using
python -m venv venv
- Active the virtual env using
. ./venv/bin/activate
- Install the pip requirements using
python -m pip install -r requirements.txt
(once venv is activated) - Run program using
python main.py <word-to-get-count>
. Ex:python main.py phishing
- Run tests using
python -m unittest tests