PyTb (Python Toolbox)

_images/logo.png

This is a collection of useful snippets I find myself to use regularly during prototyping.

Build Status Documentation Status

Most of the functions are especially useful when working on remote machines via jupyter notebooks (e.g. a JupyterHub) with long-running processes (e.g. Deeplearning).

Checkout the Quickstart section for common usecases and example code.

View the complete documentation

View the code

Installation

via pip:

pip install py-toolbox

or via distutils:

git clone https://github.com/dangrie158/py-toolbox.git pytb
cd pytb
python setup.py install

Development

Clone the repo and install the development requirements. After this you can install the package in development mode to just link the sources into your python path.

git clone https://github.com/dangrie158/py-toolbox.git pytb
cd pytb
direnv allow
# if you're not using direnv, you really should
# otherwise create a new virtualenv for the package

pip install -r dev-requirements.txt
python3 setup.py develop

make test

Indices and tables