git clone [email protected]:haim0n/bp_challenge.git
# extract the tarball
$ tar -xzf bp_challenge.tgz
# build the wheel
$ cd bp_challenge && \
virtualenv -p python3 venv && \
. venv/bin/activate && \
python setup.py bdist_wheel
# install the resulting wheel
pip install dist/bp_challenge-0.1-py3-none-any.whl
# make sure you're activated the venv from prev step
$ bpc
$ curl http://localhost:8080/events/countByEventType
{"baz":2,"foo":3}
$ curl http://localhost:8080/events/countWords
{"amet":3,"dolor":13,"ipsum":11,"lorem":13,"sit":10}