guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#47976] [PATCH 07/10] gnu: Add python-python-louvain.


From: Vinicius Monego
Subject: [bug#47976] [PATCH 07/10] gnu: Add python-python-louvain.
Date: Fri, 23 Apr 2021 17:28:13 +0000

* gnu/packages/graph.scm (python-python-louvain): New variable.
---
 gnu/packages/graph.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/graph.scm b/gnu/packages/graph.scm
index d2e4c875a1..7b61c8f103 100644
--- a/gnu/packages/graph.scm
+++ b/gnu/packages/graph.scm
@@ -6,6 +6,7 @@
 ;;; Copyright © 2019 Andreas Enge <andreas@enge.fr>
 ;;; Copyright © 2020 Alexander Krotov <krotov@iitp.ru>
 ;;; Copyright © 2020 Pierre Langlois <pierre.langlos@gmx.com>
+;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -228,6 +229,27 @@ subplots, multiple-axes, polar charts, and bubble charts. 
")
 (define-public python2-plotly
   (package-with-python2 python-plotly-2.4.1))
 
+(define-public python-python-louvain
+  (package
+    (name "python-python-louvain")
+    (version "0.15")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "python-louvain" version))
+       (sha256
+        (base32 "1sqp97fwh4asx0jr72x8hil8z8fcg2xq92jklmh2m599pvgnx19a"))))
+    (build-system python-build-system)
+    (propagated-inputs
+     `(("python-networkx" ,python-networkx)
+       ("python-numpy" ,python-numpy)))
+    (home-page "https://github.com/taynaud/python-louvain";)
+    (synopsis "Louvain algorithm for community detection")
+    (description
+     "This package provides a pure Python implementation of the Louvain
+algorithm for community detection in large networks.")
+    (license license:bsd-3)))
+
 (define-public python-louvain
   (package
     (name "python-louvain")
-- 
2.31.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]