path: root/etc/copyright.el
diff options
context:
space:
mode:
Diffstat (limited to 'etc/copyright.el')
0 files changed, 0 insertions, 0 deletions
ller.eu> ;;; Copyright © 2016–2022 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2016, 2017 Thomas Danckaert <post@thomasdanckaert.be> ;;; Copyright © 2017 Carlo Zancanaro <carlo@zancanaro.id.au> ;;; Copyright © 2017 Frederick M. Muriithi <fredmanglis@gmail.com> ;;; Copyright © 2017, 2018 Adriano Peluso <catonano@gmail.com> ;;; Copyright © 2017 Ben Sturmfels <ben@sturm.com.au> ;;; Copyright © 2017, 2018, 2019, 2021, 2022 Mathieu Othacehe <m.othacehe@gmail.com> ;;; Copyright © 2017 José Miguel Sánchez García <jmi2k@openmailbox.org> ;;; Copyright © 2017, 2020, 2021 Roel Janssen <roel@gnu.org> ;;; Copyright © 2017, 2018, 2019 Kei Kebreau <kkebreau@posteo.net> ;;; Copyright © 2017 Rutger Helling <rhelling@mykolab.com> ;;; Copyright © 2017, 2019, 2021 Brendan Tildesley <mail@brendan.scot> ;;; Copyright © 2018 Ethan R. Jones <ethanrjones97@gmail.com ;;; Copyright © 2018 Fis Trivial <ybbs.daans@hotmail.com> ;;; Copyright © 2018 Vijayalakshmi Vedantham <vijimay12@gmail.com> ;;; Copyright © 2018 Mathieu Lirzin <mthl@gnu.org> ;;; Copyright © 2018 Adam Massmann <massmannak@gmail.com> ;;; Copyright © 2016, 2018 Tomáš Čech <sleep_walker@gnu.org> ;;; Copyright © 2018-2024 Nicolas Goaziou <mail@nicolasgoaziou.fr> ;;; Copyright © 2018 Oleg Pykhalov <go.wigust@gmail.com> ;;; Copyright © 2018, 2019, 2021, 2023 Clément Lassieur <clement@lassieur.org> ;;; Copyright © 2018, 2019, 2020, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com> ;;; Copyright © 2018 Luther Thompson <lutheroto@gmail.com> ;;; Copyright © 2018 Vagrant Cascadian <vagrant@debian.org> ;;; Copyright © 2015, 2018 Pjotr Prins <pjotr.guix@thebird.nl> ;;; Copyright © 2019, 2020 Brett Gilio <brettg@gnu.org> ;;; Copyright © 2019 Sam <smbaines8@gmail.com> ;;; Copyright © 2019, 2023 Jack Hill <jackhill@jackhill.us> ;;; Copyright © 2019-2023, Guillaume Le Vaillant <glv@posteo.net> ;;; Copyright © 2019, 2020 Alex Griffin <a@ajgrf.com> ;;; Copyright © 2019, 2020, 2021, 2022, 2023 Pierre Langlois <pierre.langlois@gmx.com> ;;; Copyright © 2019 Jacob MacDonald <jaccarmac@gmail.com> ;;; Copyright © 2019-2021, 2023, 2024 Giacomo Leidi <goodoldpaul@autistici.org> ;;; Copyright © 2019 Wiktor Żelazny <wzelazny@vurv.cz> ;;; Copyright © 2019, 2020, 2021, 2022 Tanguy Le Carrour <tanguy@bioneland.org> ;;; Copyright © 2019, 2021-2023 Mădălin Ionel Patrașcu <madalinionel.patrascu@mdc-berlin.de> ;;; Copyright © 2020 Riku Viitanen <riku.viitanen@protonmail.com> ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net> ;;; Copyright © 2020 sirgazil <sirgazil@zoho.com> ;;; Copyright © 2020 Sebastian Schott <sschott@mailbox.org> ;;; Copyright © 2020, 2021 Alexandros Theodotou <alex@zrythm.org> ;;; Copyright © 2020 Josh Marshall <joshua.r.marshall.1991@gmail.com> ;;; Copyright © 2020 Lars-Dominik Braun <ldb@leibniz-psychology.org> ;;; Copyright © 2020 Alex ter Weele <alex.ter.weele@gmail.com> ;;; Copyright © 2020, 2022 Matthew James Kraai <kraai@ftbfs.org> ;;; Copyright © 2020 Ryan Prior <rprior@protonmail.com> ;;; Copyright © 2020 Josh Holland <josh@inv.alid.pw> ;;; Copyright © 2020 Yuval Kogman <nothingmuch@woobling.org> ;;; Copyright © 2020, 2022 Michael Rohleder <mike@rohleder.de> ;;; Copyright © 2020, 2021, 2022, 2023, 2024 Vinicius Monego <monego@posteo.net> ;;; Copyright © 2020 Guy Fleury Iteriteka <gfleury@disroot.org> ;;; Copyright © 2020 Hendursaga <hendursaga@yahoo.com> ;;; Copyright © 2020 Malte Frank Gerdes <malte.f.gerdes@gmail.com> ;;; Copyright © 2020 Joseph LaFreniere <joseph@lafreniere.xyz> ;;; Copyright © 2020 Tim Gesthuizen <tim.gesthuizen@yahoo.de> ;;; Copyright © 2020, 2021 Bonface Munyoki Kilyungi <me@bonfacemunyoki.com> ;;; Copyright © 2020 Ekaitz Zarraga <ekaitz@elenq.tech> ;;; Copyright © 2020 Diego N. Barbato <dnbarbato@posteo.de> ;;; Copyright © 2020 Liliana Marie Prikler <liliana.prikler@gmail.com> ;;; Copyright © 2019 Kristian Trandem <kristian@devup.no> ;;; Copyright © 2020, 2021, 2024 Zheng Junjie <873216071@qq.com> ;;; Copyright © 2020 EuAndreh <eu@euandre.org> ;;; Copyright © 2021, 2022 Morgan Smith <Morgan.J.Smith@outlook.com> ;;; Copyright © 2021-2024 Sharlatan Hellseher <sharlatanus@gmail.com> ;;; Copyright © 2021 Ellis Kenyő <me@elken.dev> ;;; Copyright © 2021 LibreMiami <packaging-guix@libremiami.org> ;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz> ;;; Copyright © 2021 Raghav Gururajan <rg@raghavgururajan.name> ;;; Copyright © 2021, 2023-2024 jgart <jgart@dismail.de> ;;; Copyright © 2021 Danial Behzadi <dani.behzi@ubuntu.com> ;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be> ;;; Copyright © 2021 Hugo Lecomte <hugo.lecomte@inria.fr> ;;; Copyright © 2021 Franck Pérignon <franck.perignon@univ-grenoble-alpes.fr> ;;; Copyright © 2021, 2022 Petr Hodina <phodina@protonmail.com> ;;; Copyright © 2021 Simon Streit <simon@netpanic.org> ;;; Copyright © 2021, 2022, 2023 Daniel Meißner <daniel.meissner-i4k@ruhr-uni-bochum.de> ;;; Copyright © 2021, 2022 Pradana Aumars <paumars@courrier.dev> ;;; Copyright © 2021–2024 Felix Gruber <felgru@posteo.net> ;;; Copyright © 2021 Sébastien Lerique <sl@eauchat.org> ;;; Copyright © 2021 Raphaël Mélotte <raphael.melotte@mind.be> ;;; Copyright © 2021 ZmnSCPxj <ZmnSCPxj@protonmail.com> ;;; Copyright © 2021 Filip Lajszczak <filip@lajszczak.dev> ;;; Copyright © 2021 Greg Hogan <code@greghogan.com> ;;; Copyright © 2022, 2023 John Kehayias <john.kehayias@protonmail.com> ;;; Copyright © 2022 Aleksandr Vityazev <avityazev@posteo.org> ;;; Copyright © 2022 Evgeny Pisemsky <mail@pisemsky.site> ;;; Copyright © 2022 drozdov <drozdov@portalenergy.tech> ;;; Copyright © 2022 Peter Polidoro <peter@polidoro.io> ;;; Copyright © 2022, 2023 Wamm K. D. <jaft.r@outlook.com> ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com> ;;; Copyright © 2022-2024 Artyom V. Poptsov <poptsov.artyom@gmail.com> ;;; Copyright © 2022 Paul A. Patience <paul@apatience.com> ;;; Copyright © 2022 Jean-Pierre De Jesus DIAZ <me@jeandudey.tech> ;;; Copyright © 2022 Philip McGrath <philip@philipmcgrath.com> ;;; Copyright © 2022 Marek Felšöci <marek@felsoci.sk> ;;; Copyright © 2022 Hilton Chain <hako@ultrarare.space> ;;; Copyright © 2022 Tomasz Jeneralczyk <tj@schwi.pl> ;;; Copyright © 2022 Mathieu Laparie <mlaparie@disr.it> ;;; Copyright © 2022 Garek Dyszel <garekdyszel@disroot.org> ;;; Copyright © 2022 Baptiste Strazzulla <bstrazzull@hotmail.fr> ;;; Copyright © 2022 Nicolas Graves <ngraves@ngraves.fr> ;;; Copyright © 2023 Gabriel Wicki <gabriel@erlikon.ch> ;;; Copyright © 2023 Amade Nemes <nemesamade@gmail.com> ;;; Copyright © 2023 Bruno Victal <mirai@makinata.eu> ;;; Copyright © 2023 Kaelyn Takata <kaelyn.alexi@protonmail.com> ;;; Copyright © 2023 dan <i@dan.games> ;;; Copyright © 2023 Dominik Delgado Steuter <d@delgado.nrw> ;;; Copyright © 2023 Ivan Vilata-i-Balaguer <ivan@selidor.net> ;;; Copyright © 2023 Ontje Lünsdorf <ontje.luensdorf@dlr.de> ;;; Copyright © 2023 gemmaro <gemmaro.dev@gmail.com> ;;; Copyright © 2023 Parnikkapore <poomklao@yahoo.com> ;;; Copyright © 2023 Foundation Devices, Inc. <hello@foundationdevices.com> ;;; Copyright © c4droid <c4droid@foxmail.com> ;;; Copyright © 2023, 2024 Janneke Nieuwenhuizen <janneke@gnu.org> ;;; Copyright © 2023 Attila Lendvai <attila@lendvai.name> ;;; Copyright © 2023, 2024 Troy Figiel <troy@troyfigiel.com> ;;; Copyright © 2024 Timothee Mathieu <timothee.mathieu@inria.fr> ;;; Copyright © 2024 Ian Eure <ian@retrospec.tv> ;;; Copyright © 2024 Adriel Dumas--Jondeau <leirda@disroot.org> ;;; Copyright © 2024 Navid Afkhami <navid.afkhami@mdc-berlin.de> ;;; Copyright © 2024 TakeV <takev@disroot.org> ;;; Copyright © 2024 David Elsing <david.elsing@posteo.net> ;;; Copyright © 2024 Rick Huijzer <ikbenrickhuyzer@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix is free software; you can redistribute it and/or modify it ;;; under the terms of the GNU General Public License as published by ;;; the Free Software Foundation; either version 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix is distributed in the hope that it will be useful, but ;;; WITHOUT ANY WARRANTY; without even the implied warranty of ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;;; GNU General Public License for more details. ;;; ;;; You should have received a copy of the GNU General Public License ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. (define-module (gnu packages python-xyz) #:use-module ((guix licenses) #:prefix license:) #:use-module (gnu packages) #:use-module (gnu packages adns) #:use-module (gnu packages aidc) #:use-module (gnu packages algebra) #:use-module (gnu packages astronomy) #:use-module (gnu packages attr) #:use-module (gnu packages audio) #:use-module (gnu packages backup) #:use-module (gnu packages base) #:use-module (gnu packages bash) #:use-module (gnu packages bdw-gc) #:use-module (gnu packages bioinformatics) #:use-module (gnu packages build-tools) #:use-module (gnu packages check) #:use-module (gnu packages cmake) #:use-module (gnu packages compression) #:use-module (gnu packages cpp) #:use-module (gnu packages crates-io) #:use-module (gnu packages crates-windows) #:use-module (gnu packages crypto) #:use-module (gnu packages databases) #:use-module (gnu packages dbm) #:use-module (gnu packages digest) #:use-module (gnu packages django) #:use-module (gnu packages djvu) #:use-module (gnu packages docker) #:use-module (gnu packages documentation) #:use-module (gnu packages elf) #:use-module (gnu packages emulators) #:use-module (gnu packages enchant) #:use-module (gnu packages file) #:use-module (gnu packages fonts) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) #:use-module (gnu packages gcc) #:use-module (gnu packages gdb) #:use-module (gnu packages geo) #:use-module (gnu packages ghostscript) #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gnome) #:use-module (gnu packages gnupg) #:use-module (gnu packages graphics) #:use-module (gnu packages graphviz) #:use-module (gnu packages gsasl) #:use-module (gnu packages gstreamer) #:use-module (gnu packages gtk) #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages icu4c) #:use-module (gnu packages image) #:use-module (gnu packages image-processing) #:use-module (gnu packages imagemagick) #:use-module (gnu packages inkscape) #:use-module (gnu packages java) #:use-module (gnu packages jupyter) #:use-module (gnu packages kerberos) #:use-module (gnu packages libevent) #:use-module (gnu packages libffi) #:use-module (gnu packages libidn) #:use-module (gnu packages libusb) #:use-module (gnu packages linux) #:use-module (gnu packages llvm) #:use-module (gnu packages machine-learning) #:use-module (gnu packages man) #:use-module (gnu packages markup) #:use-module (gnu packages maths) #:use-module (gnu packages messaging) #:use-module (gnu packages monitoring) #:use-module (gnu packages multiprecision) #:use-module (gnu packages ncurses) #:use-module (gnu packages networking) #:use-module (gnu packages ninja) #:use-module (gnu packages node) #:use-module (gnu packages openstack) #:use-module (gnu packages pcre) #:use-module (gnu packages pdf) #:use-module (gnu packages perl) #:use-module (gnu packages photo) #:use-module (gnu packages pkg-config) #:use-module (gnu packages protobuf) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) #:use-module (gnu packages python-build) #:use-module (gnu packages python-check) #:use-module (gnu packages python-compression) #:use-module (gnu packages python-crypto) #:use-module (gnu packages python-science) #:use-module (gnu packages python-web) #:use-module (gnu packages qt) #:use-module (gnu packages rdf) #:use-module (gnu packages readline) #:use-module (gnu packages regex) #:use-module (gnu packages rust-apps) #:use-module (gnu packages scanner) #:use-module (gnu packages sdl) #:use-module (gnu packages search) #:use-module (gnu packages serialization) #:use-module (gnu packages shells) #:use-module (gnu packages sphinx) #:use-module (gnu packages ssh) #:use-module (gnu packages statistics) #:use-module (gnu packages swig) #:use-module (gnu packages tcl) #:use-module (gnu packages terminals) #:use-module (gnu packages tex) #:use-module (gnu packages texinfo) #:use-module (gnu packages textutils) #:use-module (gnu packages time) #:use-module (gnu packages tls) #:use-module (gnu packages version-control) #:use-module (gnu packages video) #:use-module (gnu packages web) #:use-module (gnu packages wxwidgets) #:use-module (gnu packages xml) #:use-module (gnu packages xdisorg) #:use-module (gnu packages xorg) #:use-module (guix packages) #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system meson) #:use-module (guix build-system pyproject) #:use-module (guix build-system python) #:use-module (guix download) #:use-module (guix hg-download) #:use-module (guix git-download) #:use-module (guix gexp) #:use-module (guix utils) #:use-module (srfi srfi-1) #:use-module (srfi srfi-26)) (define-public python-apprise (package (name "python-apprise") (version "1.7.4") (source (origin (method url-fetch) (uri (pypi-uri "apprise" version)) (sha256 (base32 "0wvs1k71fipn617y9wsdcvwcgg2pd0nvriarlwl4438la4086ppg")))) (build-system pyproject-build-system) (propagated-inputs (list python-certifi python-click python-dataclasses python-markdown python-pyyaml python-requests python-requests-oauthlib)) (native-inputs (list python-babel python-coverage python-cryptography python-flake8 python-paho-mqtt python-pytest python-pytest-cov python-pytest-mock python-pytest-xdist python-wheel)) (arguments (list #:phases #~(modify-phases %standard-phases (replace 'check (lambda* (#:key tests? inputs outputs #:allow-other-keys) (when tests? (delete-file "test/test_plugin_macosx.py") (invoke "pytest"))))))) (home-page "https://github.com/caronc/apprise") (synopsis "Push notification Python library that works with many platforms") (description "Apprise is a Python library that allows sending push notifications to a broad range of notification services, such as Telegram, Discord, Slack, Amazon SNS, Gotify, etc.") (license license:bsd-2))) (define-public python-archspec (package (name "python-archspec") (version "0.2.3") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/archspec/archspec") (commit (string-append "v" version)) (recursive? #t))) (file-name (git-file-name name version)) (sha256 (base32 "03yfn4b9xg41pd7vls2cils77wkkb9si1h2qqvnkds661fdankqj")))) (build-system pyproject-build-system) (arguments (list #:phases '(modify-phases %standard-phases ;; Numba needs a writable dir to cache functions. (add-before 'build 'set-numba-cache-dir (lambda _ (setenv "NUMBA_CACHE_DIR" "/tmp")))))) (propagated-inputs (list python-boltons python-cooler python-ctxcore python-interlap python-intervaltree python-jsonschema python-networkx python-numba python-poetry-core pyscenic python-scikit-learn python-tables python-typing-extensions)) (native-inputs (list python-black python-flake8 python-isort python-poetry-core python-pylint python-pytest python-pytest-cov)) (home-page "https://github.com/archspec/archspec") (synopsis "Library to query system architecture") (description "Archspec offers human-readable labels for system architecture aspects. These aspects include CPU, network fabrics, etc. In addition, it offers APIs to detect, query, and compare them.") (license license:expat))) (define-public python-awkward-cpp (package (name "python-awkward-cpp") (version "32") (source (origin (method url-fetch) (uri (pypi-uri "awkward-cpp" version)) (sha256 (base32 "1w11fjkwrian3vll7jhnisl1b6m6rk2rqx0n9d1hzyq6cbw5m35d")))) (build-system pyproject-build-system) (propagated-inputs (list python-importlib-resources python-numpy)) (native-inputs (list cmake pybind11 python-pytest python-scikit-build-core)) (home-page "https://github.com/scikit-hep/awkward-1.0") (synopsis "CPU kernels and compiled extensions for Awkward Array") (description "Awkward CPP provides precompiled routines for the awkward package. It is not useful on its own, only as a dependency for awkward.") (license license:bsd-3))) (define-public python-awkward (package (name "python-awkward") (version "2.6.3") (source (origin (method url-fetch) (uri (pypi-uri "awkward" version)) (sha256 (base32 "1s280ndr4r2q9qn9c0slan5zw37p41cx8q5z6k6p988afr01c6j8")))) (build-system pyproject-build-system) (arguments (list #:test-flags ;; CUDA is and requires proprietary software. '(list "--ignore-glob=tests-cuda**"))) (propagated-inputs (list python-awkward-cpp python-fsspec python-importlib-metadata python-numpy python-packaging python-typing-extensions)) (native-inputs (list python-hatch-fancy-pypi-readme python-hatchling python-pytest)) (home-page "https://github.com/scikit-hep/awkward-1.0") (synopsis "Manipulate JSON-like data with NumPy-like idioms") (description "Awkward Array is a library for nested, variable-sized data, including arbitrary-length lists, records, mixed types, and missing data, using NumPy-like idioms.") (license license:bsd-3))) (define-public python-xmldiff (package (name "python-xmldiff") (version "2.7.0") (source (origin (method url-fetch) (uri (pypi-uri "xmldiff" version)) (sha256 (base32 "18k8kiml9wpl4wf9lmi0j6ys21lbdv8fa8r9qrzdsrh3h0ghp4f0")))) (build-system python-build-system) (propagated-inputs (list python-lxml)) (home-page "https://github.com/Shoobx/xmldiff") (synopsis "Creates diffs of XML files") (description "This Python tool figures out the differences between two similar XML files, in the same way the @command{diff} utility does it.") (license license:expat))) (define-public python-janus (package (name "python-janus") (version "1.0.0") (source (origin (method url-fetch) (uri (pypi-uri "janus" version)) (sha256 (base32 "04hnrdcf03g1s0x3sr72sh9gnszz6kyfsl9dg8a4n0zvvhn6z5yz")))) (build-system pyproject-build-system) (native-inputs (list python-pytest python-pytest-cov python-pytest-asyncio)) (propagated-inputs (list python-typing-extensions)) (home-page "https://github.com/aio-libs/janus/") (synopsis "Sync-async queue to interoperate between asyncio tasks and classic threads") (description "Mixed sync-async queue, supposed to be used for communicating between classic synchronous (threaded) code and asynchronous (in terms of @url{https://docs.python.org/3/library/asyncio.html,asyncio}) one. Like @url{https://en.wikipedia.org/wiki/Janus,Janus god} the queue object from the library has two faces: synchronous and asynchronous interface. Synchronous is fully compatible with @url{https://docs.python.org/3/library/queue.html,standard queue}, asynchronous one follows @url{https://docs.python.org/3/library/asyncio-queue.html,asyncio queue design}.") (license license:asl2.0))) (define-public python-jupytext (package (name "python-jupytext") (version "1.14.4") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/mwouts/jupytext") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "19d443vx597zzxna09qpync9iic3mris80bwm3kd8xaxaq0zq9w4")))) (build-system python-build-system) (arguments (list #:phases #~(modify-phases %standard-phases (replace 'check (lambda* (#:key tests? #:allow-other-keys) ;; some tests fail when HOME=/homeless-shelter. (setenv "HOME" "/tmp") ;; OSError: [Errno 18] Invalid cross-device link (setenv "TMPDIR" "/tmp") (when tests? (let ((disabled-tests (list "test_create_header_with_set_formats" "test_pre_commit_hook" "test_sync_with_pre_commit_hook"))) (invoke "pytest" "-vv" "-k" (string-append "not " (string-join disabled-tests " and not ")))))))))) (native-inputs (list git-minimal pre-commit python-autopep8 python-black python-flake8 python-gitpython python-isort python-ipython-genutils python-jupyter-server python-pytest python-pyaml)) (propagated-inputs (list python-markdown-it-py python-mdit-py-plugins python-nbformat)) (home-page "https://github.com/mwouts/jupytext") (synopsis "Jupyter notebooks as Markdown documents, Julia, Python or R scripts") (description "Jupytext is a plugin for Jupyter that can save Jupyter notebooks as either Markdown files or scripts in many languages. Common use cases for Jupytext are: @itemize @item version control on Jupyter Notebooks @item editing, merging or refactoring notebooks in your favorite text editor @item applying Q&A checks on notebooks. @end itemize ") (license license:expat))) (define-public python-concurrent-log-handler (package (name "python-concurrent-log-handler") (version "0.9.25") ;; No tests in the PyPI tarball. (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/Preston-Landers/concurrent-log-handler") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "0jp4zkm0idfdsrq3jzb52iqfkh6xzm7sacz1sa34ffnkyqdk3xzh")))) (build-system pyproject-build-system) (propagated-inputs (list python-portalocker)) (native-inputs (list python-hatchling python-pytest)) (home-page "https://github.com/Preston-Landers/concurrent-log-handler") (synopsis "Additional log handler for Python's standard @code{logging} package") (description "This package provides an additional log handler for Python's standard @code{logging} package (PEP 282). This handler will write log events to a log file which is rotated when the log file reaches a certain size. Multiple processes can safely write to the same log file concurrently and rotated logs can be gzipped if desired. An optional threaded queue logging handler is provided to perform logging in the background.") (license license:asl2.0))) (define-public python-logzero (package (name "python-logzero") (version "1.7.0") (source (origin (method url-fetch) (uri (pypi-uri "logzero" version)) (sha256 (base32 "10nh186vk6hpnpfycym44gja4fja0jyzw7q8dwimfd1rmv9xswvz")))) (build-system python-build-system) (native-inputs (list python-pytest python-pytest-runner)) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (lambda* (#:key tests? inputs outputs #:allow-other-keys) (when tests? (add-installed-pythonpath inputs outputs) (invoke "pytest"))))))) (home-page "https://github.com/metachris/logzero") (synopsis "Robust and effective logging for Python") (description "@code{logzero} provides a fully configured Python logger object for easy logging and rotating to a console or a file.") (license license:expat))) (define-public python-logbook (package (name "python-logbook") (version "1.5.3") (source (origin (method url-fetch) (uri (pypi-uri "Logbook" version)) (sha256 (base32 "1s1gyfw621vid7qqvhddq6c3z2895ci4lq3g0r1swvpml2nm9x36")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (add-before 'build 'cythonize-sources (lambda _ (with-directory-excursion "logbook" (invoke "cython" "_speedups.pyx")))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? ;; Check cython build also (setenv "CYBUILD" "True") (invoke "pytest" "--cov=logbook" "-r" "s" "tests"))))))) (native-inputs (list python-cython python-mock python-pytest python-pytest-cov python-brotli)) (home-page "https://github.com/getlogbook/logbook") (synopsis "Logbook is a logging replacement for Python") (description "Logbook is a logging system for Python that replaces the standard library’s logging module. It was designed with both complex and simple applications in mind and the idea to make logging fun.") (license license:bsd-3))) (define-public python-ubelt (package (name "python-ubelt") (version "1.0.1") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/Erotemic/ubelt") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "0hac9nqqvqfbca2s4g0mp1fnj0ah60bg9fb8234ibna3jww8qs33")))) (build-system python-build-system) (arguments (list #:phases #~(modify-phases %standard-phases (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? (setenv "HOME" "/tmp") ;else the test suite hangs (invoke "pytest" "-vv" "-k" (string-append ;; The builder user home doesn't match HOME, ;; which causes this test to fail. "not userhome " ;; This one pointlessly tries ;; locating various binaries on ;; the path. "and not find_exe")))))))) (propagated-inputs (list python-ordered-set)) (native-inputs (list python-pytest python-requests python-xdoctest)) (home-page "https://github.com/Erotemic/ubelt") (synopsis "Python library for hashing, caching, timing and more") (description "Ubelt is a small library of simple functions that extend the Python standard library. It includes an @acronym{API, Application Programming Interface} to simplify common problems such as caching, timing, computing progress, among other things.") (license license:asl2.0))) (define-public python-ueberzug (package (name "python-ueberzug") (version "18.1.9") (source (origin (method url-fetch) (uri (pypi-uri "ueberzug" version)) (sha256 (base32 "1hxd45dnwa9yv908acarr98n2drmar66wzq9z2qd3irj24srzr3w")))) (build-system python-build-system) (inputs (list libx11 libxext)) (propagated-inputs (list python-attrs python-docopt python-pillow python-xlib)) (home-page "https://github.com/seebye/ueberzug") (synopsis "Command line util to display images in combination with X11") (description "Überzug is a command line util which draws images on terminals by using child windows. The advantages of using Überzug are: @itemize @item No race conditions as a new window is created to display images. @item Expose events will be processed, so images will be redrawn on switch workspaces. @item Tmux support (excluding multi pane windows). @item Terminals without the WINDOWID environment variable are supported. @item Chars are used as position - and size unit. @item No memory leak (/ unlimited cache). @end itemize") (license license:gpl3+))) (define-public python-databind-core (package (name "python-databind-core") (version "4.4.2") (source (origin (method url-fetch) (uri (pypi-uri "databind.core" version)) (sha256 (base32 "130hr19kbzizx9n2q7cwfzfk20ii3cqmqjrzb16psnafll303k2d")) (snippet #~(begin (use-modules (guix build utils)) ;; The problem with python-typing-extensions >= 4.7 is only ;; with python-3.7. (substitute* "pyproject.toml" ((",<4.7.*") "\"\n")))))) (build-system pyproject-build-system) (arguments (list #:phases #~(modify-phases %standard-phases (add-after 'install 'fix-name (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((sitedir (site-packages inputs outputs)) (dist-info (string-append sitedir "/databind_core-" #$version ".dist-info"))) (substitute* (string-append dist-info "/METADATA") (("Name: databind-core") "Name: databind.core")) (substitute* (string-append dist-info "/RECORD") (("databind_core") "databind.core")) (rename-file dist-info (string-append sitedir "/databind.core-" #$version ".dist-info")))))))) (propagated-inputs (list python-deprecated python-nr-date python-nr-stream python-typeapi python-typing-extensions)) (native-inputs (list python-poetry-core python-pytest)) (home-page "https://niklasrosenstein.github.io/python-databind/core/") (synopsis "Library for de-/serializing Python dataclasses") (description "Databind is a library inspired by jackson-databind to de-/serialize Python dataclasses.") (license license:expat))) (define-public python-databind-json (package (name "python-databind-json") (version "4.4.2") (source (origin (method url-fetch) (uri (pypi-uri "databind.json" version)) (sha256 (base32 "1lm864d7arfq0pw64hyc83bwn1z94wjg7a22q1xf0qkjynqs70gg")) (snippet #~(begin (use-modules (guix build utils)) ;; The problem with python-typing-extensions >= 4.7 is only ;; with python-3.7. (substitute* "pyproject.toml" ((",<4.7.*") "\"\n")))))) (build-system pyproject-build-system) (arguments (list #:phases #~(modify-phases %standard-phases (add-after 'install 'fix-name (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((sitedir (site-packages inputs outputs)) (dist-info (string-append sitedir "/databind_json-" #$version ".dist-info"))) (substitute* (string-append dist-info "/METADATA") (("Name: databind-json") "Name: databind.json")) (substitute* (string-append dist-info "/RECORD") (("databind_json") "databind.json")) (rename-file dist-info (string-append sitedir "/databind.json-" #$version ".dist-info")))))))) (propagated-inputs (list python-databind-core python-nr-date python-typeapi python-typing-extensions)) (native-inputs (list python-poetry-core python-pytest)) (home-page "https://niklasrosenstein.github.io/python-databind/json/") (synopsis "De-/serialize Python dataclasses to or from JSON payloads") (description "The @code{databind.json} package implements the de-/serialization to or from JSON payloads using the @code{databind.core} framework.") (license license:expat))) (define-public python-docspec (package (name "python-docspec") (version "2.2.1") (source (origin (method url-fetch) (uri (pypi-uri "docspec" version)) (sha256 (base32 "1zqmdrc6k8pprra8p3wpzq2ml2gph1cfjmsyg07f8b8fvizffm28")))) (build-system pyproject-build-system) (arguments (list #:tests? #false)) ;there are none (propagated-inputs (list python-databind-core python-databind-json python-deprecated)) (native-inputs (list python-poetry-core)) (home-page "https://github.com/NiklasRosenstein/python-docspec") (synopsis "Represent API documentation of programming languages") (description "Docspec is a JSON object specification for representing API documentation of programming languages.") (license license:expat))) (define-public python-docspec-python (package (name "python-docspec-python") (version "2.2.1") (source (origin (method url-fetch) (uri (pypi-uri "docspec_python" version)) (sha256 (base32 "0n8m52vxmlvkj7p5jmd4rfdks65rrp4q4vzak44y6kbg9l5qa6y4")))) (build-system pyproject-build-system) (arguments (list #:tests? #false ;there are none #:phases '(modify-phases %standard-phases (add-after 'unpack 'relax-requirements (lambda _ ;; We don't have black 23. (substitute* "pyproject.toml" (("23.1.0") "22.3.0"))))))) (propagated-inputs (list python-black python-docspec python-nr-util)) (native-inputs (list python-poetry-core)) (home-page "https://github.com/NiklasRosenstein/docspec/") (synopsis "Produce docspec data from Python source code") (description "This package provides a parser based on @code{lib2to3} producing @code{docspec} data from Python source code.") (license license:expat))) (define-public python-fire (package (name "python-fire") (version "0.6.0") (source (origin (method url-fetch) (uri (pypi-uri "fire" version)) (sha256 (base32 "0rmaw26xjndr7makpiqv4h9aav9xf2h280w0khqc1lyddscmpv2l")))) (build-system python-build-system) (arguments '(#:phases (modify-phases %standard-phases (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? (invoke "pytest"))))))) (propagated-inputs (list python-six python-termcolor)) (native-inputs (list python-mock python-pytest)) (synopsis "Library for automatically generating command line interfaces") (description "Fire is a library for automatically generating command line interfaces from absolutely any Python object. The following are the advantages: @itemize @item A simple way to create a CLI in Python. @item A helpful tool for developing and debugging Python code. @item Helps with exploring existing code or turning other people's code into a command line interface. @item Makes transitioning between Bash and Python easier. @item Makes using a Python REPL easier by setting up the REPL with the modules and variables you'll need already imported and created. @end itemize") (home-page "https://github.com/google/python-fire") (license license:asl2.0))) (define-public python-fit-nbinom (package (name "python-fit-nbinom") (version "1.1") (source (origin (method url-fetch) (uri (pypi-uri "fit_nbinom" version)) (sha256 (base32 "12v8l5i35vjbpvh5i4lw29ys6vpr3z7pysyrx33hxaq09zr015mx")))) (build-system pyproject-build-system) (arguments (list #:tests? #false ;there are none #:phases '(modify-phases %standard-phases (add-after 'unpack 'remove-invalid-syntax (lambda _ (substitute* "setup.py" ((".\\*\"") "\""))))))) (propagated-inputs (list python-numpy python-scipy)) (home-page "https://github.com/joachimwolff/fit_nbinom") (synopsis "Negative binomial maximum likelihood estimator") (description "This package provides an implementation in Python using scipy and numpy of negative binomial maximum likelihood estimation.") (license license:gpl3+))) (define-public python-docrep (package (name "python-docrep") (version "0.3.2") (source (origin (method url-fetch) (uri (pypi-uri "docrep" version)) (sha256 (base32 "0523jrzjj29kxpdllmfhrfj9kysi9mphp2m7ippjkn5b07i1g2pd")))) (build-system pyproject-build-system) (propagated-inputs (list python-six)) (native-inputs (list python-pytest python-pytest-runner)) (home-page "https://github.com/Chilipp/docrep") (synopsis "Python package for docstring repetition") (description "Docrep is the documentation repetition module. This module targets developers that develop complex and nested Python APIs and helps them to create a well-documented piece of software.") (license license:asl2.0))) (define-public python-dotmap (package (name "python-dotmap") (version "1.3.30") (source (origin (method url-fetch) (uri (pypi-uri "dotmap" version)) (sha256 (base32 "0s5kb2v7jd0narz6m6jcicak3h5pw290wz21cdsv8pq77y9sf8aq")))) (build-system python-build-system) (home-page "https://github.com/drgrib/dotmap") (synopsis "Ordered, dynamically-expandable dot-access dictionary") (description "DotMap is a dot-access dictionary subclass that has dynamic hierarchy creation, can be initialized with keys, can be initialized from a dictionary, can be convert to a dictionary, and is ordered by insertion.") (license license:expat))) (define-public python-dotty-dict (package (name "python-dotty-dict") (version "1.3.1") (source (origin (method url-fetch) (uri (pypi-uri "dotty_dict" version)) (sha256 (base32 "058sah2nyg44xq5wxywlzc3abzcv9fifnlvsflwma9mfp01nw0ab")))) (build-system pyproject-build-system) (native-inputs (list python-poetry-core)) (home-page "https://github.com/pawelzny/dotty_dict") (synopsis "Python library for accessing dictionaries using a dot syntax") (description "This package provides a library that wraps the traditional Python dictionaries and provides a syntax to access nested dictionaries values using a dot syntax, for example: @code{dictionary['deeply.nested.key']}.") (license license:expat))) (define-public python-twodict (package (name "python-twodict") (version "1.2") (source (origin (method url-fetch) (uri (pypi-uri "twodict" version)) (sha256 (base32 "0ifv7dv18jn2lg0a3l6zdlvmmlda2ivixfjbsda58a2ay6kxznr0")))) (build-system python-build-system) (home-page "https://github.com/MrS0m30n3/twodict") (synopsis "Two way ordered dictionary for Python") (description "TwoDict is a custom dictionary in which you can get the key:value relationship but you can also get the value:key relationship. It also remembers the order in which the items were inserted and supports almost all the features of the Python's built-in dict.") (license license:unlicense))) (define-public python-adjusttext (package (name "python-adjusttext") (version "0.8") (source (origin (method url-fetch) (uri (pypi-uri "adjustText" version)) (sha256 (base32 "05zf0xn7ab40dan213fwbp1z4rybih8dphf9mzb2ddmbafxq41mv")))) (build-system pyproject-build-system) (arguments (list #:tests? #false)) ;there are none (propagated-inputs (list python-matplotlib python-numpy)) (home-page "https://github.com/Phlya/adjustText") (synopsis "Adjust text position in matplotlib plots to minimize overlaps") (description "Often when we want to label multiple points on a graph the text will start heavily overlapping with both other labels and data points. This can be a major problem requiring manual solution. However this can be largely automatized by smart placing of the labels (difficult) or iterative adjustment of their positions to minimize overlaps (relatively easy). This library implements the latter option to help with matplotlib graphs.") (license license:expat))) (define-public python-affine (package (name "python-affine") (version "2.4.0") (source (origin (method url-fetch) (uri (pypi-uri "affine" version)) (sha256 (base32 "1shyvajayyzbkp9dihb4mz835jnkp0kqqbyjfqci6v43da6q2kd2")))) (build-system pyproject-build-system) (propagated-inputs (list python-coveralls python-flake8 python-pydocstyle python-pytest python-pytest-cov)) (native-inputs (list python-flit-core)) (home-page "https://github.com/rasterio/affine") (synopsis "Matrices describing affine transformation of the plane") (description "This is a package for matrices describing the affine transformation of the plane.") (license license:bsd-3))) (define-public python-argopt (package (name "python-argopt") (version "0.7.0") (source (origin (method url-fetch) (uri (pypi-uri "argopt" version)) (sha256 (base32 "0ybs7kkp0cpl8zn1lvf7481xhssg1bbhh5la2cjzdm5yibashyxa")))) (build-system python-build-system) (native-inputs (list python-coverage python-nose python-setuptools ; Won't build without this. python-setuptools-scm)) (propagated-inputs (list python-toml python-flake8)) (home-page "https://github.com/casperdcl/argopt") (synopsis "Generate a command-line interface from a docstring") (description "This package provides tools to define a command line interface from a docstring rather than the other way around.") (license license:mpl2.0))) (define-public python-array-api-compat (package (name "python-array-api-compat") (version "1.6") (source (origin (method url-fetch) (uri (pypi-uri "array_api_compat" version)) (sha256 (base32 "1bvn92v52h8p2zpinwv5bl1314kdjw3msalj91nczfdbrmay78bl")))) (build-system pyproject-build-system) ;; Tests would require all supported array libraries, including pytorch (arguments (list #:tests? #false)) (propagated-inputs (list python-numpy)) (home-page "https://data-apis.org/array-api-compat/") (synopsis "Array API compatibility wrapper for NumPy et al") (description "This package provides a wrapper around @code{NumPy} and other array libraries to make them compatible with the Array API standard") (license license:expat))) (define-public python-cachetools (package (name "python-cachetools") (version "5.3.1") (source (origin (method url-fetch) (uri (pypi-uri "cachetools" version)) (sha256 (base32 "0azn5c4nkwpq7s5wjzs605if9nxjzblghjnlihm767sfkcnkzs6w")))) (build-system python-build-system) (home-page "https://github.com/tkem/cachetools/") (synopsis "Extensible memoizing collections and decorators") (description "This module provides various memoizing collections and decorators, including variants of the Python standard library's @code{lru_cache} function decorator.") (license license:expat))) (define-public python-cobib (package (name "python-cobib") (version "3.5.2") (source (origin (method url-fetch) (uri (pypi-uri "cobib" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "16nbrbvascbf6cb7yvn9q793dy8zx703pqrmk3mswib9a19mnx3n")))) (build-system python-build-system) (propagated-inputs (list python-beautifulsoup4 python-bibtexparser python-pylatexenc python-requests python-requests-oauthlib python-ruamel.yaml)) (native-inputs (list python-future python-pyte python-pytest)) (home-page "https://gitlab.com/mrossinek/cobib") (synopsis "Terminal-based bibliography management tool") (description "@command{cobib} is a command-line based bibliography management tool. It uses a plain-text database, a location-independent library, and features git integration, command-line support, and a curses-based TUI.") (license license:expat))) (define-public python-colorcet (package (name "python-colorcet") (version "3.1.0") (source (origin (method url-fetch) (uri (pypi-uri "colorcet" version)) (sha256 (base32 "1sx4m5xbz1k8bm8cr2f3x21dip167k7c1nv35npqla52h76v6899")))) (build-system pyproject-build-system) (native-inputs (list python-nbval python-packaging python-pytest python-pytest-cov python-pytest-mpl)) (home-page "https://colorcet.holoviz.org/") (synopsis "Collection of perceptually uniform colormaps") (description "Colorcet is a collection of perceptually accurate 256-color colormaps for use with Python plotting programs like Bokeh, Matplotlib, HoloViews, and Datashader.") (license license:cc-by4.0))) (define-public python-colored (package (name "python-colored") (version "1.4.4") (source (origin (method git-fetch) (uri (git-reference (url "https://gitlab.com/dslackw/colored") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "196ins0m7f90xz5dw764dlx060ziqbcydqzzq40b4ir5858baf3r")))) (build-system pyproject-build-system) (arguments (list #:tests? #false)) ;the tests are not run automatically (home-page "https://gitlab.com/dslackw/colored") (synopsis "Simple library for color and formatting to terminal") (description "This is a very simple Python library for color and formatting in the terminal. It comes with a collection of color codes and names for 256 color terminal setups.") (license license:expat))) (define-public python-colorful (package (name "python-colorful") (version "0.5.5") (source (origin (method git-fetch) ; no tests data in PyPi package (uri (git-reference (url "https://github.com/timofurrer/colorful") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "0kyy9qhvrb5m9h8xmri7c88i0k1g5qc7017anw39gx44an7mn33y")))) (build-system pyproject-build-system) (native-inputs (list python-coverage python-flake8 python-pytest)) (propagated-inputs (list python-colorama)) (home-page "http://github.com/timofurrer/colorful") (synopsis "Terminal string styling") (description "Colorful provides an array of text styles, that can be used as functions or string constants to form colored terminal output.") (license license:expat))) (define-public python-colorthief (package (name "python-colorthief") (version "0.2.1") (source (origin (method url-fetch) (uri (pypi-uri "colorthief" version)) (sha256 (base32 "08bjsmmkihyksms2vgndslln02rvw56lkxz28d39qrnxbg4v1707")))) (build-system pyproject-build-system) (propagated-inputs (list python-pillow)) (home-page "https://github.com/fengsp/color-thief-py") (synopsis "Grab the color palette of an image") (description "This package provides methods to determine the dominant color of an image, as well as constructing a representative color palette.") (license license:bsd-3))) (define-public python-construct-classes (package (name "python-construct-classes") (version "0.1.2") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/matejcik/construct-classes") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "0fmr8nfg543lyqk4164a52jb6lwpq98radicbkhhdfckq9lib2wp")))) (build-system pyproject-build-system) (propagated-inputs (list python-construct)) (native-inputs (list python-poetry-core python-pytest)) (home-page "https://github.com/matejcik/construct-classes") (synopsis "Parse binary structs into dataclasses") (description "This package provides a parser to parse binary structs into dataclasses.") (license license:expat))) (define-public python-contourpy (package (name "python-contourpy") (version "1.1.1") (source (origin (method url-fetch) (uri (pypi-uri "contourpy" version)) (sha256 (base32 "1az80zv067rcybm5x93j7rfiakbwiv1h8l58gnki4wjbwb13gfln")))) (build-system pyproject-build-system) (arguments ;; Image tests require matplotlib and create a circular dependency. (list #:test-flags #~(list "-m" "not image"))) (propagated-inputs (list python-numpy)) (native-inputs (list cmake meson-python pkg-config pybind11 python-pytest python-pytest-cov python-wurlitzer)) (home-page "https://contourpy.readthedocs.io/") (synopsis "Python library for calculating contours of 2D quadrilateral grids") (description "ContourPy is a Python library for calculating contours of 2D quadrilateral grids. It is written in C++11 and wrapped using pybind11.") (license license:bsd-3))) (define-public python-yaspin (package (name "python-yaspin") (version "1.5.0") (source (origin (method url-fetch) (uri (pypi-uri "yaspin" version)) (sha256 (base32 "1iirah0kydrdp505qnjj6gi54avcr7z0hbkfx9vmh8myr30rpz6q")))) (build-system python-build-system) (native-inputs (list python-pytest)) (home-page "https://github.com/pavdmyt/yaspin") (synopsis "Yet Another Terminal Spinner") (description "Yaspin provides a terminal spinner to indicate the progress during long operations.") (license license:expat))) (define-public python-lunr (package (name "python-lunr") (version "0.7.0.post1") (source (origin (method url-fetch) (uri (pypi-uri "lunr" version)) (sha256 (base32 "1njb23lw619ppidqdzygdrscna4z15n9xjc4cc7yxiskkgsriz00")))) (build-system pyproject-build-system) (arguments (list #:test-flags '(list "-k" "not TestLanguageSupport" "--ignore-glob=tests/acceptance_tests/*"))) (native-inputs (list python-coverage python-hatch-fancy-pypi-readme python-hatchling python-pytest python-pytest-timeout python-tox)) (propagated-inputs (list python-importlib-metadata python-typing-extensions)) (home-page "https://github.com/yeraydiazdiaz/lunr.py") (synopsis "Full-text search library") (description "This package provides python library for full-text search. It indexes documents and provides a search interface for retrieving documents that best match text queries.") (license license:expat))) (define-public python-mdit-py-plugins (package (name "python-mdit-py-plugins") (version "0.3.1") (source (origin (method git-fetch) ;for tests (uri (git-reference (url "https://github.com/executablebooks/mdit-py-plugins") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "00ybbfb6dzn9q5qnvnm8bmhd84s215ik7pcdb4r35zhwiv2ikizz")))) (build-system pyproject-build-system) (propagated-inputs (list python-markdown-it-py python-attrs)) (native-inputs (list python-coverage python-flit-core python-pytest python-pytest-cov python-pytest-regressions)) (home-page "https://github.com/executablebooks/mdit-py-plugins") (synopsis "Collection of plugins for markdown-it-py") (description "This package contains a collection of plugins for @code{markdown-it-py} like: @enumerate @item amsmath, @item attrs, @item container, @item definition list, @item dollarmath, @item field list, @item footnote, @item textmath, and @item wordcount. @end enumerate") (license license:expat))) (define-public python-mdurl (package (name "python-mdurl") (version "0.1.2") (source (origin (method git-fetch) ; no tests data in PyPi package (uri (git-reference (url "https://github.com/executablebooks/mdurl") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "0csc777q42jzv4zgdzxmwp8xqlb92ws1jvj09m2smh4klw67q5f3")))) (build-system pyproject-build-system) (native-inputs (list python-flit python-pytest)) (home-page "https://github.com/executablebooks/mdurl") (synopsis "Markdown URL utilities") (description "This package implements a Python port of the JavaScript @code{mdurl}.") (license license:expat))) (define-public python-mrkd (package (name "python-mrkd") (version "0.2.0") (source (origin (method url-fetch) (uri (pypi-uri "mrkd" version)) (sha256 (base32 "1bvaqbna1ihb4y2mv9pmvqcq3r9j6lwbbii99dani8lxx4dqqvs5")))) (build-system python-build-system) (propagated-inputs (list python-jinja2 python-mistune python-pygments)) (home-page "https://pypi.org/project/mrkd/") (synopsis "Python Markdown implementation") (description "@code{mrkd} writes man pages using Markdown, and convert them to Roff or HTML") (license license:bsd-3))) (define-public python-mkdocs (package (name "python-mkdocs") (version "1.3.0") (source (origin ;; The tests suite appears to be incomplete in the PyPI archive. (method git-fetch) (uri (git-reference (url "https://github.com/mkdocs/mkdocs") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "1n5rdllrxvhnxmdrddf55p3s86dakx0rq2gg6bj6pr6jg2pn932b")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases ;; Requirements refer to a specific version of dependencies, ;; which are too old. So we patch to refer to any later version. (add-after 'unpack 'patch-requirements (lambda _ (substitute* "setup.py" (("==") ">=")))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? (invoke "python" "-m" "unittest" "discover" "-p" "*tests.py" "mkdocs" "--top-level-directory" "."))))))) (propagated-inputs (list python-babel python-click python-ghp-import python-importlib-metadata python-jinja2 python-markdown python-markupsafe python-mdx-gh-links python-mergedeep python-packaging python-pyyaml python-pyyaml-env-tag python-watchdog)) (home-page "https://www.mkdocs.org") (synopsis "Project documentation with Markdown") (description "MkDocs is a static site generator geared towards building project documentation. Documentation source files are written in Markdown, and configured with a single YAML configuration file.") (license license:bsd-3))) (define-public python-mkdocs-markdownextradata-plugin (package (name "python-mkdocs-markdownextradata-plugin") (version "0.2.5") (source (origin ;; Use git, as there are some test files missing from the PyPI release, ;; see https://github.com/rosscdh/mkdocs-markdownextradata-plugin/issues/41. (method git-fetch) (uri (git-reference (url "https://github.com/rosscdh/mkdocs-markdownextradata-plugin") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "1a3868s9m7pzyfncpjbjsa9vw5nihssl2v47pxj7h6qa67kvlk3g")))) (build-system python-build-system) (native-inputs (list python-pytest)) (propagated-inputs (list python-mkdocs python-pyyaml)) (home-page "https://github.com/rosscdh/mkdocs-markdownextradata-plugin/") (synopsis "Inject mkdocs.yml extra variables into the MkDocs markdown template") (description "This package provides a MkDocs plugin that injects the mkdocs.yml extra variables into the markdown template") (license license:expat))) (define-public python-mysql-connector-python (package (name "python-mysql-connector-python") (version "8.0.33") ;; The archive on PyPi does not contain a build system (source (origin (method url-fetch) (uri (string-append "https://cdn.mysql.com/Downloads/" "Connector-Python/mysql-connector-python-" version "-src.tar.gz")) (sha256 (base32 "00j9xgd43yzx5yiijnlmpaqpa58m5lscjglsgzg48dibhr69br0l")))) (build-system python-build-system) (arguments (list #:configure-flags #~(list (string-append "--with-mysql-capi=" #$(this-package-input "mysql")) (string-append "--with-protobuf-include-dir=" #$(this-package-input "protobuf") "/include/google/protobuf") (string-append "--with-protobuf-lib-dir=" #$(this-package-input "protobuf") "/lib") (string-append "--with-protoc=" #$(this-package-input "protobuf") "/bin/protoc")) #:phases #~(modify-phases %standard-phases (add-after 'unpack 'compatibility (lambda _ (substitute* "src/mysql_capi.c" (("res = mysql_options\\(&self->session, MYSQL_OPT_LOAD_DATA_LOCAL_DIR.*") "res = 0;") (("mysql_options\\(&self->session, MYSQL_OPT_LOAD_DATA_LOCAL_DIR.*") "") (("mysql_options\\(&self->session, MYSQL_OPT_TLS_CIPHERSUITES.*") "") ;; The C API does not have mysql_bind_param, so we produce an ;; error here. (("status = mysql_bind_param.*") "status = 1;")) ;; See https://github.com/protocolbuffers/protobuf/issues/9943 (substitute* "src/mysqlxpb/mysqlxpb.cc" (("google::protobuf::string") "std::string")))) (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? ;; Some of these tests might be failing due to the build ;; container's restrictions, others are due to the version ;; mismatch. (substitute* "tests/cext/test_cext_api.py" (("def test_change_user") "def _do_not_test_change_user") (("def test_get_character_set_info") "def _do_not_test_get_character_set_info")) (substitute* "tests/test_bugs.py" (("def test_change_user") "def _do_not_test_change_user") (("def test_lost_connection") "def _do_not_test_lost_connection") (("def test_kill_query") "def _do_not_test_kill_query") ;; These all fail because of expired certificates. (("def test_cext_verify_server_certificate") "def _do_not_test_cext_verify_server_certificate") (("def test_pure_verify_server_certificate") "def _do_not_test_pure_verify_server_certificate") (("def test_verify_server_name_cext_cnx") "def _do_not_test_verify_server_name_cext_cnx") (("def test_verify_server_name_pure_cnx") "def _do_not_test_verify_server_name_pure_cnx")) (substitute* "tests/test_connection.py" (("def test_allow_local_infile_in_path") "def _do_not_test_allow_local_infile_in_path") ;; This fails because of expired certificates. (("def test_connect_with_unix_socket") "def _do_not_test_connect_with_unix_socket")) (substitute* "tests/test_mysqlx_connection.py" ;; This fails because of expired certificates. (("def test_ssl_connection") "def _do_not_test_ssl_connection")) (substitute* "tests/test_constants.py" (("def test_deprecated") "def _do_not_test_deprecated")) (mkdir-p "/tmp/datadir") (invoke "python3" "unittests.py" "--verbosity=3" (string-append "--with-mysql=" #$(this-package-input "mysql")) "--keep" "--mysql-topdir=/tmp/datadir" "--unix-socket=/tmp/datadir"))))))) (propagated-inputs (list python-protobuf)) (inputs (list mysql protobuf-3.20 openssl-1.1 zlib)) (home-page "https://dev.mysql.com/doc/connector-python/en/index.html") (synopsis "MySQL driver written in Python") (description "MySQL Connector/Python enables Python programs to access MySQL databases, using an API that is compliant with the Python Database API Specification v2.0 (PEP 249).") (license license:gpl2))) (define-public python-pdoc (package (name "python-pdoc") (version "13.0.1") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/mitmproxy/pdoc") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "0gxkw607nrd67ck4w8jri9vfrm5g60qvp8b134m8zkiphbxjnx0l")))) (build-system pyproject-build-system) (native-inputs (list python-pytest python-jinja2 python-pygments)) (arguments (list ;; Some tests fail, presumably because of slight version mismatches of ;; the dependencies. #:test-flags '(list "-k" (string-append "not test_var_with_raising_repr and " "not test_smoke[mock] and " "not test_snapshots[html")))) (home-page "https://pdoc.dev/") (synopsis "API documentation for Python projects") (description "pdoc auto-generates API documentation that follows your project's Python module hierarchy. It requires no configuration, has first-class support for type annotations, cross-links between identifiers, comes with an integrated live-reloading web server, uses customizable HTML templates, understands numpydoc and Google-style docstrings.") (license license:unlicense))) (define-public python-py4j (package (name "python-py4j") (version "0.10.9.7") (source (origin (method url-fetch) (uri (pypi-uri "py4j" version)) (sha256 (base32 "1fwdx92cdaiviradksfyygg05g1fpc3x2lf65bv5rnispcam6vhb")))) (build-system python-build-system) (home-page "https://www.py4j.org/") (synopsis "Dynamically access arbitrary Java objects from Python") (description "This package enables Python programs to dynamically access arbitrary Java objects.") (license license:bsd-3))) (define-public python-pymdown-extensions (package (name "python-pymdown-extensions") (version "8.1.1") (source (origin (method url-fetch) (uri (pypi-uri "pymdown-extensions" version)) (sha256 (base32 "0d8pdndrl1kj105lq7r6kw2dnhcvll6h2qs07w71mcpi7gx728v3")))) (build-system python-build-system) ;; FIXME: "AssertionError: False is not true" (arguments `(#:tests? #f)) (propagated-inputs (list python-markdown)) (home-page "https://github.com/facelessuser/pymdown-extensions") (synopsis "Extension pack for Python Markdown") (description "PyMdown Extensions is a collection of extensions for Python Markdown. All extensions are found under the module namespace of pymdownx.") (license license:expat))) (define-public python-pint (package (name "python-pint") (version "0.23") (source (origin (method url-fetch) (uri (pypi-uri "Pint" version)) (sha256 (base32 "1d69dqs0j907x4hgz2k8f3zjzhgs9zvlw2k0gi955g3dc28rnl71")))) (build-system pyproject-build-system) (arguments (list #:test-flags '(list "-k" (string-append ;; This test tries to write to $HOME/.cache/pint. "not test_auto" ;; Fails with "Group USCSLengthInternational already ;; present in registry" " and not test_load_definitions_stage_2")))) (native-inputs (list python-pytest python-pytest-benchmark python-pytest-cov python-pytest-mpl python-pytest-subtests python-setuptools-scm)) (propagated-inputs (list python-typing-extensions python-uncertainties)) (home-page "https://github.com/hgrecco/pint") (synopsis "Physical quantities module") (description "Pint is a Python package to define, operate and manipulate physical quantities: the product of a numerical value and a unit of measurement. It allows arithmetic operations between them and conversions from and to different units.") (license license:bsd-3))) (define-public python-plotext (package (name "python-plotext") (version "5.2.8") (source (origin (method url-fetch) (uri (pypi-uri "plotext" version)) (sha256 (base32 "1gpy1z2i4vq1mcrhysxahz4339pbl9rzk58rf5m5gf5ym9xji6ii")))) (build-system pyproject-build-system) (arguments (list #:tests? #false)) ;there are none (home-page "https://github.com/piccolomo/plotext") (synopsis "Plots in the terminal") (description "Plotext lets you plot directly to the terminal.") (license license:expat))) (define-public python-plotille (package (name "python-plotille") (version "4.0.2") (source (origin (method url-fetch) (uri (pypi-uri "plotille" version)) (sha256 (base32 "0fvsk6glxfphhqy405h05rj3v95jd1byl5hv2fyd5l31wln23shj")))) (build-system python-build-system) (native-inputs (list python-six)) (home-page "https://github.com/tammoippen/plotille") (synopsis "Plot in the terminal using braille dots") (description "Plotille provides a figure class and graphing functions to create plots, scatter plots, histograms and heatmaps in the terminal using braille dots.") (license license:expat))) (define-public python-poetry-dynamic-versioning (package (name "python-poetry-dynamic-versioning") (version "1.4.0") (source (origin (method url-fetch) (uri (pypi-uri "poetry_dynamic_versioning" version)) (sha256 (base32 "19v9jrawbx1nwnwrd6giyzwfq50y2mjzkrsx0ga2sbx2a2yphlbj")))) (build-system pyproject-build-system) (arguments (list #:test-flags #~(list "--ignore=tests/test_integration.py" ;; E RuntimeError: Unable to detect version control system. Not ;; installed: Git, Mercurial, Darcs, Subversion, Bazaar, Fossil, ;; Pijul. "-k" (string-append "not test__get_version__defaults" " and not test__get_version__format_jinja" " and not test__get_version__format_jinja_with_enforced_style" " and not test__get_version__format_jinja_imports_with_module_only" " and not test__get_version__format_jinja_imports_with_module_and_item")))) (native-inputs (list python-poetry-core python-pytest)) (propagated-inputs (list poetry python-dunamai python-jinja2 python-tomlkit)) (home-page "https://github.com/mtkennerly/poetry-dynamic-versioning") (synopsis "Poetry plugin enabling VCS tags dynamic versioning") (description "This package provides a build backend that patches Poetry Core to enable the versioning system in PEP 517 build frontends.") (license license:expat))) (define-public python-portpicker (package (name "python-portpicker") (version "1.6.0") (source (origin (method url-fetch) (uri (pypi-uri "portpicker" version)) (sha256 (base32 "1yiisk4h8qliwf99khz3lszrpjf6km76fbhzg01fwrbgz7b7yl5x")))) (build-system pyproject-build-system) (arguments (list #:test-flags ;; This fails because portserver ends up in bin, not site-packages '(list "--ignore=src/tests/portserver_test.py"))) (propagated-inputs (list python-psutil)) (native-inputs (list python-pytest net-tools)) (home-page "https://github.com/google/python_portpicker") (synopsis "Choose unique available network ports") (description "This package provides a library to choose unique available network ports.") (license license:asl2.0))) (define-public python-mdx-gh-links (package (name "python-mdx-gh-links") (version "0.2") (source (origin (method url-fetch) (uri (pypi-uri "mdx_gh_links" version)) (sha256 (base32 "167k1jbp3jifxbnlpi6wy0z1skam7gqv2sixb5bhggb2vypqvysr")))) (build-system python-build-system) (arguments (list #:tests? #f)) ;tests connect github (propagated-inputs (list python-markdown)) (home-page "https://github.com/Python-Markdown/github-links/") (synopsis "Python-Markdown extension adding support for shorthand links") (description "This package is an extension to Python-Markdown which adds support for shorthand links to GitHub users, repositories, issues and commits.") (license license:bsd-3))) (define-public python-mkdocs-material (package (name "python-mkdocs-material") (version "7.1.3") (source (origin (method url-fetch) (uri (pypi-uri "mkdocs-material" version)) (sha256 (base32 "0ci9xiasq9nfn09v11m7p49vzazdbgslw7rpzjd6y3hsmn9vljz3")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases ;; Requirement mkdocs-material-extensions ;; in-turn requires mkdocs-material. This causes ;; circular dependency, so we remove this requirement. (add-after 'unpack 'patch-requirements (lambda _ (substitute* "requirements.txt" (("mkdocs-material-extensions.*$") ""))))))) (propagated-inputs (list python-markdown python-mkdocs python-pygments python-pymdown-extensions)) (home-page "https://squidfunk.github.io/mkdocs-material/") (synopsis "Material Design theme for MkDocs") (description "This package provides a theme plugin for the static site generator MkDocs.") (license license:expat))) (define-public python-skranger (package (name "python-skranger") (version "0.8.0") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/crflynn/skranger") (commit version) (recursive? #true))) (file-name (git-file-name name version)) (sha256 (base32 "0njy4xbc98l295k92nyk93njv1348vd1il5pdyrnk8nnzc2anzf0")))) (build-system pyproject-build-system) (arguments (list #:modules '((guix build pyproject-build-system) (guix build utils) (ice-9 match)) #:test-flags ;; "from sklearn.datasets import load_boston" fails because it has been ;; removed from scikit-learn since version 1.2. '(list "--ignore=tests/conftest.py" "--ignore=tests/test_tools.py" "--ignore=tests/tree/test_regressor.py" "--ignore=tests/ensemble/test_regressor.py") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'fix-tests (lambda _ (substitute* "tests/conftest.py" (("from sklearn.datasets import load_boston") "") (("^_boston_X.*") "_boston_X, _boston_Y = (True, True)\n")))) (add-before 'check 'build-extensions (lambda _ ;; Cython extensions have to be built before running the tests. (invoke "python" "buildpre.py") (invoke "python" "build.py" "build_ext" "--inplace") (let ((site (string-append #$output "/lib/python" #$(version-major+minor (package-version python)) "/site-packages/skranger")) (lib (match (find-files "build" "\\.so") ((the-lib) the-lib) (_ (error "could not find .so"))))) (mkdir-p site) (install-file lib site))))))) (propagated-inputs (list python-scikit-learn)) (native-inputs (list python-cython python-matplotlib python-pandas python-poetry-core python-pytest)) (home-page "https://github.com/crflynn/skranger") (synopsis "Python bindings for C++ ranger random forests") (description "This package provides scikit-learn compatible Python bindings to the C++ random forest implementation, ranger, using Cython.") (license license:gpl3+))) (define-public python-nr-date (package (name "python-nr-date") (version "2.1.0") (source (origin (method url-fetch) (uri (pypi-uri "nr_date" version)) (sha256 (base32 "1rnjyykjp41mqz6h1vx18jblq97gi5m5x7dgasyaihnd7fhswhq6")))) (build-system pyproject-build-system) (arguments (list #:tests? #false)) ;there are none (propagated-inputs (list python-dataclasses)) (native-inputs (list python-poetry-core)) (home-page "https://github.com/NiklasRosenstein/python-nr.date") (synopsis "Fast, regex-based date parsing library in plain Python") (description "This package provides a fast, regex-based date parsing library in pure Python.") (license license:expat))) (define-public python-nr-stream (package (name "python-nr-stream") (version "1.1.5") (source (origin (method url-fetch) (uri (pypi-uri "nr_stream" version)) (sha256 (base32 "0rag4vbjnalkyfcarx6yipn11ih2hmc3pfldava4c6n6pz31c0pb")))) (build-system pyproject-build-system) (arguments (list #:tests? #false)) ;there are none (native-inputs (list python-poetry-core)) (home-page "https://github.com/NiklasRosenstein/python-nr.stream") (synopsis "Stream and Optional classes for Python") (description "This package provides a @code{Stream} and @code{Optional} class.") (license license:expat))) (define-public python-nr-util (package (name "python-nr-util") (version "0.8.12") (source (origin (method url-fetch) (uri (pypi-uri "nr.util" version)) (sha256 (base32 "1x0l4811dskwrk83l2xzdcldx2iazlrx5wxkg41jz7fr6ch9qm54")))) (build-system pyproject-build-system) (arguments (list #:tests? #false ;there are none #:phases #~(modify-phases %standard-phases (add-after 'unpack 'patch-build-system (lambda _ (substitute* "pyproject.toml" (("^config =.*") "config = []\n")))) (add-after 'install 'fix-name (lambda* (#:key inputs outputs #:allow-other-keys) (let* ((sitedir (site-packages inputs outputs)) (dist-info (string-append sitedir "/nr_util-" #$version ".dist-info"))) (substitute* (string-append dist-info "/METADATA") (("Name: nr-util") "Name: nr.util")) (substitute* (string-append dist-info "/RECORD") (("nr_util") "nr.util")) (rename-file dist-info (string-append sitedir "/nr.util-" #$version ".dist-info")))))))) (propagated-inputs (list python-deprecated python-typing-extensions)) (native-inputs (list python-poetry-core)) (home-page "https://github.com/NiklasRosenstein/python-nr.util") (synopsis "General purpose Python utility library") (description "This package provides a general purpose Python utility library.") (license license:expat))) (define-public python-slicerator (package (name "python-slicerator") (version "1.1.0") (source (origin (method url-fetch) (uri (pypi-uri "slicerator" version)) (sha256 (base32 "0ik0bmh18zgffd9kx53254jp3yyih6zcmd8kfb080xnqbizhl0a4")))) (build-system pyproject-build-system) (home-page "https://github.com/soft-matter/slicerator") (synopsis "Lazy-loading, fancy-sliceable iterable") (description "This package provides a lazy-loading, fancy-sliceable iterable. Think of it like a generator that is \"reusable\" and has a length.") (license license:bsd-3))) (define-public python-slixmpp (package (name "python-slixmpp") (version "1.8.3") (source (origin (method git-fetch) (uri (git-reference (url "https://lab.louiz.org/poezio/slixmpp.git") (commit (string-append "slix-" version)))) (file-name (git-file-name name version)) (sha256 (base32 "0cvr037qhf0fpby5dci6ckqngaly1mnjs2zpndwgmvr3dyvrd8l8")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'patch (lambda _ (substitute* "setup.py" (("'CC', 'cc'") "'CC', 'gcc'")) #t))))) (native-inputs `(("cython" ,python-cython) ("gnupg" ,gnupg) ("pkg-config" ,pkg-config))) (propagated-inputs (list python-aiodns python-aiohttp python-cryptography python-defusedxml python-emoji python-pyasn1 python-pyasn1-modules)) (inputs (list libidn python)) ; We are building a Python extension. (synopsis "XMPP library without threads") (description "Slixmpp is a XMPP library for Python 3.7+. It is a fork of SleekXMPP. Its goal is to only rewrite the core of the library (the low level socket handling, the timers, the events dispatching) in order to remove all threads.") (home-page "https://lab.louiz.org/poezio/slixmpp") (license license:expat))) (define-public python-tenacity (package (name "python-tenacity") (version "8.0.1") (source (origin (method url-fetch) (uri (pypi-uri "tenacity" version)) (sha256 (base32 "0bwkvjpjfyi9dgszzad9aww2vc00w3bczjnbifi92cp7wch2l923")))) (build-system pyproject-build-system) (native-inputs (list python-setuptools-scm python-tornado-6 python-typeguard python-pytest)) (home-page "https://github.com/jd/tenacity") (synopsis "Retrying library for python") (description "Tenacity is a general-purpose python library to simplify the task of adding retry behavior to just about anything.") (license license:asl2.0))) (define-public python-pytelegrambotapi (package (name "python-pytelegrambotapi") (version "4.22.0") (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/eternnoir/pyTelegramBotAPI") (commit version))) (file-name (git-file-name name version)) (sha256 (base32 "0mic9wk6xg7p2ca7b03fc19l86yc9bkciq7kp8l9xvzzzmg4rzw4")))) (build-system pyproject-build-system) (arguments (list #:phases #~(modify-phases %standard-phases (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? (with-directory-excursion "tests" (invoke "py.test")))))))) (propagated-inputs (list python-requests)) (native-inputs (list python-hatchling python-pytest)) (home-page "https://github.com/eternnoir/pyTelegramBotAPI") (synopsis "Python Telegram bot api") (description "This package provides a simple, but extensible Python implementation for the Telegram Bot API.") (license license:gpl2))) (define-public python-colorlog (package (name "python-colorlog") (version "6.6.0") (source (origin (method url-fetch) (uri (pypi-uri "colorlog" version)) (sha256 (base32 "1s7x0v872h8aks8xp01wmv6hzisxqjrh1svbbcycir0980h76krl")))) (build-system python-build-system) (arguments (list #:phases #~(modify-phases %standard-phases (replace 'check (lambda* (#:key inputs outputs tests? #:allow-other-keys) (when tests? (add-installed-pythonpath inputs outputs) (invoke "python" "-m" "pytest"))))))) (native-inputs (list python-pytest)) (home-page "https://github.com/borntyping/python-colorlog") (synopsis "Log formatting with colors for python") (description "The @code{colorlog.ColoredFormatter} is a formatter for use with Python's logging module that outputs records using terminal colors.") (license license:expat))) (define-public python-pyprind (package (name "python-pyprind") (version "2.11.3") (source (origin (method url-fetch) (uri (pypi-uri "PyPrind" version)) (sha256 (base32 "1gscnlvj37m421ch3akm3kddxqkrgbg5zrpwy2ky1j59w6vclzg3")))) (build-system python-build-system) (propagated-inputs (list python-psutil)) (home-page "https://github.com/rasbt/pyprind") (synopsis "Python Progress Bar and Percent Indicator Utility") (description "The PyPrind (Python Progress Indicator) module provides a progress bar and a percentage indicator object that let you track the progress of a loop structure or other iterative computation.") (license license:bsd-3))) (define-public python-gh-md-to-html (package (name "python-gh-md-to-html") (version "1.21.2") (source (origin (method url-fetch) (uri (pypi-uri "gh_md_to_html" version)) (sha256 (base32 "1cnaqnckpcrpc4b8ba18s5ds05w1yfiszcp7ql7pmx0jnrj25qax")))) (build-system pyproject-build-system) (arguments (list #:tests? #false)) ;there are none (propagated-inputs (list python-beautifulsoup4 python-emoji-for-gh-md-to-html python-pillow python-requests python-shellescape python-webcolors)) (home-page "https://github.com/phseiff/github-flavored-markdown-to-html/") (synopsis "Github-flavored Markdown") (description "This package provides a feature-rich Github-flavored Markdown to HTML Python library and command line interface.") (license license:expat))) (define-public python-glymur (package (name "python-glymur") (version "0.13.5") (source (origin (method git-fetch) ; no tests data in PyPi package (uri (git-reference (url "https://github.com/quintusdias/glymur") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "1n2n7bj5w29w5y2gcl4hxhqf85n0j2crkln9i0mprq3xw8finxpx")))) (build-system pyproject-build-system) (arguments (list #:test-flags #~(list "-n" "auto") #:phases #~(modify-phases %standard-phases (add-after 'unpack 'patch-library-locations (lambda* (#:key inputs #:allow-other-keys) ;; XXX: It's a workaround for Python inability to find the ;; .so libraries with ctypes.util.find_library() (substitute* '("glymur/config.py") (("path = find_library\\(libname\\)") (string-append "if libname == \"openjp2\":\n" " path = \"" (search-input-file inputs "/lib/libopenjp2.so") "\"\n" " elif libname == \"tiff\":\n" " path = \"" (search-input-file inputs "/lib/libtiff.so") "\"\n" " elif libname == \"c\":\n" " path = \"" (search-input-file inputs "/lib/libc.so.6") "\"\n"))))) (add-before 'check 'disable-failing-tests (lambda _ ;; Failing test due to inability of ;; ctypes.util.find_library() to determine library path, ;; which is patched above. (delete-file "tests/test_config.py")))))) (native-inputs (list python-pytest python-pytest-xdist python-scikit-image)) (inputs (list openjpeg ; glymur/lib/openjp2.py libtiff)) ; glymur/lib/tiff.py (propagated-inputs (list python-lxml python-numpy python-packaging)) (home-page "https://github.com/quintusdias/glymur") (synopsis "Python interface to OpenJPEG and LibTIFF") (description "This package provides Python interface to the OpenJPEG library which allows one to read and write JPEG 2000 files") (license license:expat))) (define-public python-gphoto2 (package (name "python-gphoto2") (version "2.2.1") (source (origin (method url-fetch) (uri (pypi-uri "gphoto2" version)) (sha256 (base32 "118zm25c8mlajfl0pzssnwz4b8lamj9dgymla9rn4nla7l244a0r")))) (build-system python-build-system) (native-inputs (list pkg-config)) (inputs (list libgphoto2)) (home-page "https://github.com/jim-easterbrook/python-gphoto2") (synopsis "Python interface to libgphoto2") (description "@code{python-gphoto2} is a comprehensive Python interface (or binding) to @code{libgphoto2}. It is built using @code{SWIG} to automatically generate the interface code.") (license license:gpl3+))) (define-public python-colour (package (name "python-colour") (version "0.1.5") (source (origin (method url-fetch) (uri (pypi-uri "colour" version)) (sha256 (base32 "1visbisfini5j14bdzgs95yssw6sm4pfzyq1n3lfvbyjxw7i485g")))) (build-system python-build-system) (native-inputs (list python-d2to1)) (home-page "https://github.com/vaab/colour") (synopsis "Convert and manipulate various color representations") (description "Pythonic way to manipulate color representations (HSL, RVB, web, X11, ...).") (license license:expat))) (define-public python-d2to1 (package (name "python-d2to1") (version "0.2.12.post1") (source (origin (method url-fetch) (uri (pypi-uri "d2to1" version)) (sha256 (base32 "09fq7pq1z8d006xh5z75rm2lk61v6yn2xhy53z4gsgibhqb2vvs9")))) (build-system python-build-system) (native-inputs (list python-nose)) (home-page "https://github.com/embray/d2to1") (synopsis "Allows for distutils2-like setup.cfg files as package metadata in python") (description "The python package d2to1 (the d is for distutils) allows using distutils2-like setup.cfg files for a package's metadata with a distribute/setuptools setup.py script.") (license license:bsd-2))) (define-public python-rawkit (package (name "python-rawkit") (version "0.6.0") (source (origin (method url-fetch) (uri (pypi-uri "rawkit" version)) (sha256 (base32 "0vrhrpr70i61y5q5ysk341x1539ff1q1k82g59zq69lv16s0f76s")))) (build-system python-build-system) (native-inputs (list python-pytest python-mock)) (inputs (list libraw)) (home-page "https://rawkit.readthedocs.io") (synopsis "Ctypes-based LibRaw binding for Python") (description "The rawkit package provides two modules: rawkit and libraw. The rawkit module provides a high-level Pythonic interface for developing raw photos, while the libraw module provides a CTypes based interface for interacting with the low-level LibRaw C APIs.") (license license:expat))) (define-public python-easygui (package (name "python-easygui") (version "0.98.1") (source (origin (method url-fetch) (uri (pypi-uri "easygui" version)) (sha256 (base32 "1zmvmwgxyzvm83818skhn8b4wrci4kmnixaax8q3ia5cn7xrmj6v")))) (build-system python-build-system) (propagated-inputs (list `(,python "tk"))) (home-page "https://github.com/robertlugg/easygui") (synopsis "GUI programming module for Python") (description "EasyGUI is a module for very simple, very easy GUI programming in Python. EasyGUI is different from other GUI generators in that EasyGUI is NOT event-driven. Instead, all GUI interactions are invoked by simple function calls.") (license license:bsd-3))) (define-public python-echo (package (name "python-echo") (version "0.8.0") (source (origin (method url-fetch) (uri (pypi-uri "echo" version)) (sha256 (base32 "1hr2kgjmf5gcjbg1mry03ca1dayfwy8mi8as42jfg0apsa3bfvvj")))) (build-system pyproject-build-system) (arguments (list #:phases #~(modify-phases %standard-phases (add-before 'check 'start-xorg-server (lambda _ ;; The test suite requires a running X server. (system "Xvfb :99 -screen 0 1024x768x24 &") (setenv "DISPLAY" ":99.0")))))) (propagated-inputs (list python-numpy python-qtpy python-pyqt-6)) (native-inputs (list python-pytest python-pytest-cov python-setuptools-scm xorg-server-for-tests)) (home-page "https://github.com/glue-viz/echo") (synopsis "Callback Properties in Python") (description "Echo is a small library for attaching callback functions to property state changes.") (license license:expat))) (define-public python-pymd4c (package (name "python-pymd4c") (version "0.4.6.0b1") (source (origin (method url-fetch) (uri (pypi-uri "pymd4c" version)) (sha256 (base32 "07s3arn85ri92im6x3ipljdmrxmpik7irs06i6lm17j1x6j9841d")))) (build-system python-build-system) (inputs (list md4c)) (native-inputs (list python-flake8 python-pkgconfig pkg-config)) (home-page "https://github.com/dominickpastore/pymd4c") (synopsis "Python bindings for MD4C") (description "PyMD4C provides Python bindings for MD4c, a C Markdown parser, compliant to CommonMark.") (license license:expat))) (define-public python-pymediainfo (package (name "python-pymediainfo") (version "4.1") (source (origin (method url-fetch) (uri (pypi-uri "pymediainfo" version)) (sha256 (base32 "0mhpxs7vlqx8w75z93dy7nnvx89kwfdjkla03l19an15rlyqyspd")))) (build-system python-build-system) (native-inputs (list python-setuptools-scm python-pytest)) (inputs (list libmediainfo)) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'patch-libmediainfo (lambda _ (substitute* "pymediainfo/__init__.py" (("libmediainfo.so.0") (search-input-file %build-inputs "/lib/libmediainfo.so.0"))))) (replace 'check (lambda* (#:key tests? inputs outputs #:allow-other-keys) (when tests? (add-installed-pythonpath inputs outputs) ;; Skip the only failing test "test_parse_url" because it tries ;; to access the internet. (invoke "pytest" "-vv" "-k" "not test_parse_url"))))))) (home-page "https://github.com/sbraz/pymediainfo") (synopsis "Python wrapper for the mediainfo library") (description "This package provides a Python wrapper for the mediainfo library to access the technical and tag data for video and audio files.") (license license:expat))) (define-public python-psutil (package (name "python-psutil") (version "5.9.2") (source (origin (method url-fetch) (uri (pypi-uri "psutil" version)) (sha256 (base32 "0p1bf6ndcssqh0ic828ggwhzhm67mzj3ffq6043v0fvc1fhn3f7y")))) (build-system python-build-system) (arguments ;; FIXME: some tests do not return and time out. Some tests fail because ;; some processes survive kill(). '(#:tests? #f)) (home-page "https://github.com/giampaolo/psutil") (synopsis "Library for retrieving information on running processes") (description "@code{psutil} (Python system and process utilities) is a library for retrieving information on running processes and system utilization (CPU, memory, disks, network) in Python. It is useful mainly for system monitoring, profiling and limiting process resources and management of running processes. It implements many functionalities offered by command line tools such as: ps, top, lsof, netstat, ifconfig, who, df, kill, free, nice, ionice, iostat, iotop, uptime, pidof, tty, taskset, pmap.") (license license:bsd-3))) (define-public python-scapy (package (name "python-scapy") (version "2.5.0") (source (origin (method url-fetch) (uri (pypi-uri "scapy" version)) (sha256 (base32 "1hpbbmpcn4dwj3z7i7sz4cnbpkaf57p7mvl3p84x9n2gflmhq9jv")))) (arguments '(#:tests? #f)) ; There is a test directory, but apparently no ; automatic testing framework. ;; The package has more optional dependencies such as ipython and ;; matplotlib. If functionality is missing, these should be added. ;; See ;; https://scapy.readthedocs.io/en/latest/installation.html#optional-dependencies (build-system python-build-system) (home-page "https://scapy.net") (synopsis "Python network packet crafting library") (description "Scapy is a Python library and executable for interactively manipulating network packets. It can forge or decode packets of a number of protocols, send them on the wire, capture them, store or read them using pcap files, match requests and replies, and so on. It can handle tasks such as scanning, tracerouting, probing, unit tests, attacks or network discovery.") (license license:gpl2))) (define-public python-icmplib (package (name "python-icmplib") (version "3.0.4") (source (origin (method url-fetch) (uri (pypi-uri "icmplib" version)) (sha256 (base32 "1phnlgbb5di79ijm55pyd5jj1ggss4b6nn6mw701h501vcn8z1jp")))) (arguments '(#:tests? #f)) ;test data not present (build-system python-build-system) (home-page "https://github.com/ValentinBELYN/icmplib") (synopsis "Python implementation of the Internet Control Message Protocol (ICMP)") (description "@code{icmplib} is a supporting library for both IPv4 and IPv6 networks. ICMP is typically used for diagnostic or control purposes - well known from utilities such as ping(1).") (license license:lgpl3))) (define-public python-rasterio (package (name "python-rasterio") (version "1.3.7") (source (origin (method url-fetch) (uri (pypi-uri "rasterio" version)) (sha256 (base32 "012341c1rlcdr9rkg97lbhxrwzn4sr2xah4zjfnqy2r1227wpzdb")))) (properties '((updater-ignored-native-inputs . ("gdal" "python-cython")))) (build-system pyproject-build-system) (arguments (list #:tests? #false ;test data not present #:phases '(modify-phases %standard-phases (add-before 'check 'build-extensions (lambda _ ;; Cython extensions have to be built before running the tests. (invoke "python" "setup.py" "build_ext" "--inplace")))))) (propagated-inputs (list python-affine python-attrs python-certifi python-click python-click-plugins python-cligj python-numpy python-setuptools python-snuggs)) (native-inputs (list gdal python-boto3 python-cython python-hypothesis python-packaging python-pytest python-pytest-cov python-shapely)) (home-page "https://github.com/rasterio/rasterio") (synopsis "Fast and direct raster I/O for use with Numpy and SciPy") (description "This package implements fast and direct raster I/O for use with Numpy and SciPy.") (license license:bsd-3))) (define-public python-shapely (package (name "python-shapely") (version "2.0.5") (source (origin (method url-fetch) (uri (pypi-uri "shapely" version)) (sha256 (base32 "0cpyziixzdj7xqkya4k6fwr0qmrw8k84fsrx6p5sdgw6qxmkdwmz")))) (build-system pyproject-build-system) (arguments (list #:phases '(modify-phases %standard-phases (add-before 'check 'build-extensions (lambda _ ;; Cython extensions have to be built before running the tests. (invoke "python" "setup.py" "build_ext" "--inplace")))))) (native-inputs (list python-cython python-matplotlib python-pytest)) (inputs (list geos)) (propagated-inputs (list python-numpy)) (home-page "https://github.com/shapely/shapely") (synopsis "Library for the manipulation and analysis of geometric objects") (description "Shapely is a Python package for manipulation and analysis of planar geometric objects. It is based on the @code{GEOS} library.") (license license:bsd-3))) (define-public python-shortuuid (package (name "python-shortuuid") (version "0.5.0") (source (origin (method url-fetch) (uri (pypi-uri "shortuuid" version)) (sha256 (base32 "1f8i4zwj5vmpzbz6b17bljy4399gx5aq7vsyw63sz2qgyjcd73yh")))) (build-system python-build-system) (native-inputs (list python-pep8)) (home-page "https://github.com/skorokithakis/shortuuid") (synopsis "Generator library for concise, unambiguous and URL-safe UUIDs") (description "@code{shortuuid} is a Python library for generating concise, unambiguous and URL-safe UUIDs. UUIDs are generated using the built-in Python @code{uuid} module and then similar looking characters are removed.") (license license:bsd-3))) (define-public python-logwrap (package (name "python-logwrap") (version "8.2.0.post0") (source (origin (method url-fetch) (uri (pypi-uri "logwrap" version)) (sha256 (base32 "1dv7gny3rfci5cal2ipr6d0pcz3yhka7af96dfsd3ir1mxy8p1j9")))) (build-system python-build-system) (arguments `(#:tests? #f ; Tests not included in pypi release. #:phases (modify-phases %standard-phases (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? (invoke "pytest")) #t))))) (native-inputs (list python-cython python-pytest python-setuptools-scm python-toml python-wheel)) (home-page "https://github.com/python-useful-helpers/logwrap") (synopsis "Decorator for logging function arguments") (description "This package provides a decorator to log function arguments and function call return values in a human-readable way.") (license license:asl2.0))) (define-public python-clyent (package (name "python-clyent") (version "1.2.1") (source (origin (method url-fetch) (uri (pypi-uri "clyent" version)) (sha256 (base32 "1r9987qmy1pz3hq54160bapqsywpq14waw4w9x3ly8hmq7kpgfbj")))) (build-system python-build-system) (native-inputs (list python-mock)) (home-page "https://github.com/Anaconda-Platform/clyent") (synopsis "Command line client library") (description "Clyent is a Python command line utility library. It is used by @code{binstar}, @code{binstar-build}, and @code{chalmers}.") (license license:bsd-3))) (define-public python-babel (package (name "python-babel") (version "2.10.3") (source (origin (method url-fetch) (uri (pypi-uri "Babel" version)) (sha256 (base32 "0l9cvfmsz0hlvcinxaf6xf2f02ldgw3xq9i1fc7lk5zf24vma53n")))) (build-system python-build-system) (native-inputs (list python-freezegun python-pytest tzdata-for-tests)) (propagated-inputs (list python-pytz)) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (lambda _ (invoke "pytest" "-vv")))))) (home-page "https://babel.pocoo.org/") (synopsis "Tools for internationalizing Python applications") (description "Babel is composed of two major parts: - tools to build and work with gettext message catalogs - a Python interface to the CLDR (Common Locale Data Repository), providing access to various locale display names, localized number and date formatting, etc.") (license license:bsd-3))) (define-public python-bidict (package (name "python-bidict") (version "0.21.2") (source (origin (method url-fetch) (uri (pypi-uri "bidict" version)) (sha256 (base32 "02dy0b1k7qlhn7ajyzkrvxhyhjj0hzcq6ws3zjml9hkdz5znz92g")))) (build-system python-build-system) (native-inputs (list python-coverage python-hypothesis python-py python-pytest python-pytest-benchmark python-pytest-cov python-setuptools-scm python-sortedcollections python-sortedcontainers python-sphinx python-sphinx-autodoc-typehints python-tox)) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'relax-reqs (lambda _ (substitute* "setup.py" (("sortedcollections < 2") "sortedcollections")) #t)) (replace 'check (lambda _ (invoke "./run_tests.py")))))) (home-page "https://bidict.readthedocs.io") (synopsis "Bidirectional mapping library") (description "The @code{bidict} library provides several data structures for working with bidirectional mappings in Python.") (license license:mpl2.0))) (define-public python-bip39 (package (name "python-bip39") (version "0.0.2") (source (origin (method url-fetch) (uri (pypi-uri "bip39" version)) (sha256 (base32 "18m7d3gi7vj2zi0bl1z7m0nhcj6i8j9vj4vil276siagnpkv64ry")))) (build-system python-build-system) (native-inputs (list python-pytest)) (home-page "https://github.com/de-centralized-systems/python-bip39/") (synopsis "Self-contained and simple BIP39 implementation in Python") (description "This package provides a self-contained and simple BIP39 implementation written in Python. It includes a @code{bip39.py} executable. BIP39 is a standardized mapping between binary data (the @emph{entropy}), and a list of words that are easier to remember for humans (the @emph{mnemonic}).") (license license:expat))) (define-public python-bitarray (package (name "python-bitarray") (version "2.8.1") (source (origin (method url-fetch) (uri (pypi-uri "bitarray" version)) (sha256 (base32 "1wy80bmhg33bpzn28g1n7s8r8f4drj7pcl4m2qb5sql8bbryx376")))) (build-system python-build-system) (arguments (list #:phases #~(modify-phases %standard-phases (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? ;; Step out of the source directory to avoid interference. (with-directory-excursion "/tmp" (invoke "python" "-c" "import bitarray; bitarray.test()")))))))) (home-page "https://github.com/ilanschnell/bitarray") (synopsis "Efficient arrays of booleans") (description "This package provides an object type which efficiently represents an array of booleans. Bitarrays are sequence types and behave very much like usual lists. Eight bits are represented by one byte in a contiguous block of memory. The user can select between two representations: little-endian and big-endian. All of the functionality is implemented in C. Methods for accessing the machine representation are provided. This can be useful when bit level access to binary files is required, such as portable bitmap image files. Also, when dealing with compressed data which uses variable bit length encoding, you may find this module useful.") (license license:psfl))) (define-public python-boolean.py (package (name "python-boolean.py") (version "4.0") (source (origin ;; There's no source tarball on PyPI. (method git-fetch) (uri (git-reference (url "https://github.com/bastikr/boolean.py") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "1s4mrgqf1phwvda81dpnlkdadcbjgpl8mjvmc1yjlrp1c368v9lb")))) (build-system python-build-system) (home-page "https://github.com/bastikr/boolean.py") (synopsis "Boolean algebra in one Python module") (description "This is a small Python library that implements boolean algebra. It defines two base elements, @code{TRUE} and @code{FALSE}, and a @code{Symbol} class that can take on one of these two values. Calculations are done only in terms of @code{AND}, @code{OR}, and @code{NOT}---other compositions like @code{XOR} and @code{NAND} are emulated on top of them. Expressions are constructed from parsed strings or directly in Python.") (license license:bsd-2))) (define-public python-hdf4 (package (name "python-hdf4") (version "0.9") (source (origin (method url-fetch) (uri (pypi-uri name version)) (sha256 (base32 "1hjiyrxvxk9817qyqky3nar4y3fs4z8wxz0n884zzb5wi6skrjks")))) (build-system python-build-system) (native-inputs `(("nose" ,python-nose))) (propagated-inputs `(("numpy" ,python-numpy))) (inputs `(("hdf4" ,hdf4) ("libjpeg" ,libjpeg-turbo) ("zlib" ,zlib))) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (lambda _ (invoke "./runexamples.sh") (invoke "nosetests" "-v")))))) (home-page "https://github.com/fhs/python-hdf4") (synopsis "Python interface to the NCSA HDF4 library") (description "Python-HDF4 is a python wrapper around the NCSA HDF version 4 library, which implements the SD (Scientific Dataset), VS (Vdata) and V (Vgroup) API’s. NetCDF files can also be read and modified. Python-HDF4 is a fork of @url{http://hdfeos.org/software/pyhdf.php,pyhdf}.") (license license:expat))) (define-public python-h5netcdf (package (name "python-h5netcdf") (version "1.3.0") (source (origin (method url-fetch) (uri (pypi-uri "h5netcdf" version)) (sha256 (base32 "1kw3cf01kziwxmb84x0cy6vbpsmqjm0k1dm34i6b4d7bv8kw0wd1")))) (build-system pyproject-build-system) (native-inputs (list python-netcdf4 python-pytest python-setuptools-scm)) (propagated-inputs (list python-h5py python-packaging)) (home-page "https://h5netcdf.org") (synopsis "Python interface for the netCDF4 file-format based on h5py") (description "This package provides a Python interface for the netCDF4 file-format that reads and writes local or remote HDF5 files directly via @url{h5py, https://www.h5py.org/} or @url{h5pyd, https://github.com/HDFGroup/h5pyd}, without relying on the Unidata netCDF library.") (license license:bsd-3))) (define-public python-h5py (package (name "python-h5py") (version "3.8.0") (source (origin (method url-fetch) (uri (pypi-uri "h5py" version)) (sha256 (base32 "0pyr6z4h2xqbp49yx2i1401gl6yqh03h771zslwcy0201hpxiskg")))) (build-system python-build-system) (arguments '(#:phases (modify-phases %standard-phases (add-after 'unpack 'fix-hdf5-paths (lambda* (#:key inputs #:allow-other-keys) (setenv "HDF5_DIR" (assoc-ref inputs "hdf5"))))))) (propagated-inputs (list python-six python-numpy)) (inputs (list hdf5-1.10)) (native-inputs (list pkg-config python-cython python-ipython python-pkgconfig python-pytest)) (home-page "https://www.h5py.org/") (synopsis "Read and write HDF5 files from Python") (description "The h5py package provides both a high- and low-level interface to the HDF5 library from Python. The low-level interface is intended to be a complete wrapping of the HDF5 API, while the high-level component supports access to HDF5 files, datasets and groups using established Python and NumPy concepts.") (license license:bsd-3))) (define-public python-hdf5storage (package (name "python-hdf5storage") (version "0.1.19") (source (origin (method url-fetch) (uri (pypi-uri "hdf5storage" version)) (sha256 (base32 "11pgxsqap9l7jsf52649q9mpj8a0w6p9im929lpr9s26ynnnn6ks")))) (build-system pyproject-build-system) (propagated-inputs (list python-h5py python-numpy)) (native-inputs (list python-nose)) (home-page "https://github.com/frejanordsiek/hdf5storage") (synopsis "Read and write Python data types from and to HDF5 files") (description "This Python package provides high-level utilities to read and write a variety of Python types from and to @acronym{HDF5, Hierarchical Data Format} formatted files. This package also provides support for MATLAB MAT v7.3 formatted files, which are HDF5 files with a different extension and some extra metadata. Because HDF5 and MAT files might need to be read from untrusted sources, pickling is avoided in this package.") (license license:bsd-2))) (define-public python-hjson ;; Using commit from master branch as the PyPI version does not contain ;; the hjson/tests/ directory. (let ((revision "0") (commit "1687b811fcbbc54b5ac71cfbaa99f805e406fbcb")) (package (name "python-hjson") (version (git-version "3.1.0" revision commit)) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/hjson/hjson-py") (commit commit))) (file-name (git-file-name name version)) (sha256 (base32 "1qfqnhvfx5mm7bdajjnnagmvns1zxyksjzh3k5la2ag6a8bp5gki")))) (build-system pyproject-build-system) (home-page "https://github.com/hjson/hjson-py") (synopsis "Python package to parse HJSON documents") (description "This package provides a Python library and a command-line interface utility to parse @url{https://hjson.github.io/, HJSON}) documents.") (license license:expat)))) (define-public python-hnswlib (package (name "python-hnswlib") (version "0.5.2") (source (origin (method url-fetch) (uri (pypi-uri "hnswlib" version)) (sha256 (base32 "0wf1cwmxmdzfqmfhrkqdxb5spf21ylgl2bidswhzjrqhwf35c9qf")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (add-after 'unpack 'disable-native-optimization (lambda _ (substitute* "setup.py" ((", '-march=native'") ""))))))) (propagated-inputs (list python-numpy)) (native-inputs (list pybind11)) (home-page "https://github.com/nmslib/hnswlib") (synopsis "Fast approximate nearest neighbor search") (description "Hnswlib is a header-only C++ implementation of fast approximate nearest neighbor search with Python bindings.") (license license:asl2.0))) (define-public python-pylatexenc (package (name "python-pylatexenc") (version "2.10") (source (origin (method url-fetch) (uri (pypi-uri "pylatexenc" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "1ls09z47b5md71gkxcj7fd87ynpvv2walgp2w6z31p26xf2gvn1x")))) (build-system python-build-system) (home-page "https://github.com/phfaist/pylatexenc") (synopsis "LaTeX parser for Unicode/LaTeX conversion") (description "@code{python-pylatexenc} is a LaTeX parser providing LaTeX-to-Unicode and Unicode-to-LaTeX conversion.") (license license:expat))) (define-public python-pyls-black (package (name "python-pyls-black") (version "0.4.7") (source (origin ;; There are no tests in the PyPI tarball. (method git-fetch) (uri (git-reference (url "https://github.com/rupert/pyls-black/") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "0bkhfnlik89j3yamr20br4wm8975f20v33wabi2nyxvj10whr5dj")) (patches (search-patches "python-pyls-black-41.patch")) ;; Patch to work with python-lsp-server. Taken from ;; <https://github.com/rupert/pyls-black/pull/37>. (modules '((guix build utils))) (snippet '(begin (substitute* "setup.cfg" (("python-language-server") "python-lsp-server")) (substitute* '("pyls_black/plugin.py" "tests/test_plugin.py") (("pyls_format_document") "pylsp_format_document") (("pyls_format_range") "pylsp_format_range") (("from pyls([ \\.])" _ char) (string-append "from pylsp" char))))))) (build-system pyproject-build-system) (arguments (list #:test-flags '(list "-k" "not test_load_config_target_version"))) (propagated-inputs (list python-black python-lsp-server python-tomli)) (native-inputs (list python-flake8 python-isort python-mypy python-pytest python-pytest-runner)) (home-page "https://github.com/rupert/pyls-black") (synopsis "Black plugin for the Python Language Server") (description "Black plugin for the Python Language Server.") (license license:expat))) (define-public python-sh (package (name "python-sh") (version "1.14.2") (source (origin (method url-fetch) (uri (pypi-uri "sh" version)) (sha256 (base32 "03gyss1rhj4in7pgysg4q0hxp3230whinlpy1532ljs99lrx0ywx")))) (build-system python-build-system) (arguments '(#:phases (modify-phases %standard-phases (replace 'check (lambda _ ;; XXX: A Python 2 test fails when HOME=/homeless-shelter. (setenv "HOME" "/tmp") (invoke "python" "sh.py" "test")))))) (native-inputs (list python-coverage)) (home-page "https://github.com/amoffat/sh") (synopsis "Python subprocess replacement") (description "This package provides a replacement for Python's @code{subprocess} feature.") (license license:expat))) (define-public python-cftime (package (name "python-cftime") (version "1.6.2") (source (origin (method url-fetch) (uri (pypi-uri "cftime" version)) (sha256 (base32 "1lp6jrjjgl18csn4bcnphn0l16ag4aynvn7x0kins155p07w0546")))) (build-system pyproject-build-system) (propagated-inputs (list python-numpy)) (native-inputs (list python-check-manifest python-coverage python-coveralls python-cython python-pytest-cov python-sphinx python-twine python-wheel)) (home-page "https://unidata.github.io/cftime/") (synopsis "Library for time handling") (description "This package provides time-handling functionality that used to be part of the netcdf4 package before.") (license license:expat))) (define-public python-netcdf4 (package (name "python-netcdf4") (version "1.6.0") (source (origin (method url-fetch) (uri (pypi-uri "netCDF4" version)) (sha256 (base32 "0qxs8r1qmsmg760wm5q0wqlcm7hdd3k7cghryw6wvqd3v5rs7vwm")))) (build-system python-build-system) (arguments '(#:phases (modify-phases %standard-phases (add-after 'unpack 'configure-locations (lambda* (#:key inputs #:allow-other-keys) (setenv "HDF5_DIR" (assoc-ref inputs "hdf5")) #t))))) (native-inputs (list python-cython)) (propagated-inputs (list python-numpy python-cftime)) (inputs (list netcdf hdf4 hdf5)) (home-page "https://github.com/Unidata/netcdf4-python") (synopsis "Python/numpy interface to the netCDF library") (description "Netcdf4-python is a Python interface to the netCDF C library. netCDF version 4 has many features not found in earlier versions of the library and is implemented on top of HDF5. This module can read and write files in both the new netCDF 4 and the old netCDF 3 format, and can create files that are readable by HDF5 clients. The API is modelled after @code{Scientific.IO.NetCDF}, and should be familiar to users of that module.") ;; The software is mainly ISC, but includes some files covered ;; by the Expat license. (license (list license:isc license:expat)))) (define-public python-ncclient (package (name "python-ncclient") (version "0.6.12") (source (origin (method git-fetch) ;no tests in PyPI release (uri (git-reference (url "https://github.com/ncclient/ncclient") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 (base32 "0cb568z5syg6hh0dv813bw7s1mjy7ga5xzxbm9naf4zz2qfdg4js")))) (build-system python-build-system) (arguments `(#:phases (modify-phases %standard-phases (replace 'check (lambda* (#:key tests? #:allow-other-keys) (when tests? (invoke "pytest"))))))) (native-inputs (list python-pytest)) (propagated-inputs (list python-lxml python-paramiko)) (home-page "https://github.com/ncclient/ncclient") (synopsis "Python library for NETCONF clients") (description "@code{ncclient} is a Python library that facilitates client-side scripting and application development around the NETCONF protocol.") (license license:asl2.0))) (define-public python-ncls (package (name "python-ncls") (version "0.0.65") (source (origin (method url-fetch) (uri (pypi-uri "ncls" version)) (sha256 (base32 "1wx06xqknd2r98w8z93f47g5dpxzn92kamhj8vkq0nj569hf7cg1")))) (build-system python-build-system) (propagated-inputs (list python-numpy)) (home-page "https://github.com/endrebak/ncls") (synopsis "Nested containment list data structure") (description "This package provides a wrapper for the nested containment list data structure. It is a static interval-tree that is fast for both construction and lookups.") (license license:bsd-3))) (define-public python-license-expression (package (name "python-license-expression") (version "30.1.0") (source (origin (method url-fetch) (uri (pypi-uri "license-expression" version)) (sha256 (base32 "0lvshl2fhwa568d3y3vmx45hdp8gk5w9yl3b2q5d66r5vqn1sfwl")))) (build-system pyproject-build-system) (native-inputs (list python-setuptools-scm python-pytest)) (propagated-inputs (list python-boolean.py)) (home-page "https://github.com/nexB/license-expression") (synopsis "Apply boolean logic to license expressions") (description "This Python module defines a tiny language to evaluate and compare license expressions using boolean logic. Logical combinations of licenses can be tested for equality, containment, and equivalence. They can be normalised and simplified. It supports SPDX license expressions as well as other naming conventions and aliases in the same expression.") (license license:gpl2+))) (define-public python-wand (package (name "python-wand") (version "0.6.13") (source (origin (method url-fetch) (uri (pypi-uri "Wand" version)) (sha256 (base32 "1jpwm956vm35hmgjndr2jwrcql0bwvpsl88q5nr0x8ppxa2380gm")))) (build-system pyproject-build-system) (arguments (list #:phases #~(modify-phases %standard-phases (add-after 'unpack 'hardcode-lib-path (lambda _ (substitute* "wand/api.py" (("os\\.environ\\.get\\('M