guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#53824] [PATCH] Add the python-databases package.


From: Pierre-Henry Fröhring
Subject: [bug#53824] [PATCH] Add the python-databases package.
Date: Sun, 6 Feb 2022 17:09:08 +0100

---
 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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]