Loosely translated Sanskrit word for 'Energy'. Just another interview challenge.
If any python guy is reviewing my code, I would just like to point out that I am using pipenv
to manage dependencies and virtualenv & the all-new Pipfile. Just putting it out there if you are expecting a requirements.txt (which is replaced by Pipfile standard) :P
Make sure you have pipenv
installed.
- Goto prana folder:
cd prana
(Very important) - Create a new Python 3 virtialenv
pipenv --three
(Make sure youcd
ed into prana folder first) - To get into shell:
pipenv shell
(To activate virtualenv) - Install deps
pipenv install
- Install Development deps
pipenv install -d
- Test the code
pytest -vs
(Verbose test output) - Run the sample program
python run.py
- To auto-generate HTML docs from source,
make html
and open_build/html/index.html
to view HTML docs - To auto-generate epub docs from source,
make epub
and open_build/epub/prana.epub
to view epub docs - To auto-generate PDF docs from source,
make latexpdf
and open_build/latex/prana.pdf
to view PDF docs