/sandbox4notebook

my Jupyter Notebook

Primary LanguageJupyter Notebook

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

  1. Fork it ( https://github.com/zdogma/sandbox4notebook/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Author

[zdogma](https://github.com/zdogma/)