diff --git a/easybuild/easyconfigs/k/kaggle/kaggle-1.6.17-foss-2023b.eb b/easybuild/easyconfigs/k/kaggle/kaggle-1.6.17-foss-2023b.eb new file mode 100644 index 00000000000..b36fb397280 --- /dev/null +++ b/easybuild/easyconfigs/k/kaggle/kaggle-1.6.17-foss-2023b.eb @@ -0,0 +1,48 @@ +easyblock = 'PythonBundle' + +name = 'kaggle' +version = '1.6.17' + +homepage = "https://github.com/Kaggle/kaggle-api" +description = """Official API for https://www.kaggle.com, + accessible using a command line tool implemented in Python 3.""" + +toolchain = {'name': 'foss', 'version': '2023b'} + +builddependencies = [ + ('hatchling', '1.18.0'), +] + +dependencies = [ + ('Python', '3.11.5'), + ('tqdm', '4.66.2'), + # for certifi, python-dateutil, requests, six, urllib3 and webencodings + ('Python-bundle-PyPI', '2023.10'), +] + +use_pip = True +sanity_pip_check = True + +exts_list = [ + ('bleach', '6.2.0', { + 'source_tmpl': SOURCE_PY3_WHL, + 'checksums': ['117d9c6097a7c3d22fd578fcd8d35ff1e125df6736f554da4e432fdd63f31e5e'], + }), + ('text_unidecode', '1.3', { + 'source_tmpl': SOURCE_WHL, + 'checksums': ['1311f10e8b895935241623731c2ba64f4c455287888b18189350b67134a822e8'], + }), + ('python_slugify', '8.0.4', { + 'modulename': 'slugify', + 'source_tmpl': SOURCE_WHL, + 'checksums': ['276540b79961052b66b7d116620b36518847f52d5fd9e3a70164fc8c50faa6b8'], + }), + (name, version, { + # `import kaggle` fails for missing API token (`kaggle.json`) + # see `api.authenticate()` in `kaggle/__init__.py` + 'modulename': False, + 'checksums': ['439a7dea1d5039f320fd6ad5ec21b688dcfa70d405cb42095b81f41edc401b81'], + }), +] + +moduleclass = 'tools'