diff mbox series

[bug#69817] gnu: Add python-pynsee.

Message ID 20240315191234.15046-1-ngraves@ngraves.fr
State New
Headers show
Series [bug#69817] gnu: Add python-pynsee. | expand

Commit Message

Nicolas Graves March 15, 2024, 7:12 p.m. UTC
* gnu/packages/python-science.scm (python-pynsee): New variable.

Change-Id: I4e93d26ad4b6be238b0e4cce82ea77030caf6e02
---
 gnu/packages/python-science.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Comments

Sharlatan Hellseher Oct. 2, 2024, 10:04 p.m. UTC | #1
Hi,

Pushed as 37076a20f9b8eb17566dfaaef7858205b2e71545 to master.
Following after that commit updates to 0.1.8 and adds more optional inputs.

* 3abe0134be * gnu: python-pynsee: Update to 0.1.8.

--
Oleg
diff mbox series

Patch

diff --git a/gnu/packages/python-science.scm b/gnu/packages/python-science.scm
index b6a116f16b..48155fbbd8 100644
--- a/gnu/packages/python-science.scm
+++ b/gnu/packages/python-science.scm
@@ -23,6 +23,7 @@ 
 ;;; Copyright © 2022 Antero Mejr <antero@mailbox.org>
 ;;; Copyright © 2022 jgart <jgart@dismail.de>
 ;;; Copyright © 2023, 2024 Troy Figiel <troy@troyfigiel.com>
+;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2641,6 +2642,37 @@  (define-public python-pynrrd
 and from numpy arrays.")
     (license license:expat)))
 
+(define-public python-pynsee
+  (package
+    (name "python-pynsee")
+    (version "0.1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pynsee" version))
+       (sha256
+        (base32 "0wd1xhkjpll8mzrrhnqxrand32p338j2zfw3h1gxacf31iwxhips"))))
+    (build-system pyproject-build-system)
+    (arguments (list #:tests? #f))  ; XXX: Tests require network access.
+    (propagated-inputs (list python-appdirs
+                             python-pandas
+                             python-requests
+                             python-shapely
+                             python-tqdm
+                             python-unidecode
+                             python-urllib3))
+    (home-page "https://pynsee.readthedocs.io")
+    (synopsis
+     "Tools to Easily Search and Download French Data From INSEE and IGN APIs")
+    (description
+     "This package provides tools to easily search and download French data
+from INSEE and IGN APIs.  This data includes more than 150 000 macroeconomic
+series, a dozen datasets of local french data, numerous sources available on
+@url{insee.fr}, geographical limits of administrative areas taken from IGN as
+well as key metadata and SIRENE database containing data on all French
+compagnies.")
+    (license license:expat)))
+
 (define-public python-libneuroml
   (package
     (name "python-libneuroml")