This is a collection of useful snippets I find myself to use regularly during prototyping.
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
Quickstart
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
Release files for py-toolbox 0.7.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| py-toolbox-0.7.0.tar.gz | 30.7 kB | Details |
Release files / py-toolbox-0.7.0.tar.gz
| Download URL | py-toolbox-0.7.0.tar.gz |
|---|---|
| Size | 30.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9824cad485c314866e868358105eb44539cbaee59cabb31528761e0cd0c9c88
|
|
BLAKE2b-256 checksum How to use checksums |
87069a397ae4c9bbf41192fea3b36076526a7baa8e3e0c649c04f289b135633d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/3.8
|