diff options
author | Hanketsu <hanketsu@egregore.fun> | 2025-02-23 01:24:03 +0100 |
---|---|---|
committer | Hanketsu <hanketsu@egregore.fun> | 2025-02-27 20:09:40 +0100 |
commit | 6bf3c7e78fcd096ddecc578da3f23d1f7e9f157b (patch) | |
tree | 2c7cbd64bf321d63fa519ab5f7498b542a1f153b | |
parent | a1a6a73c564aadd7b6e8725dba35e6b3a4222419 (diff) |
battering: Add python-pyvis.
* battering/packages/python-xyz.scm (python-pyvis): New variable.
-rw-r--r-- | battering/packages/python-xyz.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/battering/packages/python-xyz.scm b/battering/packages/python-xyz.scm index dad6627..5cc364b 100644 --- a/battering/packages/python-xyz.scm +++ b/battering/packages/python-xyz.scm @@ -8,6 +8,8 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages python-build) + #:use-module (gnu packages python-science) + #:use-module (gnu packages python-web) #:use-module (gnu packages python-xyz) #:use-module (gnu packages tmux) #:use-module (gnu packages xdisorg)) @@ -76,3 +78,34 @@ "This is another stylesheet for PySide6, PySide2, PyQt5 and PyQt6, which looks like Material Design (close enough).") (license license:bsd-2))) + +(define-public python-pyvis + (package + (name "python-pyvis") + (version "0.3.2") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/WestHealth/pyvis") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "18gp652i4z8r5rxs9mk5h2vx1bc52xlw5wramidb11ilcy9lr3vs")))) + (build-system pyproject-build-system) + (propagated-inputs + (list + python-jinja2 + python-networkx + python-ipython + python-pandas + python-jsonpickle)) + (native-inputs (list python-setuptools python-wheel python-pip + python-selenium python-numpy)) + (arguments (list #:tests? #f)) + (home-page "https://pypi.org/project/qt-material/") + (synopsis + "Python library for visualizing networks") + (description + "Python package for creating and visualizing interactive network graphs.") + (license license:bsd-3))) |