From fd116510b2f4fd731bb775affd2b03329982b65b Mon Sep 17 00:00:00 2001 From: TakeV Date: Wed, 3 Apr 2024 18:21:24 -0400 Subject: gnu: Add python-iterable-io. * gnu/packages/python-xyz.scm (python-iterable-io): New variable. Change-Id: Icd4b10e27b5f4963fd3e3ea516676e84b3c5ecd4 Signed-off-by: Sharlatan Hellseher --- gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/python-xyz.scm') diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index f2ea90ad09..190284f4d9 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -151,6 +151,7 @@ ;;; Copyright © 2024 Ian Eure ;;; Copyright © 2024 Adriel Dumas--Jondeau ;;; Copyright © 2024 Navid Afkhami +;;; Copyright © 2024 TakeV ;;; ;;; This file is part of GNU Guix. ;;; @@ -34998,6 +34999,28 @@ sources. For example, it allows you to have all your casting and parsing rules in a single place.") (license license:bsd-3))) +(define-public python-iterable-io + (package + (name "python-iterable-io") + (version "1.0.0") + (source + (origin + (method url-fetch) + (uri (pypi-uri "iterable-io" version)) + (sha256 + (base32 "0g4cn522n4dv6ly8pwf97dc62rr4f7my38v0bh6vmac7jmrip7pv")))) + (build-system pyproject-build-system) + (home-page "https://github.com/pR0Ps/iterable-io") + (synopsis "Adapt generators and other iterables to a file-like interface") + (description + "@code{iterable-io} is a small Python library that provides an adapter so +that it's possible to read from +@url{https://docs.python.org/3/glossary.html#term-iterable,iterable} objects +in the same way as +@url{https://docs.python.org/3/glossary.html#term-file-object,file-like} +objects.") + (license license:lgpl3))) + (define-public python-iteround (package (name "python-iteround") -- cgit v1.2.3