diff options
author | Jen Herting <jen@herting.cc> | 2024-10-18 13:25:10 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-18 19:25:10 +0200 |
commit | d3378ffd252af542477f0584a82236645f81dfbd (patch) | |
tree | 00ef7e4795473001f74750fcbf4843c287885111 | |
parent | 2356ccc816b8bfe8279f7dfda60ac0830e0935d9 (diff) | |
download | spack-d3378ffd252af542477f0584a82236645f81dfbd.tar.gz spack-d3378ffd252af542477f0584a82236645f81dfbd.tar.bz2 spack-d3378ffd252af542477f0584a82236645f81dfbd.tar.xz spack-d3378ffd252af542477f0584a82236645f81dfbd.zip |
py-embedding-reader: New package (#47053)
Co-authored-by: Alex C Leute <acl2809@rit.edu>
-rw-r--r-- | var/spack/repos/builtin/packages/py-embedding-reader/package.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/py-embedding-reader/package.py b/var/spack/repos/builtin/packages/py-embedding-reader/package.py new file mode 100644 index 0000000000..5468cebc11 --- /dev/null +++ b/var/spack/repos/builtin/packages/py-embedding-reader/package.py @@ -0,0 +1,27 @@ +# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + + +from spack.package import * + + +class PyEmbeddingReader(PythonPackage): + """Embedding reader is a module to make it easy to read efficiently a large + collection of embeddings stored in any file system.""" + + homepage = "https://github.com/rom1504/embedding-reader" + # PyPI source is missing requirements.txt + url = "https://github.com/rom1504/embedding-reader/archive/refs/tags/1.7.0.tar.gz" + + license("MIT", checked_by="alex391") + + version("1.7.0", sha256="3bae324a06d795ea025317fdcfeb6ef1632e37786bf171973e83543700bbef73") + + depends_on("py-setuptools", type="build") + depends_on("py-tqdm@4.62.3:4", type=("build", "run")) + depends_on("py-fsspec@2022.1.0:", type=("build", "run")) + depends_on("py-numpy@1.19.5:1", type=("build", "run")) + depends_on("py-pandas@1.1.5:2", type=("build", "run")) + depends_on("py-pyarrow@6.0.1:15", type=("build", "run")) |