~ruther/guix-local

7403213c9192e3b99bdcbd5e0fb680b36358cb9a — Sharlatan Hellseher 4 months ago 5af8d45
gnu: Add python-tortoise-vector.

* gnu/packages/databases.scm (python-tortoise-vector): New variable.

Change-Id: Ib6646bc813fe04ba6e55b2b78dff373d2b52268e
1 files changed, 26 insertions(+), 0 deletions(-)

M gnu/packages/databases.scm
M gnu/packages/databases.scm => gnu/packages/databases.scm +26 -0
@@ 3933,6 3933,32 @@ engraved in its design that you are working not with just tables, you work
with relational data.")
    (license license:asl2.0)))

(define-public python-tortoise-vector
  (package
    (name "python-tortoise-vector")
    (version "0.2.0")
    (source
     (origin
       (method url-fetch)
       (uri (pypi-uri "tortoise_vector" version))
       (sha256
        (base32 "09607748biibqs5d7q186x09jcpm0126qmvzqnd80yfmiif2ls97"))))
    (build-system pyproject-build-system)
    (arguments
     (list #:tests? #f)) ;no tests
    (native-inputs
     (list python-poetry-core
           python-poetry-dynamic-versioning))
    (propagated-inputs
     (list python-tortoise-orm))
    (home-page "https://github.com/Chr0nos/tortoise_vector")
    (synopsis "Tortoise-ORM pgvector implementation")
    (description
     "This package adds the support of @code{pgvector} vectors to
Tortoise-ORM as a new type of fields, it helps to filter/order by cosine
similarity distances for scementic search using embeddings.")
    (license license:expat)))

(define-public aerich
  (package
    (name "aerich")