From 0e3418887bbbfecfcd23010496775cc4b006509d Mon Sep 17 00:00:00 2001 From: "Adam J. Stewart" Date: Sun, 7 Aug 2022 23:57:36 -0700 Subject: py-tbparse: add new package (#31979) Co-authored-by: adamjstewart --- .../repos/builtin/packages/py-tbparse/package.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 var/spack/repos/builtin/packages/py-tbparse/package.py diff --git a/var/spack/repos/builtin/packages/py-tbparse/package.py b/var/spack/repos/builtin/packages/py-tbparse/package.py new file mode 100644 index 0000000000..ac792261e3 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-tbparse/package.py @@ -0,0 +1,20 @@ +# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack.package import * + + +class PyTbparse(PythonPackage): + """Load tensorboard event logs as pandas DataFrames.""" + + homepage = "https://github.com/j3soon/tbparse" + pypi = "tbparse/tbparse-0.0.7.tar.gz" + + version("0.0.7", sha256="0ddd3c764ceb1859bc0cb69ca355bff4fd5936c4bfe885e252e481564b2371a9") + + depends_on("python@3.7:", type=("build", "run")) + depends_on("py-setuptools@42:", type="build") + depends_on("py-pandas@1.3:", type=("build", "run")) + depends_on("py-tensorboard@2:", type=("build", "run")) -- cgit v1.2.3-60-g2f50