1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pythonOlder 5, pytestCheckHook 6, bokeh 7, ipython 8, matplotlib 9, numpy 10, nbconvert 11, nbformat 12}: 13 14buildPythonPackage rec { 15 pname = "livelossplot"; 16 version = "0.5.5"; 17 18 disabled = pythonOlder "3.6"; 19 20 src = fetchFromGitHub { 21 owner = "stared"; 22 repo = pname; 23 rev = "v${version}"; 24 sha256 = "sha256-YU8vX4SubI6txmC/i5fOjcvWfuDFm8+SPmie8Eb1qRs="; 25 }; 26 27 propagatedBuildInputs = [ bokeh ipython matplotlib numpy ]; 28 29 nativeCheckInputs = [ nbconvert nbformat pytestCheckHook ]; 30 31 meta = with lib; { 32 description = "Live training loss plot in Jupyter for Keras, PyTorch, and others"; 33 homepage = "https://github.com/stared/livelossplot"; 34 license = licenses.mit; 35 maintainers = with maintainers; [ bcdarwin ]; 36 }; 37}