From ee41bd8391cea0b903429ed6a281cf802c1be499 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Wed, 20 Jul 2022 09:53:45 +0200 Subject: gnu: Add python-requests-kerberos. * gnu/packages/python-web.scm (python-requests-kerberos): New variable. --- gnu/packages/python-web.scm | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 7c5e5651c86..98c5e878889 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -13,7 +13,7 @@ ;;; Copyright © 2014, 2015 Mark H Weaver ;;; Copyright © 2015 Cyril Roelandt ;;; Copyright © 2015, 2016, 2017, 2019 Leo Famulari -;;; Copyright © 2016, 2019 Hartmut Goebel +;;; Copyright © 2016, 2019, 2022 Hartmut Goebel ;;; Copyright © 2016–2021 Tobias Geerinckx-Rice ;;; Copyright © 2015, 2017 Ben Woodcroft ;;; Copyright © 2015, 2016 Christine Lemmer-Webber @@ -2805,6 +2805,25 @@ APIs.") than Python’s urllib2 library.") (license license:asl2.0))) +(define-public python-requests-kerberos + (package + (name "python-requests-kerberos") + (version "0.14.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "requests-kerberos" version)) + (sha256 + (base32 + "1lbgjs779cjxhz07lfl9dbyp3qfh8a3ir2393042wfg518jd3afd")))) + (build-system python-build-system) + (propagated-inputs (list python-cryptography python-pyspnego + python-requests)) + (home-page "https://github.com/requests/requests-kerberos") + (synopsis "Kerberos authentication handler for python-requests") + (description "This package provides a Kerberos authentication handler for +python-requests.") + (license license:isc))) + (define-public python-requests-unixsocket (package (name "python-requests-unixsocket") -- cgit v1.3 From feef09b28ce802465d4e048e06cd52d57b5fd9f3 Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Sun, 24 Jul 2022 13:09:36 +0200 Subject: gnu: Add python-starlette. * gnu/packages/python-web.scm (python-starlette): New variable. --- gnu/packages/python-web.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 98c5e878889..e863ff9c557 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7685,3 +7685,29 @@ resources using Web Application Description Language (WADL) files as guides.") SendGrid Web API v3. Version 3+ of the library provides full support for all SendGrid Web API v3 endpoints, including the new v3 /mail/send.") (license license:expat))) + +(define-public python-starlette + (package + (name "python-starlette") + (version "0.20.4") + (source (origin + (method url-fetch) + (uri (pypi-uri "starlette" version)) + (sha256 + (base32 + "112hmwk4fh4dl21nlr2xd37h43xzxpjxfnic7v7fz3wr5w9g7z22")))) + (build-system python-build-system) + (propagated-inputs (list python-anyio + python-typing-extensions + ;; [all] extra dependencies: + python-itsdangerous + python-jinja2 + python-multipart + python-pyyaml + python-requests)) + (home-page "https://github.com/encode/starlette") + (synopsis "Little ASGI library") + (description + "Starlette is a lightweight ASGI (Asynchronous Server Gateway +Interface) framework/toolkit for building async web services in Python.") + (license license:bsd-3))) -- cgit v1.3 From 1bcd1ec72f4ef18cad4b6ac4f6135dd028c8fcee Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Wed, 20 Jul 2022 08:20:29 +0200 Subject: gnu: Add python-pyactiveresource. * gnu/packages/python-web.scm (python-pyactiveresource): New variable. --- gnu/packages/python-web.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index e863ff9c557..57ad1943332 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7711,3 +7711,30 @@ SendGrid Web API v3 endpoints, including the new v3 /mail/send.") "Starlette is a lightweight ASGI (Asynchronous Server Gateway Interface) framework/toolkit for building async web services in Python.") (license license:bsd-3))) + +(define-public python-pyactiveresource + (package + (name "python-pyactiveresource") + (version "2.2.2") + (source (origin + (method url-fetch) + (uri (pypi-uri "pyactiveresource" version)) + (sha256 + (base32 + "1n7xvzh1j8fxal0gx9bgg1ayrp3q9mb1a2vb12d6s86wa93880rg")))) + (build-system python-build-system) + (native-inputs (list python-dateutil python-pyyaml)) + (propagated-inputs (list python-six)) + (home-page "https://github.com/Shopify/pyactiveresource/") + (synopsis "ActiveResource for Python") + (description "This package provides a Python port of the ActiveResource +project. + +Active Resource attempts to provide a coherent wrapper object-relational +mapping for REST web services. It follows the same philosophy as Active +Record, in that one of its prime aims is to reduce the amount of code needed +to map to these resources. This is made possible by relying on a number of +code- and protocol-based conventions that make it easy for Active Resource to +infer complex relations and structures.") + (license license:expat))) + -- cgit v1.3 From 0d9f15868535fbb65d4920387755005acec7f63b Mon Sep 17 00:00:00 2001 From: Hartmut Goebel Date: Wed, 20 Jul 2022 08:29:40 +0200 Subject: gnu: Add python-shopifyapi. * gnu/packages/python-web.scm (python-shopifyapi): New variable. --- gnu/packages/python-web.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'gnu/packages/python-web.scm') diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm index 57ad1943332..896e60aba28 100644 --- a/gnu/packages/python-web.scm +++ b/gnu/packages/python-web.scm @@ -7738,3 +7738,26 @@ code- and protocol-based conventions that make it easy for Active Resource to infer complex relations and structures.") (license license:expat))) +(define-public python-shopifyapi + (package + (name "python-shopifyapi") + (version "12.0.0") + (source (origin + (method url-fetch) + (uri (pypi-uri "ShopifyAPI" version)) + (sha256 + (base32 + "03np9mkycqbw5l5vk0srmq353q3vmbycbbarzv0cg3z703p81gnb")))) + (build-system python-build-system) + (native-inputs (list python-mock)) + (propagated-inputs (list python-pyactiveresource python-pyjwt + python-pyyaml python-six)) + (home-page "https://github.com/Shopify/shopify_python_api") + (synopsis "Shopify API for Python") + (description "This package provides the Shopify API for Python. + +The ShopifyAPI library allows Python developers to programmatically access the +admin section of stores using an ActiveResource-like interface similar the +ruby Shopify API gem. The library makes HTTP requests to Shopify in order to +list, create, update, or delete resources (e.g. Order, Product, Collection).") + (license license:expat))) -- cgit v1.3