Skip to content
Snippets Groups Projects
Commit c3b8275b authored by Andrew Davison's avatar Andrew Davison
Browse files

Add fairgraph and ebrains-kg-core, plus dependency PyLD that is not available upstream in spack

parent dd3de7d2
No related branches found
No related tags found
No related merge requests found
# Copyright 2013-2022 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 PyEbrainsKgCore(PythonPackage):
"""A Python wrapper for the KG core API incl. token handling."""
homepage = "https://github.com/HumanBrainProject/kg-core-sdks"
pypi = "ebrains_kg_core/ebrains_kg_core-0.9.10.tar.gz"
maintainers = ["ioannistsanaktsidis", "olinux"]
version("0.9.10", sha256="5b7022379f06468fd827a8eb7bddf86a182af188abfd11c84a47bbe21c6f8b7b")
depends_on("py-setuptools", type="build")
depends_on("py-requests@2.26.0:", type=("build", "run"))
depends_on("py-pydantic@1.9.2:", type=("build", "run"))
depends_on("py-jinja2@3.0.3:", type=("build", "run"))
# Copyright 2013-2022 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 PyFairgraph(PythonPackage):
"""High-level Python API for the EBRAINS Knowledge Graph."""
homepage = "https://github.com/HumanBrainProject/fairgraph"
pypi = "fairgraph/fairgraph-0.8.1.tar.gz"
maintainers = ["apdavison"]
version("0.8.1", sha256="2d2b3c01cd461b0dcddd5cbe3903d59f67d4a1d2f5fee92b6e25281b087a3e81")
depends_on("py-setuptools", type="build")
depends_on("py-ebrains-kg-core", type=("build", "run"))
depends_on("py-pyld@0.8.2", type=("build", "run"))
depends_on("py-pathlib2", type=("build", "run"))
depends_on("py-python-dateutil", type=("build", "run"))
depends_on("py-six", type=("build", "run"))
depends_on("py-tabulate", type=("build", "run"))
depends_on("py-tqdm", type=("build", "run"))
# Copyright 2013-2022 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 PyPyld(PythonPackage):
"""JSON-LD processor written in Python."""
homepage = "https://github.com/digitalbazaar/pyld"
pypi = "PyLD/PyLD-0.8.2.tar.gz"
version("0.8.2", sha256="f11b8586d2d2bc310739a9c49018574d01b8adc4533e950f64c85a13909d7630")
depends_on("py-setuptools", type="build")
depends_on("py-requests", type=("build", "run"))
...@@ -39,6 +39,9 @@ spack: ...@@ -39,6 +39,9 @@ spack:
- py-quantities - py-quantities
- py-quantities-scidash@0.12.4.3 - py-quantities-scidash@0.12.4.3
#- py-ebrains-drive@0.4.0 #- py-ebrains-drive@0.4.0
- py-ebrains-kg-core
- py-pyld
- py-fairgraph
#- py-vf-client@0.6.3 #- py-vf-client@0.6.3
- py-hbp-archive@1.1.1 - py-hbp-archive@1.1.1
- py-viziphant - py-viziphant
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment