allenai / allenai/cached_path

Make installing for filetransfer scheme optional

未关闭
#201 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
Feature request
主要语言
Python
星标
47
派生
22
PR 合并指标
30 天内没有已合并 PR

描述

**Is your feature request related to a problem? Please describe.**
I only need files from S3-Buckets and I don't want to install dependencies which handle file-transfers with e.g. google drive.

**Describe the solution you'd like**
To learn how poetry enables this, please refer to [this link](https://python-poetry.org/docs/pyproject/). In essence, each subgroup must be specified under dependencies in the pyproject.toml file. I suggest considering the following groups: `s3`, `gc`, `hf`, `beaker`, and full (which installs all subgroups). Additionally, it’s important to consider a more user-friendly error message if the imported package is not installed. You can use importlib or a try-catch approach to achieve this.

**Describe alternatives you've considered**
The only alternative i considerd is using a packaged for each file-transfer scheme .

**Additional context**
-

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。