sandbox4notebook
Install
pyenv
brew install pyenv
brew install pyenv-virtualenv
echo 'export PYENV_ROOT="${HOME}/.pyenv"' >> ~/.bash_profile
echo 'export PATH="${PYENV_ROOT}/bin:$PATH"' >> ~/.bash_profile
echo 'eval "$(pyenv init -)"' >> ~/.bash_profile
tools
pyenv exec pip install pip-tools
pyenv exec pip install pip-review
pyenv exec pip install pipdeptree
pyenv exec pip install wheel
libraries
pyenv exec pip install -r requirements/*.txt --use-wheel --no-index --find-links=tmp/wheelhouse
Setup Requirements
update
pyenv exec pip list --outdated
# or
# pyenv exec pip-review
pyenv exec pip-review -i
compile
pyenv exec pip-compile requirements/dev.in
wheel
pyenv exec pip wheel --wheel-dir=tmp/wheelhouse -r requirements/dev.txt
Activate Venv
source activate venv
source deactivate
Launch Jupyter Notebook
jupyter contrib nbextension install --user
jupyter notebook
Contribution
- Fork it ( https://github.com/zdogma/sandbox4notebook/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request
Author
[zdogma](https://github.com/zdogma/)