From 7502e2100095a9e08482d03f32ddc6e36811912c Mon Sep 17 00:00:00 2001 From: Sergey Trofimov Date: Mon, 5 May 2025 08:58:39 +0200 Subject: [PATCH] gnu: Add python-petl. * gnu/packages/python-xyz.scm (python-petl): New variable. Change-Id: I535b88025a150591269d194210a8f2c49aada974 Reviwed-by: Ian Eure Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8e3b5e0046c..434d6dbb96e 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -5931,6 +5931,37 @@ Parsley is an implementation of OMeta, an object-oriented pattern-matching language.") (license license:expat))) +(define-public python-petl + (package + (name "python-petl") + (version "1.7.16") + (source + (origin + (method url-fetch) + (uri (pypi-uri "petl" version)) + (sha256 + (base32 "0ll7xcc9yrvrz9p9im6m8p69cwrqwmqx91px43hlbnjrv1jflbww")))) + (build-system pyproject-build-system) + (native-inputs (list python-setuptools python-setuptools-scm python-wheel + python-pytest)) + (home-page "https://github.com/petl-developers/petl") + (synopsis "Framework for writing @acronym{ETL, Extract Transform Load} data +processing pipelines.") + (description + "This package provides a library for extracting, transforming and loading +tables of data. It can read from and write to databases or files in multiple +formats, including: +@itemize @bullet +@item python objects +@item delimited files +@item pickle files +@item text/XML/JSON/HTML files +@item python I/O streams +@item Excel XLS/XLSX files +@item HDF5 files +@end itemize") + (license license:expat))) + (define-public python-polib (package (name "python-polib")