From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QOoJJgDz/2GxhwAAgWs5BA (envelope-from ) for ; Sun, 06 Feb 2022 17:10:40 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id SCWOIgDz/2HB7AAAauVa8A (envelope-from ) for ; Sun, 06 Feb 2022 17:10:40 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4BA27246DE for ; Sun, 6 Feb 2022 17:10:40 +0100 (CET) Received: from localhost ([::1]:54866 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nGk7b-0005TL-C7 for larch@yhetil.org; Sun, 06 Feb 2022 11:10:39 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGk71-0005QN-4H for guix-patches@gnu.org; Sun, 06 Feb 2022 11:10:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:45778) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nGk70-0002fv-Pz for guix-patches@gnu.org; Sun, 06 Feb 2022 11:10:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nGk70-000424-IH for guix-patches@gnu.org; Sun, 06 Feb 2022 11:10:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53824] [PATCH] Add the python-databases package. Resent-From: Pierre-Henry =?UTF-8?Q?Fr=C3=B6hring?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Feb 2022 16:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53824 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 53824@debbugs.gnu.org Cc: Pierre-Henry =?UTF-8?Q?Fr=C3=B6hring?= X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164416379415477 (code B ref -1); Sun, 06 Feb 2022 16:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Feb 2022 16:09:54 +0000 Received: from localhost ([127.0.0.1]:39675 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGk6s-00041Y-CB for submit@debbugs.gnu.org; Sun, 06 Feb 2022 11:09:54 -0500 Received: from lists.gnu.org ([209.51.188.17]:56692) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGk6r-00041R-E9 for submit@debbugs.gnu.org; Sun, 06 Feb 2022 11:09:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50070) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGk6r-0005Gv-Ae for guix-patches@gnu.org; Sun, 06 Feb 2022 11:09:53 -0500 Received: from [2001:4b98:dc4:8::223] (port=52915 helo=relay3-d.mail.gandi.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nGk6p-0002cm-Fp for guix-patches@gnu.org; Sun, 06 Feb 2022 11:09:53 -0500 Received: (Authenticated sender: contact@phfrohring.com) by mail.gandi.net (Postfix) with ESMTPSA id 189E760003; Sun, 6 Feb 2022 16:09:45 +0000 (UTC) From: Pierre-Henry =?UTF-8?Q?Fr=C3=B6hring?= Date: Sun, 6 Feb 2022 17:09:08 +0100 Message-Id: <20220206160907.1780570-1-contact@phfrohring.com> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2001:4b98:dc4:8::223 (failed) Received-SPF: pass client-ip=2001:4b98:dc4:8::223; envelope-from=contact@phfrohring.com; helo=relay3-d.mail.gandi.net X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 5.0 requ) BAYES_00=-1.9, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644163840; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=tjOVnhv9bQevN63sbxBgj33lq2VemvFj8KNqyR4RHuI=; b=dNI97AT/1F63YDeSmgmGyiwbzGWBYDpzj6LK3n6YrxQCKGZybfpOufYEYnPoguEbTL0w9N z/mDpkzyZY5jZHBq2CHe2WaNh2ySIqrnWbJgiR1Wy6YX+4/7D02r+jAysCS21L4HvPlCpQ jn615pG7M2Nv1TTOEX4oigtvZ5q5eZjKLjmkiY/o5hDejMH5Oe+Ja0HvXJSvromyA+Q17F 4c7u6oorrEwxYXRawufVRpR+bUS1rOG+X76yUbemew19Eo/9cyclj5FHuxhnHyjWpeSwjC n2fbcFyWVMKjVju+/ow8QmhOskgAXYyYfyxQu+1m3SrB4ejXBg1DjB95zwknjw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644163840; a=rsa-sha256; cv=none; b=YJa2YezK0igFuzJNDFxtMK74VqtHJ1NUyxM1W5yXyYF0rp2WZGbiSCs0wQ/hQN5Ylv/ymP lRr585I+oqrDPjTOZHBZAR31qwubhf85cAoK6VaD761jc9IdsHcofywJwflDgSbUW67wRy k83KUL2pu07B8Id0FbSiJhPIPbhWNGDTQz63Y6OZVgRx7aCkyr3b+xvLXKXZHkuCE+Pbkl PZeQDxioaGoP7vsqaBrbJ74HUnDZUBp+y/MLWu9alnKMromojmgCBqroCpD8m0FNz1sSqo xY54dgkefd2bb5dGhFEDQ5dSqzlIga/0NvjvEsxoG85ULaHIICAib269UURKmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.83 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4BA27246DE X-Spam-Score: -1.83 X-Migadu-Scanner: scn1.migadu.com X-TUID: EDqoMTKzvjoN --- gnu/packages/python-xyz.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 7c1b5e8ed3..7049ce61fa 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -28931,3 +28931,31 @@ (define-public python-types-dataclasses "This packages provides a collection of library stubs for Python, with static types.") (license license:asl2.0))) + +(define-public python-databases + (package + (name "python-databases") + (version "0.5.5") + (source (origin + (method url-fetch) + (uri (pypi-uri "databases" version)) + (sha256 + (base32 + "0dzb998kg35xmd50ih168320vih2w3ich798r8fc4lf9q4bb1ih2")))) + (build-system python-build-system) + (propagated-inputs (list python-aiocontextvars python-sqlalchemy)) + (native-inputs (list python-aiosqlite python-asyncmy python-aiomysql + python-asyncpg python-aiopg)) + (home-page "https://github.com/encode/databases") + (synopsis "Async database support for Python") + (description + "Databases gives you simple asyncio support for a +range of databases. + +It allows you to make queries using the SQLAlchemy Core expression language, +and provides support for PostgreSQL, MySQL, and SQLite. + +Databases is suitable for integrating against any async Web framework, +such as Starlette, Sanic, Responder, Quart, aiohttp, Tornado, or +FastAPI.") + (license license:bsd-3))) -- 2.34.0