guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 07d06322324bde8a6bdc61cb923285625f9721c1
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Mon Nov 9 20:58:03 2026 +0000
gnu: packages/python-web: Sort python-g* variables.
* gnu/packages/python-web.scm: (python-genshi, python-gevent-websocket,
python-geventhttpclient, python-gitlab, python-giturlparse,
python-google, python-google-api-client, python-google-api-core,
python-google-auth, python-google-auth-httplib2,
python-google-auth-oauthlib, python-google-cloud-core,
python-google-cloud-storage, python-google-resumable-media,
python-googleapis-common-protos, python-grequests, python-grid5000,
python-gwebsockets): Sort variables alphabetically.
Signed-off-by: Sharlatan Hellseher <[email protected]>
---
gnu/packages/python-web.scm | 1542 +++++++++++++++++++++----------------------
1 file changed, 771 insertions(+), 771 deletions(-)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 86ca34adeab..1cadd981b31 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5403,6 +5403,161 @@ recursively from Google Drive with option to filter
them by file
formats (PDF/XML/CSV).")
(license license:expat)))
+(define-public python-genshi
+ (package
+ (name "python-genshi")
+ (version "0.7.10")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/edgewall/genshi")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1dmf0ggp0s3371jv483kjriw9jscawxcik6q70a0wqjdfh5383i6"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:test-backend #~'unittest))
+ (native-inputs (list python-setuptools))
+ (propagated-inputs (list python-six))
+ (home-page "https://genshi.edgewall.org/")
+ (synopsis "Toolkit for generation of output for the web")
+ (description "Genshi is a Python library that provides an integrated set
+of components for parsing, generating, and processing HTML, XML or other
+textual content for output generation on the web.")
+ (license license:bsd-3)))
+
+(define-public python-gevent-websocket
+ (package
+ (name "python-gevent-websocket")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "gevent-websocket" version))
+ (sha256
+ (base32 "1c2zv2rahp1gil3cj66hfsqgy0n35hz9fny3ywhr2319d0lz7bky"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #f)) ; no tests in PyPI or git
+ (native-inputs
+ (list python-setuptools
+ python-wheel))
+ (propagated-inputs
+ (list python-gevent))
+ (home-page "https://gitlab.com/noppo/gevent-websocket")
+ (synopsis "Websocket handler for the gevent pywsgi server")
+ (description
+ "Websocket handler for the gevent pywsgi server, a Python network
+library.
+
+Features include:
+@itemize
+@item integration on both socket level or using an abstract interface
+@item RPC and PubSub framework using @acronym{WebSocket Application Messaging
+Protocol, WAMP}
+@item easily extendible using a simple WebSocket protocol plugin API
+@end itemize")
+ (license license:asl2.0)))
+
+(define-public python-geventhttpclient
+ (package
+ (name "python-geventhttpclient")
+ (version "2.3.9")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
"https://github.com/geventhttpclient/geventhttpclient")
+ (commit version)
+ (recursive? #true)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1diq6n9sr92rsqbpxlbhbn1d22hrlzp6swykz9bfzh7sxpywa6j8"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; Disable network tests.
+ '(list "-k"
+ (string-append "not test_client_simple"
+ " and not test_client_ssl"
+ " and not test_client_with_default_headers"
+ " and not test_client_without_leading_slash"
+ " and not test_download"
+ " and not test_fail_invalid_ca_certificate"
+ " and not test_httpbin_multipart"
+ " and not test_multi_queries_greenlet_safe"
+ " and not test_no_form_encode_header"
+ " and not test_no_form_encoded_header"
+ " and not test_request_with_headers"
+ " and not test_response_context_manager"
+ " and not test_urllib_request"))))
+ (native-inputs (list nss-certs-for-test
+ python-dpkt python-pytest python-requests
+ python-setuptools python-wheel))
+ (propagated-inputs (list python-brotli python-certifi python-gevent
+ python-urllib3))
+ (home-page "https://github.com/geventhttpclient/geventhttpclient")
+ (synopsis "HTTP client library for gevent")
+ (description "@code{python-geventhttpclient} is a high performance,
+concurrent HTTP client library for python using @code{gevent}.")
+ (license license:expat)))
+
+(define-public python-gitlab
+ (package
+ (name "python-gitlab")
+ (version "7.0.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/python-gitlab/python-gitlab")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0rf1hz5n724f8sfc7g3fzfz96jsv9y145pi6gc8qscsjq3z4vi37"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list "--ignore=tests/unit/test_graphql.py"
+ ;; XXX: Missing helper script.
+ "-k" "not test_data_from_helper" "tests/unit")))
+ (native-inputs
+ (list python-anyio
+ python-pytest
+ python-responses
+ python-setuptools))
+ (propagated-inputs (list python-requests python-requests-toolbelt))
+ (home-page "https://github.com/python-gitlab/python-gitlab")
+ (synopsis "Interact with GitLab API")
+ (description "This package provides an extended library for interacting
+with GitLab instances through their API.")
+ (license license:lgpl3+)))
+
+(define-public python-giturlparse
+ (package
+ (name "python-giturlparse")
+ (version "0.12.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/nephila/giturlparse")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1fdbxp176p17sn5xc1418mz2vk00hlcsd5qmi2fdcfphqal6raan"))))
+ (build-system pyproject-build-system)
+ (native-inputs (list python-pytest python-setuptools))
+ (home-page "https://github.com/nephila/giturlparse")
+ (synopsis "Git URL parsing module")
+ (description
+ "This package provides a git URL parsing module which supports parsing
+and rewriting of remote git URLs from various hosting providers.")
+ (license license:asl2.0)))
+
(define-public python-globus-sdk
(package
(name "python-globus-sdk")
@@ -5415,32 +5570,439 @@ formats (PDF/XML/CSV).")
(commit version)))
(file-name (git-file-name name version))
(sha256
- (base32 "1d0zw9dkpdhsf9zdg3nk6b55gqwzc3v2rj76nj7999hjmq8350vh"))))
+ (base32 "1d0zw9dkpdhsf9zdg3nk6b55gqwzc3v2rj76nj7999hjmq8350vh"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-before 'check 'pre-check
+ (lambda _ (setenv "HOME" "/tmp"))))))
+ (native-inputs
+ (list python-flaky
+ python-pytest
+ python-pytest-randomly
+ python-responses
+ python-setuptools))
+ (propagated-inputs
+ (list python-cryptography
+ python-importlib-resources
+ python-pyjwt
+ python-requests))
+ (home-page "https://github.com/globus/globus-sdk-python")
+ (synopsis "Globus SDK for Python")
+ (description
+ "This package provides a SDK for convenient Pythonic interface to
+@url{https://www.globus.org/, Globus} APIs.")
+ (license license:asl2.0)))
+
+(define-public python-google
+ (package
+ (name "python-google")
+ (version "3.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "google" version))
+ (sha256
+ (base32 "1gncv3l11za0mpxvmpaf5n5j3jzp282rz62yml4ha4z55q930d8l"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #f)) ;There are no tests.
+ (native-inputs (list python-setuptools))
+ (propagated-inputs (list python-beautifulsoup4))
+ (home-page "https://breakingcode.wordpress.com/")
+ (synopsis "Python bindings to the Google search engine")
+ (description
+ "This package provides Python bindings for using the Google search
+engine. Its module is called @code{googlesearch}.")
+ (license license:bsd-3)))
+
+(define-public python-google-api-client
+ (package
+ (name "python-google-api-client")
+ (version "2.198.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/google/google-api-python-client")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1adjr3ylp8bwbvywxm11hs4y913pvaga0dn6nwmb3622y62zxfhg"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list
+ "-k"
+ (string-join
+ (list
+ ;; XXX: Deprecated behavior.
+ "not test_client_options_universe_configured_with_mtls"
+ "test_universe_env_var_configured_with_mtls"
+ ;; XXX: Requires CA certificates.
+ "test_credentials_and_credentials_file_mutually_exclusive")
+ " and not ")
+ "tests")))
+ (native-inputs
+ (list python-parameterized
+ python-pytest
+ python-setuptools))
+ (propagated-inputs
+ (list python-google-api-core
+ python-google-auth
+ python-google-auth-httplib2
+ python-httplib2
+ python-pyparsing
+ python-uritemplate-3))
+ (home-page "https://github.com/google/google-api-python-client")
+ (synopsis "Core Python library for accessing Google APIs")
+ (description "Python client library for Google's discovery based APIs")
+ (license license:asl2.0)))
+
+(define-public python-google-api-core
+ (package
+ (name "python-google-api-core")
+ (version "2.29.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/googleapis/python-api-core")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ahs8abyl7719paarlnspqp8yds149w7vm3w7zz6f7q04sscd862"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; XXX: DeprecationWarning: datetime.datetime.utcfromtimestamp() is
+ ;; deprecated and scheduled for removal in a future version. Use
+ ;; timezone-aware objects to represent datetimes in UTC:
+ ;; datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
+ #~(list "-W" "ignore::DeprecationWarning")))
+ (propagated-inputs
+ (list python-google-auth
+ python-googleapis-common-protos
+ python-protobuf
+ python-proto-plus
+ python-requests))
+ (native-inputs
+ (list python-mock
+ python-pytest
+ python-pytest-asyncio
+ python-pytest-mock
+ python-setuptools))
+ (home-page "https://github.com/googleapis/python-api-core")
+ (synopsis "Google API client core library")
+ (description
+ "This library defines common helpers used by all Google API clients.")
+ (license license:asl2.0)))
+
+(define-public python-google-auth
+ (package
+ (name "python-google-auth")
+ (version "2.56.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "google_auth" version))
+ (sha256
+ (base32 "0lx5cw49lfjqvd9vx1vlslrxyh9q0xd6d46np5a2dab9nlqa03zr"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs
+ (list python-aiohttp
+ python-cryptography
+ python-pyasn1-modules
+ python-requests
+ python-rsa
+ python-urllib3))
+ (native-inputs
+ (list nss-certs-for-test
+ python-aiohttp
+ python-aioresponses
+ python-flask
+ python-freezegun
+ python-grpcio
+ python-oauth2client
+ python-packaging
+ python-pyjwt
+ python-pyopenssl
+ python-pytest
+ python-pytest-asyncio
+ python-pytest-localserver
+ python-pyu2f
+ python-requests
+ python-responses
+ python-rsa
+ python-setuptools
+ python-urllib3))
+ (home-page "https://github.com/googleapis/google-auth-library-python")
+ (synopsis "Google Authentication Library")
+ (description "This library simplifies using Google's various
+server-to-server authentication mechanisms to access Google APIs.")
+ (license license:asl2.0)))
+
+(define-public python-google-auth-httplib2
+ (package
+ (name "python-google-auth-httplib2")
+ (version "0.4.0")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "google_auth_httplib2" version))
+ (sha256
+ (base32
"0dgdzy2ps3z71dc2b4s1fhmyx094nq0sg75sagav995p0ji31c6m"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs
+ (list python-google-auth python-httplib2))
+ (native-inputs
+ (list python-pytest
+ python-pyparsing
+ python-pytest-localserver
+ python-flask
+ python-setuptools))
+ (home-page "https://github.com/googleapis/google-cloud-python")
+ (synopsis "Google Authentication Library: httplib2 transport")
+ (description "This package provides a Google Authentication Library plugin
+for httplib2 transport.")
+ (license license:asl2.0)))
+
+(define-public python-google-auth-oauthlib
+ (package
+ (name "python-google-auth-oauthlib")
+ (version "1.2.4")
+ (home-page
+ "https://github.com/GoogleCloudPlatform/\
+google-auth-library-python-oauthlib")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1j25kdbs2j1x23pdv4n49xl9pz2ppn55vsav65ir796kq4lf9nca"))))
+ (build-system pyproject-build-system)
+ (propagated-inputs (list python-google-auth python-requests-oauthlib))
+ (native-inputs
+ (list python-click python-mock python-pytest python-setuptools))
+ (synopsis "Google Authentication Library: oauthlib")
+ (description "This package provides a Google Authentication Library plugin
+with oauthlib.")
+ (license license:asl2.0)))
+
+(define-public python-google-cloud-core
+ (package
+ (name "python-google-cloud-core")
+ (version "2.5.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/googleapis/python-cloud-core")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1d7li74cakgl9vghxfir9nxwy36980alvxwgwjg0zyla3hgj07cq"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ ;; XXX: DeprecationWarning: datetime.datetime.utcfromtimestamp() is
+ ;; deprecated and scheduled for removal in a future version. Use
+ ;; timezone-aware objects to represent datetimes in UTC:
+ ;; datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
+ #~(list "-W" "ignore::DeprecationWarning")))
+ (propagated-inputs (list python-google-api-core python-google-auth))
+ (native-inputs
+ (list python-grpcio
+ python-grpcio-status
+ python-pytest
+ python-setuptools))
+ (home-page "https://github.com/googleapis/python-cloud-core")
+ (synopsis "Google Cloud API client core library")
+ (description
+ "This library defines common helpers (e.g. base @code{Client} classes)
+used by all of the @code{google-cloud-*} packages.")
+ (license license:asl2.0)))
+
+(define-public python-google-cloud-storage
+ (package
+ (name "python-google-cloud-storage")
+ (version "2.19.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/googleapis/python-storage")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "19w10v2j4ciwlf8j2ylm77f8z1b0kqzg8lkh9rvh2swv1zrhydpj"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list
+ ;; XXX: Missing test_utils.retry.
+ "--ignore=tests/system/"
+ ;; Needs docker.
+ "--ignore=tests/conformance/"
+ ;; XXX: Deprecations.
+ "-k" (string-join
+ (list "not test_set_api_request_attr"
+ "test_create_bucket_w_custom_endpoint"
+ "test_ctor_w_api_endpoint_override"
+ "test_ctor_w_custom_endpoint_use_auth"
+ "test_list_buckets_w_custom_endpoint")
+ " and not ")
+ "tests")))
+ (native-inputs
+ (list python-googleapis-common-protos
+ python-mock
+ python-pytest
+ python-test-utils
+ python-setuptools))
+ (propagated-inputs
+ (list python-google-api-core
+ python-google-auth
+ python-google-cloud-core
+ python-google-resumable-media
+ python-protobuf
+ python-requests))
+ (home-page "https://github.com/googleapis/python-storage")
+ (synopsis "Google Cloud Storage API client library")
+ (description
+ "Google Cloud Storage allows you to store data on Google infrastructure,
+and it can be used to distribute large data objects to users via direct
+download. This package provides a Google Cloud Storage API client library for
+Python.")
+ (license license:asl2.0)))
+
+(define-public python-google-resumable-media
+ (package
+ (name "python-google-resumable-media")
+ (version "2.8.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
+ "https://github.com/googleapis/google-resumable-media-python")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0ndida5yr06bal0m09yri80bvf8x7yy690b14ywnxl4ixi8rlh6s"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ #:test-flags
+ #~(list
+ ;; XXX: Missing test_utils.retry.
+ "--ignore-glob=tests*/system/"
+ ;; XXX: md5_hash is not mock.sentinel.md5_hash
+ "-k" (string-join
+ (list "not test_brotli"
+ "test_constructor"
+ "test_decompress")
+ " and not "))))
+ (propagated-inputs (list python-google-crc32c))
+ (native-inputs
+ (list python-google-auth
+ python-mock
+ python-pytest
+ python-pytest-asyncio
+ python-setuptools
+ python-test-utils))
+ (home-page "https://github.com/googleapis/google-resumable-media-python")
+ (synopsis "Utilities for Google Media Downloads and Resumable Uploads")
+ (description "This package provides utilities for Google Media Downloads
+and Resumable Uploads.")
+ (license license:asl2.0)))
+
+(define-public python-googleapis-common-protos
+ (package
+ (name "python-googleapis-common-protos")
+ (version "1.66.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/googleapis/python-api-common-protos")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1fb7bcmjngmwwhqrldslli6r5z3s6r2kj4ywjmdjj92d1i51c29r"))))
(build-system pyproject-build-system)
- (arguments
- (list
- #:phases
- #~(modify-phases %standard-phases
- (add-before 'check 'pre-check
- (lambda _ (setenv "HOME" "/tmp"))))))
- (native-inputs
- (list python-flaky
- python-pytest
- python-pytest-randomly
- python-responses
- python-setuptools))
- (propagated-inputs
- (list python-cryptography
- python-importlib-resources
- python-pyjwt
- python-requests))
- (home-page "https://github.com/globus/globus-sdk-python")
- (synopsis "Globus SDK for Python")
+ (propagated-inputs (list python-protobuf))
+ (native-inputs (list python-pytest python-setuptools))
+ (home-page "https://github.com/googleapis/python-api-common-protos")
+ (synopsis "Common protobufs used in Google APIs")
(description
- "This package provides a SDK for convenient Pythonic interface to
-@url{https://www.globus.org/, Globus} APIs.")
+ "This package contains Python classes generated from the common protos in
+the @code{googleapis/api-common-protos} repository.")
(license license:asl2.0)))
+(define-public python-grequests
+ (let ((commit "60f70e99e942a2df378b4e4f6202dcf862754c2d")
+ (revision "0"))
+ (package
+ (name "python-grequests")
+ (version (git-version "0.7.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/kennethreitz/grequests")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0132yv1rr4pmrmwasrnasqbnd80pi6rgy52608731p7lidkmxz9a"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list
+ ;; XXX: Most failing tests seem to be caused by network access,
+ ;; but there is no easy/flag way to disable tests selectively.
+ #:tests? #f
+ #:test-backend #~'unittest
+ #:test-flags #~(list "tests.py")))
+ (propagated-inputs (list python-gevent python-requests))
+ (native-inputs (list python-setuptools))
+ (home-page "https://github.com/kennethreitz/grequests")
+ (synopsis "Python library for asynchronous HTTP requests")
+ (description
+ "GRequests is a Python library that allows you to use @code{Requests}
+with @code{Gevent} to make asynchronous HTTP Requests easily.")
+ (license license:bsd-2))))
+
+(define-public python-grid5000
+ (package
+ (name "python-grid5000")
+ (version "1.2.4")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gitlab.inria.fr/msimonin/python-grid5000")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ "0px5dr6kn7i5dyy4g42vqap1zpkc4hdvg7prrxdkkl57lfhz5w61")))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #f)) ; No tests.
+ (native-inputs (list python-setuptools))
+ (propagated-inputs (list python-requests python-ipython python-pyyaml))
+ (home-page "https://pypi.org/project/python-grid5000/")
+ (synopsis "Grid5000 python client")
+ (description
+ "python-grid5000 is a python package wrapping the Grid5000 REST API.
+You can use it as a library in your python project or you can explore the
+Grid5000 resources interactively using the embedded shell.")
+ (license license:gpl3+)))
+
(define-public python-guardpost
(package
(name "python-guardpost")
@@ -5488,6 +6050,31 @@ Its features include
@end itemize")
(license license:expat)))
+(define-public python-gwebsockets
+ (package
+ (name "python-gwebsockets")
+ (version "0.7")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sugarlabs/gwebsockets")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0w422yz0qdix5xb6aqrrci1s1hy4whncspwb03m9ankqww0s1yv2"))))
+ (build-system pyproject-build-system)
+ (arguments (list #:tests? #f)) ; No tests upstream.
+ (native-inputs (list python-setuptools))
+ (propagated-inputs (list python-pygobject))
+ (home-page "https://github.com/sugarlabs/gwebsockets")
+ (synopsis "GLib based websockets server")
+ (description
+ "This package provides a websocket server written in Python. It uses GIO
+for network communication and hence it easily integrates with the GLib
+mainloop.")
+ (license license:asl2.0)))
+
(define-public python-habanero
(package
(name "python-habanero")
@@ -10794,210 +11381,76 @@ pass private data, and to spawn subprocesses to
handle requests.")
(version "3.1.0")
(source
(origin
- (method url-fetch)
- (uri (pypi-uri "PasteDeploy" version))
- (sha256
- (base32 "15as15mgz9xn33abwrp0x0mbj537ib3q47z8ky5475c05wasznwx"))))
- (build-system pyproject-build-system)
- (native-inputs (list python-pytest python-setuptools))
- (home-page "https://pylonsproject.org/")
- (synopsis "Load, configure, and compose WSGI applications and servers")
- (description
- "This tool provides code to load WSGI applications and servers from URIs;
-these URIs can refer to Python Eggs for INI-style configuration files. Paste
-Script provides commands to serve applications based on this configuration
-file.")
- (license license:expat)))
-
-(define-public python-webtest
- (package
- (name "python-webtest")
- (version "3.0.6")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "webtest" version))
- (sha256
- (base32 "0jwl8i9xvm5xim1h2jrwfbqac1g3fpiazfdwfp2md3s4899gsmj2"))))
- (build-system pyproject-build-system)
- (arguments
- ;; Tests require python-pyquery, which creates a circular dependency.
- `(#:tests? #f))
- (native-inputs
- (list python-setuptools))
- (propagated-inputs
- (list python-beautifulsoup4
- python-waitress
- python-webob))
- (home-page "https://docs.pylonsproject.org/projects/webtest/")
- (synopsis "Helper to test WSGI applications")
- (description
- "Webtest allows you to test your Python web applications without
-starting an HTTP server. It supports anything that supports the minimum of
-WSGI.")
- (license license:expat)))
-
-(define-public python-responses
- (package
- (name "python-responses")
- (version "0.25.3")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "responses" version))
- (sha256
- (base32
- "1fld6lsa143md4lxccwxq9iyqm9d8a05i9sp7lqjibnrmd3r4yv1"))))
- (build-system pyproject-build-system)
- (native-inputs
- (list python-pytest
- python-pytest-asyncio
- python-pytest-httpserver
- python-setuptools
- python-tomli
- python-tomli-w
- python-wheel))
- (propagated-inputs
- (list python-requests
- python-pyyaml
- python-urllib3))
- (home-page "https://github.com/getsentry/responses")
- (synopsis "Utility for mocking out the `requests` Python library")
- (description "A utility library for mocking out the `requests` Python
-library.")
- (license license:asl2.0)))
-
-(define-public python-grequests
- (let ((commit "60f70e99e942a2df378b4e4f6202dcf862754c2d")
- (revision "0"))
- (package
- (name "python-grequests")
- (version (git-version "0.7.0" revision commit))
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/kennethreitz/grequests")
- (commit commit)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0132yv1rr4pmrmwasrnasqbnd80pi6rgy52608731p7lidkmxz9a"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- ;; XXX: Most failing tests seem to be caused by network access,
- ;; but there is no easy/flag way to disable tests selectively.
- #:tests? #f
- #:test-backend #~'unittest
- #:test-flags #~(list "tests.py")))
- (propagated-inputs (list python-gevent python-requests))
- (native-inputs (list python-setuptools))
- (home-page "https://github.com/kennethreitz/grequests")
- (synopsis "Python library for asynchronous HTTP requests")
- (description
- "GRequests is a Python library that allows you to use @code{Requests}
-with @code{Gevent} to make asynchronous HTTP Requests easily.")
- (license license:bsd-2))))
-
-(define-public python-gwebsockets
- (package
- (name "python-gwebsockets")
- (version "0.7")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/sugarlabs/gwebsockets")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0w422yz0qdix5xb6aqrrci1s1hy4whncspwb03m9ankqww0s1yv2"))))
- (build-system pyproject-build-system)
- (arguments (list #:tests? #f)) ; No tests upstream.
- (native-inputs (list python-setuptools))
- (propagated-inputs (list python-pygobject))
- (home-page "https://github.com/sugarlabs/gwebsockets")
- (synopsis "GLib based websockets server")
- (description
- "This package provides a websocket server written in Python. It uses GIO
-for network communication and hence it easily integrates with the GLib
-mainloop.")
- (license license:asl2.0)))
-
-(define-public python-geventhttpclient
- (package
- (name "python-geventhttpclient")
- (version "2.3.9")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url
"https://github.com/geventhttpclient/geventhttpclient")
- (commit version)
- (recursive? #true)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "1diq6n9sr92rsqbpxlbhbn1d22hrlzp6swykz9bfzh7sxpywa6j8"))))
+ (method url-fetch)
+ (uri (pypi-uri "PasteDeploy" version))
+ (sha256
+ (base32 "15as15mgz9xn33abwrp0x0mbj537ib3q47z8ky5475c05wasznwx"))))
(build-system pyproject-build-system)
- (arguments
- (list
- #:test-flags
- ;; Disable network tests.
- '(list "-k"
- (string-append "not test_client_simple"
- " and not test_client_ssl"
- " and not test_client_with_default_headers"
- " and not test_client_without_leading_slash"
- " and not test_download"
- " and not test_fail_invalid_ca_certificate"
- " and not test_httpbin_multipart"
- " and not test_multi_queries_greenlet_safe"
- " and not test_no_form_encode_header"
- " and not test_no_form_encoded_header"
- " and not test_request_with_headers"
- " and not test_response_context_manager"
- " and not test_urllib_request"))))
- (native-inputs (list nss-certs-for-test
- python-dpkt python-pytest python-requests
- python-setuptools python-wheel))
- (propagated-inputs (list python-brotli python-certifi python-gevent
- python-urllib3))
- (home-page "https://github.com/geventhttpclient/geventhttpclient")
- (synopsis "HTTP client library for gevent")
- (description "@code{python-geventhttpclient} is a high performance,
-concurrent HTTP client library for python using @code{gevent}.")
+ (native-inputs (list python-pytest python-setuptools))
+ (home-page "https://pylonsproject.org/")
+ (synopsis "Load, configure, and compose WSGI applications and servers")
+ (description
+ "This tool provides code to load WSGI applications and servers from URIs;
+these URIs can refer to Python Eggs for INI-style configuration files. Paste
+Script provides commands to serve applications based on this configuration
+file.")
(license license:expat)))
-(define-public python-gevent-websocket
+(define-public python-webtest
(package
- (name "python-gevent-websocket")
- (version "0.10.1")
+ (name "python-webtest")
+ (version "3.0.6")
(source
(origin
(method url-fetch)
- (uri (pypi-uri "gevent-websocket" version))
+ (uri (pypi-uri "webtest" version))
(sha256
- (base32 "1c2zv2rahp1gil3cj66hfsqgy0n35hz9fny3ywhr2319d0lz7bky"))))
+ (base32 "0jwl8i9xvm5xim1h2jrwfbqac1g3fpiazfdwfp2md3s4899gsmj2"))))
(build-system pyproject-build-system)
(arguments
- (list #:tests? #f)) ; no tests in PyPI or git
+ ;; Tests require python-pyquery, which creates a circular dependency.
+ `(#:tests? #f))
(native-inputs
- (list python-setuptools
- python-wheel))
+ (list python-setuptools))
(propagated-inputs
- (list python-gevent))
- (home-page "https://gitlab.com/noppo/gevent-websocket")
- (synopsis "Websocket handler for the gevent pywsgi server")
+ (list python-beautifulsoup4
+ python-waitress
+ python-webob))
+ (home-page "https://docs.pylonsproject.org/projects/webtest/")
+ (synopsis "Helper to test WSGI applications")
(description
- "Websocket handler for the gevent pywsgi server, a Python network
-library.
+ "Webtest allows you to test your Python web applications without
+starting an HTTP server. It supports anything that supports the minimum of
+WSGI.")
+ (license license:expat)))
-Features include:
-@itemize
-@item integration on both socket level or using an abstract interface
-@item RPC and PubSub framework using @acronym{WebSocket Application Messaging
-Protocol, WAMP}
-@item easily extendible using a simple WebSocket protocol plugin API
-@end itemize")
+(define-public python-responses
+ (package
+ (name "python-responses")
+ (version "0.25.3")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "responses" version))
+ (sha256
+ (base32
+ "1fld6lsa143md4lxccwxq9iyqm9d8a05i9sp7lqjibnrmd3r4yv1"))))
+ (build-system pyproject-build-system)
+ (native-inputs
+ (list python-pytest
+ python-pytest-asyncio
+ python-pytest-httpserver
+ python-setuptools
+ python-tomli
+ python-tomli-w
+ python-wheel))
+ (propagated-inputs
+ (list python-requests
+ python-pyyaml
+ python-urllib3))
+ (home-page "https://github.com/getsentry/responses")
+ (synopsis "Utility for mocking out the `requests` Python library")
+ (description "A utility library for mocking out the `requests` Python
+library.")
(license license:asl2.0)))
(define-public python-requests-oauthlib
@@ -11209,30 +11662,6 @@ and CSS files,supporting a variety of different
filters, including YUI, jsmin,
jspacker or CSS tidy. It also supports URL rewriting in CSS files.")
(license license:bsd-2)))
-(define-public python-genshi
- (package
- (name "python-genshi")
- (version "0.7.10")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/edgewall/genshi")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1dmf0ggp0s3371jv483kjriw9jscawxcik6q70a0wqjdfh5383i6"))))
- (build-system pyproject-build-system)
- (arguments (list #:test-backend #~'unittest))
- (native-inputs (list python-setuptools))
- (propagated-inputs (list python-six))
- (home-page "https://genshi.edgewall.org/")
- (synopsis "Toolkit for generation of output for the web")
- (description "Genshi is a Python library that provides an integrated set
-of components for parsing, generating, and processing HTML, XML or other
-textual content for output generation on the web.")
- (license license:bsd-3)))
-
(define-public python-uritemplate
(package
(name "python-uritemplate")
@@ -11472,135 +11901,21 @@ asynchronously.")
(lambda _
;; XXX: I don't know how to tell it to build the extensions in
;; place.
- (substitute* "packaging/pep517_backend/_backend.py"
- (("build_inplace=False") "build_inplace=True")))))))
- (native-inputs
- (list python-cython
- python-expandvars
- python-pytest
- python-pytest-xdist
- python-setuptools
- python-tomli))
- (propagated-inputs
- (list python-packaging python-idna python-multidict python-propcache))
- (home-page "https://github.com/aio-libs/yarl/")
- (synopsis "Yet another URL library")
- (description "@code{yarl} module provides handy @code{URL} class
-for URL parsing and changing.")
- (license license:asl2.0)))
-
-(define-public python-google
- (package
- (name "python-google")
- (version "3.0.0")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "google" version))
- (sha256
- (base32 "1gncv3l11za0mpxvmpaf5n5j3jzp282rz62yml4ha4z55q930d8l"))))
- (build-system pyproject-build-system)
- (arguments (list #:tests? #f)) ;There are no tests.
- (native-inputs (list python-setuptools))
- (propagated-inputs (list python-beautifulsoup4))
- (home-page "https://breakingcode.wordpress.com/")
- (synopsis "Python bindings to the Google search engine")
- (description
- "This package provides Python bindings for using the Google search
-engine. Its module is called @code{googlesearch}.")
- (license license:bsd-3)))
-
-(define-public python-google-api-client
- (package
- (name "python-google-api-client")
- (version "2.198.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/google/google-api-python-client")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1adjr3ylp8bwbvywxm11hs4y913pvaga0dn6nwmb3622y62zxfhg"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- #:test-flags
- #~(list
- "-k"
- (string-join
- (list
- ;; XXX: Deprecated behavior.
- "not test_client_options_universe_configured_with_mtls"
- "test_universe_env_var_configured_with_mtls"
- ;; XXX: Requires CA certificates.
- "test_credentials_and_credentials_file_mutually_exclusive")
- " and not ")
- "tests")))
- (native-inputs
- (list python-parameterized
- python-pytest
- python-setuptools))
- (propagated-inputs
- (list python-google-api-core
- python-google-auth
- python-google-auth-httplib2
- python-httplib2
- python-pyparsing
- python-uritemplate-3))
- (home-page "https://github.com/google/google-api-python-client")
- (synopsis "Core Python library for accessing Google APIs")
- (description "Python client library for Google's discovery based APIs")
- (license license:asl2.0)))
-
-(define-public python-google-auth-httplib2
- (package
- (name "python-google-auth-httplib2")
- (version "0.4.0")
- (source (origin
- (method url-fetch)
- (uri (pypi-uri "google_auth_httplib2" version))
- (sha256
- (base32
"0dgdzy2ps3z71dc2b4s1fhmyx094nq0sg75sagav995p0ji31c6m"))))
- (build-system pyproject-build-system)
- (propagated-inputs
- (list python-google-auth python-httplib2))
- (native-inputs
- (list python-pytest
- python-pyparsing
- python-pytest-localserver
- python-flask
- python-setuptools))
- (home-page "https://github.com/googleapis/google-cloud-python")
- (synopsis "Google Authentication Library: httplib2 transport")
- (description "This package provides a Google Authentication Library plugin
-for httplib2 transport.")
- (license license:asl2.0)))
-
-(define-public python-google-auth-oauthlib
- (package
- (name "python-google-auth-oauthlib")
- (version "1.2.4")
- (home-page
- "https://github.com/GoogleCloudPlatform/\
-google-auth-library-python-oauthlib")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url home-page)
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1j25kdbs2j1x23pdv4n49xl9pz2ppn55vsav65ir796kq4lf9nca"))))
- (build-system pyproject-build-system)
- (propagated-inputs (list python-google-auth python-requests-oauthlib))
- (native-inputs
- (list python-click python-mock python-pytest python-setuptools))
- (synopsis "Google Authentication Library: oauthlib")
- (description "This package provides a Google Authentication Library plugin
-with oauthlib.")
+ (substitute* "packaging/pep517_backend/_backend.py"
+ (("build_inplace=False") "build_inplace=True")))))))
+ (native-inputs
+ (list python-cython
+ python-expandvars
+ python-pytest
+ python-pytest-xdist
+ python-setuptools
+ python-tomli))
+ (propagated-inputs
+ (list python-packaging python-idna python-multidict python-propcache))
+ (home-page "https://github.com/aio-libs/yarl/")
+ (synopsis "Yet another URL library")
+ (description "@code{yarl} module provides handy @code{URL} class
+for URL parsing and changing.")
(license license:asl2.0)))
(define-public whoogle-search
@@ -12164,38 +12479,6 @@ the source code of a project. It supports many
translation file formats and
is part of the Weblate translation platform.")
(license license:gpl3+)))
-(define-public python-gitlab
- (package
- (name "python-gitlab")
- (version "7.0.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/python-gitlab/python-gitlab")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0rf1hz5n724f8sfc7g3fzfz96jsv9y145pi6gc8qscsjq3z4vi37"))))
- (build-system pyproject-build-system)
- (arguments
- (list
- #:test-flags
- #~(list "--ignore=tests/unit/test_graphql.py"
- ;; XXX: Missing helper script.
- "-k" "not test_data_from_helper" "tests/unit")))
- (native-inputs
- (list python-anyio
- python-pytest
- python-responses
- python-setuptools))
- (propagated-inputs (list python-requests python-requests-toolbelt))
- (home-page "https://github.com/python-gitlab/python-gitlab")
- (synopsis "Interact with GitLab API")
- (description "This package provides an extended library for interacting
-with GitLab instances through their API.")
- (license license:lgpl3+)))
-
(define-public python-path-and-address
(package
(name "python-path-and-address")
@@ -13604,28 +13887,6 @@ over IMAP:
@end itemize")
(license license:asl2.0)))
-(define-public python-giturlparse
- (package
- (name "python-giturlparse")
- (version "0.12.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/nephila/giturlparse")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1fdbxp176p17sn5xc1418mz2vk00hlcsd5qmi2fdcfphqal6raan"))))
- (build-system pyproject-build-system)
- (native-inputs (list python-pytest python-setuptools))
- (home-page "https://github.com/nephila/giturlparse")
- (synopsis "Git URL parsing module")
- (description
- "This package provides a git URL parsing module which supports parsing
-and rewriting of remote git URLs from various hosting providers.")
- (license license:asl2.0)))
-
(define-public python-hstspreload
(package
(name "python-hstspreload")
@@ -13867,379 +14128,143 @@ realtime client and server.")
(define-public python-socks
(package
(name "python-socks")
- (version "2.8.1")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/romis2012/python-socks")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "1x95i9w3izivdgz6hadh5kiil12i4ljk4ashgh3g0rjv2rw33vhj"))))
- (build-system pyproject-build-system)
- (propagated-inputs (list python-trio))
- (native-inputs
- (list python-anyio
- python-flask
- python-pytest
- python-pytest-asyncio
- python-pytest-trio
- python-setuptools
- python-tiny-proxy
- python-trustme
- python-yarl))
- (home-page "https://github.com/romis2012/python-socks")
- (synopsis
- "Core proxy (SOCKS4, SOCKS5, HTTP tunneling) functionality for Python")
- (description
- "Socks is a library providing core proxy (SOCKS4, SOCKS5, HTTP tunneling)
- functionality.")
- (license license:asl2.0)))
-
-(define-public python-socksio
- (package
- (name "python-socksio")
- (version "1.0.0")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "socksio" version))
- (sha256
- (base32 "1b64j45w35jzhjhnq44bnyad9ydh1iyyd7a6j2c8phxmllyyp2zq"))))
- (build-system pyproject-build-system)
- (native-inputs
- (list python-flit-core python-pytest))
- (home-page "https://github.com/sethmlarson/socksio")
- (synopsis "Sans-I/O implementation of SOCKS4, SOCKS4A, and SOCKS5")
- (description "The @code{socksio} Python module is a client-side sans-I/O
-SOCKS proxy implementation. It supports SOCKS4, SOCKS4A, and SOCKS5.
-@code{socksio} is a sans-I/O library similar to @code{h11} or @code{h2}; this
-means the library itself does not handle the actual sending of the bytes
-through the network, it only deals with the implementation details of the
-SOCKS protocols. It can be paired with any I/O library.")
- (license license:expat)))
-
-(define-public python-simple-websocket
- (package
- (name "python-simple-websocket")
- (version "1.1.0")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "simple_websocket" version))
- (sha256
- (base32 "1r1all55d5dimiw3qwdhj53cxj9yjgnskcysmcscarx0g9726fbr"))))
- (build-system pyproject-build-system)
- (arguments
- ;; Requires Internet access to resolve example.com
- (list #:test-flags '(list "--ignore=tests/test_client.py")))
- (propagated-inputs (list python-wsproto))
- (native-inputs (list python-pytest
- python-setuptools))
- (home-page "https://github.com/miguelgrinberg/simple-websocket")
- (synopsis "Simple WebSocket server and client for Python")
- (description "This package provides a simple @code{WebSocket} server and
-client for Python.")
- (license license:expat)))
-
-(define-public python-siosocks
- (package
- (name "python-siosocks")
- (version "0.3.0")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/pohmelie/siosocks")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32 "0zcib4j5bfxlryfa412wmlkk8ivsiwxrfbpij5s7ag839ii2lxa5"))))
- (build-system pyproject-build-system)
- (native-inputs
- (list python-pytest
- python-pytest-asyncio
- python-pytest-trio
- python-setuptools))
- (propagated-inputs (list python-trio))
- (home-page "https://github.com/pohmelie/siosocks")
- (synopsis "SOCKSv4 & SOCKSv5 TCP proxy protocol implementation in Python")
- (description
- "This package provides a Python module and framework for sans-io socks
proxy
-client/server with couple io backends.
-
-Features:
-@itemize
-@item Only TCP connect (no BIND, no UDP)
-@item Both client and server
-@item SOCKS versions: 4, 4a, 5
-@item SOCKSv5 auth: no auth, username/password
-@item Couple io backends: @code{asyncio}, @code{trio}, @code{socketserver}
-@item One-shot socks server (@code{python -m siosocks})
-@end itemize")
- (license license:expat)))
-
-(define-public python-tiny-proxy
- (package
- (name "python-tiny-proxy")
- (version "0.2.1")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "tiny_proxy" version))
- (sha256
- (base32 "05nq62fn3p7s1a6dkdvnrzmk39d9ddrzb3pqbbli025qs3m9j1bq"))))
- (build-system pyproject-build-system)
- ;; There are only a handful of tests and they require the as yet
- ;; unpackaged httpx_socks.
- (arguments (list #:tests? #false))
- (propagated-inputs (list python-anyio))
- (native-inputs
- (list python-httpx
- python-pytest
- python-setuptools
- python-wheel))
- (home-page "https://github.com/romis2012/tiny-proxy")
- (synopsis "Simple proxy server (SOCKS4(a), SOCKS5(h), HTTP tunnel)")
- (description "This package provides a simple proxy server (SOCKS4(a),
-SOCKS5(h), HTTP tunnel).")
- (license license:asl2.0)))
-
-(define-public python-google-auth
- (package
- (name "python-google-auth")
- (version "2.56.0")
- (source
- (origin
- (method url-fetch)
- (uri (pypi-uri "google_auth" version))
- (sha256
- (base32 "0lx5cw49lfjqvd9vx1vlslrxyh9q0xd6d46np5a2dab9nlqa03zr"))))
- (build-system pyproject-build-system)
- (propagated-inputs
- (list python-aiohttp
- python-cryptography
- python-pyasn1-modules
- python-requests
- python-rsa
- python-urllib3))
- (native-inputs
- (list nss-certs-for-test
- python-aiohttp
- python-aioresponses
- python-flask
- python-freezegun
- python-grpcio
- python-oauth2client
- python-packaging
- python-pyjwt
- python-pyopenssl
- python-pytest
- python-pytest-asyncio
- python-pytest-localserver
- python-pyu2f
- python-requests
- python-responses
- python-rsa
- python-setuptools
- python-urllib3))
- (home-page "https://github.com/googleapis/google-auth-library-python")
- (synopsis "Google Authentication Library")
- (description "This library simplifies using Google's various
-server-to-server authentication mechanisms to access Google APIs.")
- (license license:asl2.0)))
-
-(define-public python-google-resumable-media
- (package
- (name "python-google-resumable-media")
- (version "2.8.0")
+ (version "2.8.1")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url
- "https://github.com/googleapis/google-resumable-media-python")
- (commit (string-append "v" version))))
+ (url "https://github.com/romis2012/python-socks")
+ (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "0ndida5yr06bal0m09yri80bvf8x7yy690b14ywnxl4ixi8rlh6s"))))
+ (base32 "1x95i9w3izivdgz6hadh5kiil12i4ljk4ashgh3g0rjv2rw33vhj"))))
(build-system pyproject-build-system)
- (arguments
- (list
- #:test-flags
- #~(list
- ;; XXX: Missing test_utils.retry.
- "--ignore-glob=tests*/system/"
- ;; XXX: md5_hash is not mock.sentinel.md5_hash
- "-k" (string-join
- (list "not test_brotli"
- "test_constructor"
- "test_decompress")
- " and not "))))
- (propagated-inputs (list python-google-crc32c))
+ (propagated-inputs (list python-trio))
(native-inputs
- (list python-google-auth
- python-mock
+ (list python-anyio
+ python-flask
python-pytest
python-pytest-asyncio
+ python-pytest-trio
python-setuptools
- python-test-utils))
- (home-page "https://github.com/googleapis/google-resumable-media-python")
- (synopsis "Utilities for Google Media Downloads and Resumable Uploads")
- (description "This package provides utilities for Google Media Downloads
-and Resumable Uploads.")
+ python-tiny-proxy
+ python-trustme
+ python-yarl))
+ (home-page "https://github.com/romis2012/python-socks")
+ (synopsis
+ "Core proxy (SOCKS4, SOCKS5, HTTP tunneling) functionality for Python")
+ (description
+ "Socks is a library providing core proxy (SOCKS4, SOCKS5, HTTP tunneling)
+ functionality.")
(license license:asl2.0)))
-(define-public python-googleapis-common-protos
+(define-public python-socksio
(package
- (name "python-googleapis-common-protos")
- (version "1.66.0")
+ (name "python-socksio")
+ (version "1.0.0")
(source
(origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/googleapis/python-api-common-protos")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
+ (method url-fetch)
+ (uri (pypi-uri "socksio" version))
(sha256
- (base32 "1fb7bcmjngmwwhqrldslli6r5z3s6r2kj4ywjmdjj92d1i51c29r"))))
+ (base32 "1b64j45w35jzhjhnq44bnyad9ydh1iyyd7a6j2c8phxmllyyp2zq"))))
(build-system pyproject-build-system)
- (propagated-inputs (list python-protobuf))
- (native-inputs (list python-pytest python-setuptools))
- (home-page "https://github.com/googleapis/python-api-common-protos")
- (synopsis "Common protobufs used in Google APIs")
- (description
- "This package contains Python classes generated from the common protos in
-the @code{googleapis/api-common-protos} repository.")
- (license license:asl2.0)))
+ (native-inputs
+ (list python-flit-core python-pytest))
+ (home-page "https://github.com/sethmlarson/socksio")
+ (synopsis "Sans-I/O implementation of SOCKS4, SOCKS4A, and SOCKS5")
+ (description "The @code{socksio} Python module is a client-side sans-I/O
+SOCKS proxy implementation. It supports SOCKS4, SOCKS4A, and SOCKS5.
+@code{socksio} is a sans-I/O library similar to @code{h11} or @code{h2}; this
+means the library itself does not handle the actual sending of the bytes
+through the network, it only deals with the implementation details of the
+SOCKS protocols. It can be paired with any I/O library.")
+ (license license:expat)))
-(define-public python-google-api-core
+(define-public python-simple-websocket
(package
- (name "python-google-api-core")
- (version "2.29.0")
+ (name "python-simple-websocket")
+ (version "1.1.0")
(source
(origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/googleapis/python-api-core")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
+ (method url-fetch)
+ (uri (pypi-uri "simple_websocket" version))
(sha256
- (base32 "0ahs8abyl7719paarlnspqp8yds149w7vm3w7zz6f7q04sscd862"))))
+ (base32 "1r1all55d5dimiw3qwdhj53cxj9yjgnskcysmcscarx0g9726fbr"))))
(build-system pyproject-build-system)
(arguments
- (list
- #:test-flags
- ;; XXX: DeprecationWarning: datetime.datetime.utcfromtimestamp() is
- ;; deprecated and scheduled for removal in a future version. Use
- ;; timezone-aware objects to represent datetimes in UTC:
- ;; datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
- #~(list "-W" "ignore::DeprecationWarning")))
- (propagated-inputs
- (list python-google-auth
- python-googleapis-common-protos
- python-protobuf
- python-proto-plus
- python-requests))
- (native-inputs
- (list python-mock
- python-pytest
- python-pytest-asyncio
- python-pytest-mock
- python-setuptools))
- (home-page "https://github.com/googleapis/python-api-core")
- (synopsis "Google API client core library")
- (description
- "This library defines common helpers used by all Google API clients.")
- (license license:asl2.0)))
+ ;; Requires Internet access to resolve example.com
+ (list #:test-flags '(list "--ignore=tests/test_client.py")))
+ (propagated-inputs (list python-wsproto))
+ (native-inputs (list python-pytest
+ python-setuptools))
+ (home-page "https://github.com/miguelgrinberg/simple-websocket")
+ (synopsis "Simple WebSocket server and client for Python")
+ (description "This package provides a simple @code{WebSocket} server and
+client for Python.")
+ (license license:expat)))
-(define-public python-google-cloud-core
+(define-public python-siosocks
(package
- (name "python-google-cloud-core")
- (version "2.5.0")
+ (name "python-siosocks")
+ (version "0.3.0")
(source
(origin
(method git-fetch)
(uri (git-reference
- (url "https://github.com/googleapis/python-cloud-core")
+ (url "https://github.com/pohmelie/siosocks")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "1d7li74cakgl9vghxfir9nxwy36980alvxwgwjg0zyla3hgj07cq"))))
+ (base32 "0zcib4j5bfxlryfa412wmlkk8ivsiwxrfbpij5s7ag839ii2lxa5"))))
(build-system pyproject-build-system)
- (arguments
- (list
- #:test-flags
- ;; XXX: DeprecationWarning: datetime.datetime.utcfromtimestamp() is
- ;; deprecated and scheduled for removal in a future version. Use
- ;; timezone-aware objects to represent datetimes in UTC:
- ;; datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
- #~(list "-W" "ignore::DeprecationWarning")))
- (propagated-inputs (list python-google-api-core python-google-auth))
(native-inputs
- (list python-grpcio
- python-grpcio-status
- python-pytest
+ (list python-pytest
+ python-pytest-asyncio
+ python-pytest-trio
python-setuptools))
- (home-page "https://github.com/googleapis/python-cloud-core")
- (synopsis "Google Cloud API client core library")
+ (propagated-inputs (list python-trio))
+ (home-page "https://github.com/pohmelie/siosocks")
+ (synopsis "SOCKSv4 & SOCKSv5 TCP proxy protocol implementation in Python")
(description
- "This library defines common helpers (e.g. base @code{Client} classes)
-used by all of the @code{google-cloud-*} packages.")
- (license license:asl2.0)))
+ "This package provides a Python module and framework for sans-io socks
proxy
+client/server with couple io backends.
-(define-public python-google-cloud-storage
+Features:
+@itemize
+@item Only TCP connect (no BIND, no UDP)
+@item Both client and server
+@item SOCKS versions: 4, 4a, 5
+@item SOCKSv5 auth: no auth, username/password
+@item Couple io backends: @code{asyncio}, @code{trio}, @code{socketserver}
+@item One-shot socks server (@code{python -m siosocks})
+@end itemize")
+ (license license:expat)))
+
+(define-public python-tiny-proxy
(package
- (name "python-google-cloud-storage")
- (version "2.19.0")
+ (name "python-tiny-proxy")
+ (version "0.2.1")
(source
(origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/googleapis/python-storage")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
+ (method url-fetch)
+ (uri (pypi-uri "tiny_proxy" version))
(sha256
- (base32 "19w10v2j4ciwlf8j2ylm77f8z1b0kqzg8lkh9rvh2swv1zrhydpj"))))
+ (base32 "05nq62fn3p7s1a6dkdvnrzmk39d9ddrzb3pqbbli025qs3m9j1bq"))))
(build-system pyproject-build-system)
- (arguments
- (list
- #:test-flags
- #~(list
- ;; XXX: Missing test_utils.retry.
- "--ignore=tests/system/"
- ;; Needs docker.
- "--ignore=tests/conformance/"
- ;; XXX: Deprecations.
- "-k" (string-join
- (list "not test_set_api_request_attr"
- "test_create_bucket_w_custom_endpoint"
- "test_ctor_w_api_endpoint_override"
- "test_ctor_w_custom_endpoint_use_auth"
- "test_list_buckets_w_custom_endpoint")
- " and not ")
- "tests")))
+ ;; There are only a handful of tests and they require the as yet
+ ;; unpackaged httpx_socks.
+ (arguments (list #:tests? #false))
+ (propagated-inputs (list python-anyio))
(native-inputs
- (list python-googleapis-common-protos
- python-mock
+ (list python-httpx
python-pytest
- python-test-utils
- python-setuptools))
- (propagated-inputs
- (list python-google-api-core
- python-google-auth
- python-google-cloud-core
- python-google-resumable-media
- python-protobuf
- python-requests))
- (home-page "https://github.com/googleapis/python-storage")
- (synopsis "Google Cloud Storage API client library")
- (description
- "Google Cloud Storage allows you to store data on Google infrastructure,
-and it can be used to distribute large data objects to users via direct
-download. This package provides a Google Cloud Storage API client library for
-Python.")
+ python-setuptools
+ python-wheel))
+ (home-page "https://github.com/romis2012/tiny-proxy")
+ (synopsis "Simple proxy server (SOCKS4(a), SOCKS5(h), HTTP tunnel)")
+ (description "This package provides a simple proxy server (SOCKS4(a),
+SOCKS5(h), HTTP tunnel).")
(license license:asl2.0)))
(define-public python-smart-open
@@ -15396,31 +15421,6 @@ list, create, update, or delete resources (e.g. Order,
Product, Collection).")
tool for generating Github-style badges as SVG images.")
(license license:asl2.0)))
-(define-public python-grid5000
- (package
- (name "python-grid5000")
- (version "1.2.4")
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://gitlab.inria.fr/msimonin/python-grid5000")
- (commit (string-append "v" version))))
- (file-name (git-file-name name version))
- (sha256
- "0px5dr6kn7i5dyy4g42vqap1zpkc4hdvg7prrxdkkl57lfhz5w61")))
- (build-system pyproject-build-system)
- (arguments
- (list #:tests? #f)) ; No tests.
- (native-inputs (list python-setuptools))
- (propagated-inputs (list python-requests python-ipython python-pyyaml))
- (home-page "https://pypi.org/project/python-grid5000/")
- (synopsis "Grid5000 python client")
- (description
- "python-grid5000 is a python package wrapping the Grid5000 REST API.
-You can use it as a library in your python project or you can explore the
-Grid5000 resources interactively using the embedded shell.")
- (license license:gpl3+)))
-
(define-public python-pynetbox
(package
(name "python-pynetbox")