Tested with python 3.6
git clone https://github.com/tondzus/literate-octo-spoon/
cd literate-octo-spoon
pip install -r requirements.txt
python setup.py install
Executing steps 3 and 4 within a python virtualenv is almost always a good idea.
python -m pycoins challenge --api-key <alphavantage-api-key>
Greatest iso weeks for both memory and sqlite computations will be printed to the console. The two .csv files will be saved to the current folder - one for memory and one for sqlite.
You can also execute just parts of the challenge using the CLI. Take a look at its --help to see what is available.
Alternatively, after cloning the repository you can build a docker image and run the challenge code from it.
git clone https://github.com/tondzus/literate-octo-spoon/
cd literate-octo-spoon
docker build -t dh-challenge .
docker run -it -v <absolute-output-path>:/usr/src/app/csvs dh-challenge python -m pycoins challenge --output-folder /usr/src/app/csvs --api-key <alphavantage-api-key>
Greatest iso weeks for both memory and sqlite computations will be printed to the console. The two .csv files will be saved to the <absolute-output-path>.